Skip to content

librebits/yucatan-map

Repository files navigation

Nombre del Proyecto

YUCATAN (MEXICO, GUATEMALA, BELIZE, MEXICO)

START TRIP:

Cancun ->

-> Merida

-> Chichen Itza

-> Palenque

-> San Cristobal

-> Panajachel

-> Antigua

-> Chichicastenango

-> Guatemala Airport,

(flight ** -> Flores (SO AIRPLANE IMAGE))

-> Flores

-> Tikal

-> Belize City

-> Caye Caulker (boat ** -> key Caye Caulker (SO WATERTAXI SMALL BOAT IMAGE))

-> Belize City (Watertaxi ** -> Belize City)

-> Bacalar, going back ** -> Mexico.

-> Playa del Carmen.

-> Cancun

END TRIP

Status: IN PROGRESS (coordinate calibration needed ?)

Route

Current Issues

Cities

Files

Access

Project Structure

```
Yucatan-map/
├── yucatan.svg                   # Base SVG map (corrected viewBox for full list of relevant locations view )
├── Yucatan-locations-geojson.json   # City coordinates (GeoJSON format with lat/lng)
├── index.html                    # YUCATAN1 (Western Route) page
├── map.js                        # YUCATAN1 implementation
├── index2.html                   # YUCATAN2 (West to East) page
├── map2.js                       # YUCATAN2 implementation
├── README.org                    # This file
├── TODO.org                      # Task tracking
├── CLAUDE.md                     # Project instructions for Claude Code
└── Screenshots/                  # Visual documentation
```

Development Setup

Browser-sync (auto-reload with Org Babel async)

Start development server with async execution (non-blocking):

npx browser-sync start --server --files "*.html,*.js,*.svg,*.json" --no-notify --port 3000

How to use

  1. Place cursor in code block above
  2. Press C-c C-c to execute
  3. Emacs remains responsive (async execution via ob-async package)
  4. Output appears in results block when ready

Access URLs

  • YUCATAN: http://localhost:3000/index.html
  • Dashboard: http://localhost:3001

Features

  • ✅ Auto-reload on file save
  • ✅ Non-blocking (Emacs stays responsive)
  • ✅ Watches: *.html, *.js, *.svg, *.json
  • ✅ UI dashboard at port 3001

Stop server

  • Find process: ps aux | grep browser-sync
  • Kill: kill <PID>
  • Or use: M-x list-processes → mark → d (delete)

Alternative: Terminal execution

If you prefer external terminal:

npx browser-sync start --server --files "*.html,*.js,*.svg,*.json" --no-notify --port 3000

Or use Emacs async shell command:

  • M-& (async-shell-command)
  • Type the command above
  • Output goes to *Async Shell Command* buffer

Manual testing

Open files directly in browser or use Ctrl+Shift+R for hard reload.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published