maplibre-gl-leaflet
OpenLayers3
Our great sponsors
maplibre-gl-leaflet | OpenLayers3 | |
---|---|---|
4 | 60 | |
106 | 10,883 | |
0.9% | 1.4% | |
3.1 | 9.9 | |
7 months ago | 3 days ago | |
JavaScript | JavaScript | |
ISC License | BSD 2-clause "Simplified" License |
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
-
Microsoft Joins the MapLibre Sponsorship Program
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?
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
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
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
OpenLayers3
-
Zooming User Interface (ZUI)
You probably know this, but in Google Maps at least, you can use browser zoom (ctrl/cmd +/-) to change the size of labels without zooming into the actual map.
------
Speaking of maps, I got to work a fun zoom project a few years ago: https://map.fieldmuseum.org/
We used https://openlayers.org/ and thought long and hard about how to best handle zooming and variable levels of information density & visual hierarchy. If you zoom all the way out, we just highlight where the building is relative to the surroundings. As you start to zoom in, we start to highlight major exhibitions and entrances. Then as you zoom in more, we start showing recommended paths, smaller exhibitions, etc. The label sizes try to scale up and down at each level, smoothly, in order to balance readability and density.
Eventually you can reach the max zoom level and the labels will just grow bigger and bigger, but the SVGs dynamically shrink so they remain pictograms and not just contextless-lines.
Then if you keep going, you eventually find microscopic easter eggs :)
The code is pretty jank (and abandoned), but it's FOSS vanilla JS/HTML/CSS, and the only dependency is on OpenLayers: https://github.com/arcataroger/openlayers_indoor_map
-
Handling files in enterprise web solutions
In order to display the GeoJSON features on a map, we will use OpenLayers, which is a very powerful open-source mapping library that is also very simple to use.
-
5 JavaScript mapping APIs compared
OpenLayers is available via the ol npm package, offering developers a powerful toolkit for creating sophisticated maps. Here is a JavaScript implementation that utilizes OpenLayers to showcase a map:
-
12 Open Source GIS Software
Official Website: https://openlayers.org/
-
I'm a senior in my CS major and it's incredible I didn't hear about GIS projects until now. Glad to be here.
For web maps I'd strongly recommend using OpenLayers. While it's less convenient to get started with compared to the alternatives it's also much more feature-complete and you'll likely hit a ceiling in terms of functionality much later than you would with the others.
- OpenLayers: High-performance, feature-packed library for all your mapping needs
- Show HN: Test, fix, and improve your ML models
- #OpenLayers v7.3.0 released
- Understanding the need of Node.js and NPM
What are some alternatives?
valhalla - Open Source Routing Engine for OpenStreetMap
Leaflet - 🍃 JavaScript library for mobile-friendly interactive maps 🇺🇦
planetiler - Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
OpenTopoMap - A topographic map from OpenStreetMap and SRTM data
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
go-pmtiles - Single-file executable tool for working with PMTiles archives
vue3-openlayers - Web map Vue 3.x components with the power of OpenLayers
maputnik - An open source visual editor for the 'MapLibre Style Specification'
cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas: [Moved to: https://github.com/CesiumGS/cesium]
protomaps-leaflet - Lightweight vector map rendering + labeling and symbology for Leaflet
mapbox.js - Mapbox JavaScript API, a Leaflet Plugin