Leaflet.MapboxVectorTile
headway
Leaflet.MapboxVectorTile | headway | |
---|---|---|
1 | 41 | |
291 | 2,263 | |
0.0% | - | |
10.0 | 9.1 | |
over 2 years ago | over 1 year ago | |
JavaScript | Vue | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Leaflet.MapboxVectorTile
-
Self Hosting a Google Maps Alternative with OpenStreetMap
Thanks for this. I remember using MVTs on HTML Canvas with Leaflet via plugin way back in 2017.[1] It wasn't perfect, but browser rendering has definitely been the bigger issue than anything with Leaflet.
[1]: https://github.com/SpatialServer/Leaflet.MapboxVectorTile
headway
-
Serverless maps at 1/700 the cost of Google Maps API
You might want to peek at https://github.com/headwaymaps/headway . I have never used it myself, but it at least shows how to integrate the different pieces.
The individual software components often have alternative with a similar scope. So if you don't like a choice headwaymaps made, browse around.
The data sources are mostly "unique", i.e. everybody downloads from the pages (Geofabrik, Who's On First, etc), so not much to gain here.
Editing styles has some alternatives, but the OpenSource editors are far away from the quality of the Mapbox editor. Maputnik or editing the 1000+ SLOC JSON by hand are the way to go, imo.
Personally I use GeoFabrik to download OSM extracts → osmconvert to extract the smaller bounding box I am interested in → tilemaker to render vector tiles to individual .pbf files I can serve like it's 1999. The bounding box extract is not necessary, but it's much faster if you need to tweak things in tilemaker. Both tilemaker and osmconvert are packaged for at least Debian out of the box, so setup is easy enough. Rendering a decently sized metro area takes < 30mins with this from scratch of compute, < 5min with the bounding box extract.
Note that adding icons (sprites) or fonts is extra work that comes on top. And while the tools themselves are great, there's still a lot of gluing/plumbing/fitting things together that you'll need to do. If headwaymaps works for you, it's probably the easiest choice.
- Google Location History-type program, but on a private server for anyone to run?
-
Self Hosting a Google Maps Alternative with OpenStreetMap
In a similar vain, there is maps.earth / headway:
https://github.com/headwaymaps/headway
https://about.maps.earth/
https://news.ycombinator.com/item?id=32551273
Another self hostable OSM stack that seems promising is headway
-
maps.earth: Open-source maps for everyone, powered by Headway and OpenStreetMap
About: https://about.maps.earth/
-
What is the easiest way to deploy OSM on the premise? like nominatim.openstreetmap.org, but offline version.
Something like this? https://github.com/headwaymaps/headway
- Self-hostable maps stack, powered by OpenStreetMap
- Headway is a self-hosted alternative to Google Maps which supports 200+ cities across the globe
What are some alternatives?
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
openstreetmap-tile-server - Docker file for a minimal effort OpenStreetMap tile server
osm2streets - Convert OSM to street networks with detailed geometry
osm-seed - A collection of Dockerfiles to run a containerized version of OpenStreetMap
vgtk - A declarative desktop UI framework for Rust built on GTK and Gtk-rs
OpenTopoMap - A topographic map from OpenStreetMap and SRTM data
inspiral-web - The web version of the Inspiral app.
protomaps-leaflet - Lightweight vector map rendering + labeling and symbology for Leaflet
mod_mbtiles - Serve tiles with Apache directly from an .mbtiles file
Openstreetmap - The Rails application that powers OpenStreetMap
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2