4 ms·
Just recently I had to choose between Google's map offerings and Leaflet. Performance wise, Leaflet is an order of magnitude faster when it comes to frequent b
by derwildemomo 10y ago
Just recently I had to choose between Google's map offerings and Leaflet.
Performance wise, Leaflet is an order of magnitude faster when it comes to frequent bounds/location updates, speaking for itself. Great work!
- ultramancool 10y agoYou might also consider Cesium, which is WebGL based and gets you a globe view too.
- voltagex_ 10y agoWhich basemap did you use? The biggest disadvantage of using Leaflet is that you lose access to Google's maps and APIs. That said, Leaflet is much much easier to debug than Google.
- ivansanchez 10y agoNo, you don't lose access. You just have to work around some nuisances. Have a look at https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutan...
- shthed 10y agosome nuisances? like having to load and use the google maps api. I'm interested to know if this doesn't actually violate the google maps terms of service: https://developers.google.com/maps/terms#10-license-restrictions https://developers.google.com/maps/terms#10-license-restrict... 10.4(e): No use of Content with a non-Google map. You must not use the Content in a Maps API Implementation that contains a non-Google map.
- shthed 10y agoThat Terms contains some interesting junk.. for example is a webpage considered "software"? 10.5(f): No incorporating Google software into other software. You will not incorporate any software provided as part of the Service into other software.
- voltagex_ 10y agoYeah, at that point I wouldn't be comfortable touching it.