News for hackers. Stuff that matters.
Re:Farewell, Google Maps by voltagex_ on Friday July 20, 2018 @01:18AM (#17572670)
When I last looked at this, using Google Maps tiles with Leaflet was against the ToS.
Re:Farewell, Google Maps by timmy-turner on Friday July 20, 2018 @02:07AM (#17572854)
Right, just using the plain gmaps tiles in a Leaflet tile layer is against the google TOS. But there is a Leaflet plugin that puts the whole google map component in a TOS-compliant way as a layer into leaflet and keeps both in sync with DOM observers. Sounds pretty weird but works perfectly in production.

https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutan...

Re:Farewell, Google Maps by voltagex_ on Friday July 20, 2018 @02:11AM (#17572869)
Probably spirit vs letter of the law there. Hopefully performance has improved since the last time I looked (3 years ish)
Re:Farewell, Google Maps by namibj on Friday July 20, 2018 @10:59AM (#17575511)
It's a contract, not yet a law (thanks btw). Contracts are usually taken pretty literally if the judge who decides sees significant time being put into the contract to make it include all forseable cases.