maplibre-gl-leaflet VS go-pmtiles

Compare maplibre-gl-leaflet vs go-pmtiles and see what are their differences.

maplibre-gl-leaflet

This is a binding from MapLibre GL JS to the familiar Leaflet API. (by maplibre)

go-pmtiles

Single-file executable tool for working with PMTiles archives (by protomaps)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
maplibre-gl-leaflet go-pmtiles
4 4
106 310
0.9% 6.5%
3.1 8.4
7 months ago 4 days ago
JavaScript Go
ISC License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

maplibre-gl-leaflet

Posts with mentions or reviews of maplibre-gl-leaflet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-24.
  • Microsoft Joins the MapLibre Sponsorship Program
    3 projects | news.ycombinator.com | 24 Feb 2024
    At my day job we’re heavily invested in Leaflet for historical reasons, but toward the end of last year added Maplibre as a layer on top of it via the excellent https://github.com/maplibre/maplibre-gl-leaflet. This has allowed us to begin transitioning gradually instead of being forced to jump all at once.

    It’s hard to beat the simplicity of Leaflet, but neither it nor OpenLayers can handle Mapbox Vector Tiles in a performant enough manner, so Maplibre is the future for us.

  • Which open source/free alternatives are there to open layers for rendering vector tiles in the browser?
    1 project | /r/gis | 25 Apr 2023
    On the Leaflet front, if you look at the plugins list, you'll see Leaflet.VectorGrid (made a long time ago by yours truly). And if you search for a bit, you'll find maplibre-gl-leaflet, which places a Maplibre instance inside a Leaflet map pane.
  • How The Post is replacing Mapbox with open source solutions
    21 projects | news.ycombinator.com | 17 Feb 2023
    https://github.com/maplibre/maplibre-gl-leaflet exists!

    It's not perfect, and you don't see the full benefit of a WebGL renderer, but if you want to keep using a Leaflet API, it's great.

  • Self Hosting a Google Maps Alternative with OpenStreetMap
    17 projects | news.ycombinator.com | 22 Nov 2022
    Seems like MapTiler is maintaining an open source full stack vector alternative, and OpenLayers[0] looks good as well, so maybe it's time for legacy libraries to add vector support, or for users to switch libraries? There's even bindings from Maplibre GL to Leaflet [1].

    I at least would find it interesting to see the two compared by someone other than me ;).

    [0] https://openlayers.org/

    [1] https://github.com/maplibre/maplibre-gl-leaflet

go-pmtiles

Posts with mentions or reviews of go-pmtiles. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • Protomaps – A free and open source map of the world
    12 projects | news.ycombinator.com | 23 Oct 2023
    I just used their pmtiles tool to grab a map of just the area around Half Moon Bay, south of San Francisco.

    I grabbed the latest macOS Go binary from https://github.com/protomaps/go-pmtiles/releases

    I found a rough bounding box using http://bboxfinder.com/#37.373977,-122.593346,37.570977,-122....

    Then I ran this:

        pmtiles extract https://build.protomaps.com/20231023.pmtiles hmb.pmtiles \
  • How The Post is replacing Mapbox with open source solutions
    21 projects | news.ycombinator.com | 17 Feb 2023
    Yes, PMTiles is a tradeoff that isn't appropriate for transactional use cases. SQLite is pretty good for that already.

    There is a throughput limit on S3 files of approximately 5500 GETs/sec per key. Bare archives on S3 is an appropriate choice for small-scale, zero maintenance deployments. If your application demands any thing close to that level of throughput, you're probably either:

    * Serving individual tiles over the internet: you should use the CDN integration http://protomaps.com/docs/cdn ; most tile requests will be cached and only misses will interact with the S3 bottleneck.

    * Bulk accessing a spatial subset of tiles: You shouldn't be requesting HTTP GETs for single tiles, but instead entire subsets of tiles with a single Range request made possible by the internal Hilbert curve ordering. This is still WIP here: https://github.com/protomaps/go-pmtiles/issues/31

What are some alternatives?

When comparing maplibre-gl-leaflet and go-pmtiles you can also consider the following projects:

valhalla - Open Source Routing Engine for OpenStreetMap

maputnik - An open source visual editor for the 'MapLibre Style Specification'

planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast

TileServer GL - Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

OpenTopoMap - A topographic map from OpenStreetMap and SRTM data

OpenLayers3 - OpenLayers

tippecanoe - Build vector tilesets from large collections of GeoJSON features.

titiler - Build your own Raster dynamic map tile services

protomaps-leaflet - Lightweight vector map rendering + labeling and symbology for Leaflet

tilemaker - Make OpenStreetMap vector tiles without the stack