4 ms·
I have used this and it is excellent. It is a tremendous alternative to all the paid GIS/mapping suites.
by hamburgerwah 5y ago
I have used this and it is excellent. It is a tremendous alternative to all the paid GIS/mapping suites.
- hajile 5y agoWhen I used it, I really wished it used JS inheritance rather than its own custom inheritance/mixins.
- Cyberdog 5y agoJavaScript inheritance wasn't really a thing when Leaflet started out, and definitely not widely-supported (is it even now?).
- hajile 5y agoLast I checked, IE11 is the last official holdout (with bugfixes and support) and it has less than 5% marketshare. That gives ES6 somewhere close to 95% marketshare for users that aren't running 3-6 year old insecure and outdated browsers.
- gkhartman 5y agoI'll second this. Highly recommended. It was pleasure to work with and hasn't had any issues while running in a production environment.
- SilverRed 5y agoYou will pretty much always have to pay for the tileserver service though. The main benefit I saw was that you could trivially switch to any other tile service without being tied in to a particular one like if you used the google maps library.
- deleted 5y ago[deleted]
- smelendez 5y agoDepending on the use case, you may be able to host tiles on any web host/cdn
- SilverRed 5y agoYou still have to pay for the server you host it yourself on. Which usually means generating the tiles from scratch rather than relying on some precached ones. The prices for something like mapbox are not outrageous for what they provide.
- aendruk 5y agoHere’s an example of statically hosting map tiles on GitHub Pages: https://seagl.org/maps/2019 https://seagl.org/maps/2019 Source: https://github.com/SeaGL/seagl.github.io/pull/148 https://github.com/SeaGL/seagl.github.io/pull/148
- Cyberdog 5y ago> You still have to pay for the server you host it yourself on. I mean, I guess? Can't it be presumed that if you have a web site upon which you wish to place a map, you've already got a web server set up one way or another? > Which usually means generating the tiles from scratch rather than relying on some precached ones. Well, yes. The way I've set it up for my client is basically that we start from a large image which will be the map at its maximum "zoom in level" and run a script which scales the map 50% smaller, dices the image into 256x256 tiles, and saves those tiles with a pre-defined naming scheme (something like Xcoord_Ycoord_Zoomlevel.png - I can't recall the details), then scales the original map by 25%, creates tiles from that, and repeats until the entire map can fit into four tiles (512x512). It's not terribly difficult stuff for a reasonably capable developer to do, though working with the larger maps can eat up a lot of RAM on the system we run this script on.
- vgeek 5y agoIf you want to roll your own tiles, you get tons of flexibility with your own tileserver, which is great if you want to change naming rules/styles/etc.. It is a rabbit hole to go down, since mapping is inherently fun. http://maps.stamen.com/#toner/12/37.7706/-122.3782 http://maps.stamen.com/#toner/12/37.7706/-122.3782 - they have free tile servers (obviously, donate if you use them) that are relatively styled. They don't get updated and may not be 100%, but for small scale uses, they are good enough versus risking going over the free tiers at Mapbox or getting stuck in the Google ecosystem.
- tshaddox 5y agoI've used it and it's nice for use cases that match very closely to what they support and provide documentation/examples for. As a quick drop-in map widget on a web page, it's quite nice. I've also used Mapbox which provides a much fancier OpenGL map with fancy things like continuous (smooth) zoom levels. Mapbox feels a lot more like a modern Google Maps-esque mapping widget. https://docs.mapbox.com/mapbox-gl-js/example/ https://docs.mapbox.com/mapbox-gl-js/example/
- SahAssar 5y agoFYI: MapLibre is a fork of the last version of MapBoxGL that did not require payment/registration even if you don't use mapbox tiles.
- deleted 5y ago[deleted]