Game Overview
Live on eldon.app
72%
Overall Game Progress
156
Active Players
+23 this week
42
Waypoints
8 completed
18
Stories Created
5 with audio
3
Custom Maps
1 active
Leaderboard
Top players this month
Challenges
5 active challenges
Map Editor
Create custom trails
Announcements
Latest updates
Development Milestones
Active Development
π
Custom Map System - Phase 1 Complete
Map Upload
PNG/JPG/TIF support with 50MB limit
GPS Calibration
4-point georeferencing system
XYZ Tile Generation
GDAL-powered tiling at zoom 16-18
Leaflet Integration
Custom map layers in game
π§
Technical Stack Implementation
β
Ruby on Rails 7.0 Backend
PostgreSQL 14 database with custom_maps table, map_calibrations storage, and tile serving API endpoints.
# API Endpoints Implemented
POST /api/v0/custom_maps/upload
POST /api/v0/custom_maps/:id/calibrate
GET /api/v0/custom_maps/:id/tiles/{z}/{x}/{y}
POST /api/v0/custom_maps/:id/generate_tiles
β
GDAL Integration
Server-side GDAL tools for geospatial processing and tile generation.
# Tile Generation Pipeline
gdal_translate -of GTiff -a_srs EPSG:4326 \
-gcp [points] input.png georeferenced.tif
gdal2tiles.py --zoom=16-18 --xyz \
georeferenced.tif output_tiles/
β
Leaflet.js 1.9.4 Frontend
Dynamic map layer switching with custom tile layers and offline caching support.
// Custom Map Layer Implementation
L.tileLayer('/api/v0/custom_maps/{id}/tiles/{z}/{x}/{y}', {
maxZoom: 18,
minZoom: 16,
attribution: 'Custom Trail Map'
}).addTo(map);
β
Service Worker Caching
Offline map tile caching for progressive web app functionality.
// gnome-trail-sw.js
self.addEventListener('fetch', (event) => {
if (event.request.url.includes('/tiles/')) {
event.respondWith(
caches.match(event.request)
.then(response => response || fetch(event.request))
);
}
});
π―
Phase 2 - In Progress
Multi-Map Support
Switch between multiple custom maps
Map Boundaries
Automatic boundary detection
Marker Management
Custom PNG icons with transparency
Map Sharing
Public/private map settings
π
Future Roadmap
Vector Maps
SVG and GeoJSON support
Map Editor
In-browser map annotation tools
Mobile App
Native iOS/Android apps
3D Terrain
Elevation data and 3D views
π
Map System Statistics
3
Active Maps
gnome trail.png primary
45,678
Tiles Generated
Zoom levels 16-18
98.2%
Calibration Accuracy
< 2m average error
1.2s
Avg Tile Load
CDN optimized
Map Calibration
π Upload & Calibrate
Upload
Calibrate
Generate Tiles
Test
Tap to upload map image
PNG, JPG, or TIF β’ Max 50MB
Getting Started
π―
Quick Start Guide
1
Create Waypoints
Add geocaching waypoints to your map using the admin mode.
2
Write Stories
Create engaging narratives for each waypoint location.
3
Upload Custom Maps
Add your own trail maps with GPS calibration.
4
Invite Players
Share your game link and watch players explore!