News for hackers. Stuff that matters.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by voltagex_ on Tuesday September 27, 2016 @10:24PM (#12594983)
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.
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by ivansanchez on Wednesday September 28, 2016 @05:09AM (#12596343)
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...
Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by shthed on Wednesday September 28, 2016 @10:30AM (#12597895)
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.

Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by shthed on Wednesday September 28, 2016 @11:07AM (#12598221)
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.

Re:Leaflet 1.0 – A JavaScript library for mobile-friendly in... by voltagex_ on Thursday September 29, 2016 @10:37AM (#12605554)
Yeah, at that point I wouldn't be comfortable touching it.