215957382a995fddb9638818fb0ed89a030368a3
Home was alone at top-left and zoom (NavigationControl) was down at bottom-right with GeolocateControl — split across two corners instead of grouped together like the National Park Service's own map controls (https://www.nps.gov/, screenshot: Home, zoom in/out, base map, all stacked in one place). Moved NavigationControl up to join Home (showCompass: false — this map never rotates, so a bearing-reset button would be dead weight), and added MapLayersButton, a small map-corner control that's a second entry point into the same Online/Offline panel LayerToggleControl already manages in the page's sidebar (both go through the same toggle() now, so there's one source of truth for whether the panel's open). GeolocateControl stays alone at bottom-right — it's a different action (go to my actual location) from Home (reset to the app's default view), which was worth clarifying since the two are easy to conflate.
MapTool
Table of Contents
A mapping application written in Ruby with Sinatra.
The project’s shape is still open — this is the initial scaffold.
Status
Early scaffold. The web application serves a vector map (MapLibre GL JS), with an online style and an optional offline style backed by a local PMTiles file, an animated RainViewer radar overlay, GPX upload/display (points and tracks, organized in folders), and a live position marker from a local GNSS receiver via gpsd.
Requirements
-
Ruby (see
.ruby-version) and Bundler
Getting started
bundle install
bundle exec puma -C config/puma.rb
Then open http://127.0.0.1:4567 in a browser.
Languages
JavaScript
48.7%
Ruby
43.6%
CSS
6%
HTML
1.2%
Dockerfile
0.5%