Hacker News new | ask | show | jobs
by derwildemomo 3548 days 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!

2 comments

You might also consider Cesium, which is WebGL based and gets you a globe view too.
Which 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.
No, you don't lose access. You just have to work around some nuisances. Have a look at https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutan...
some 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-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.

That 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.

Yeah, at that point I wouldn't be comfortable touching it.