tvwenger / maxfield

An Ingress Linking and Fielding Strategy Generator
http://www.ingress-maxfield.com/
GNU General Public License v3.0
106 stars 56 forks source link

Non-Google basemap (OSM, maybe) #44

Open Artoria2e5 opened 3 months ago

Artoria2e5 commented 3 months ago

Google Maps isn't really usable in China: the GCJ-02 obfuscation of their map data causes a very noticeable shift between portal/real world locations and the mapped location. But using an empty map isn't too useful either.

What if we added an option to use the OSM basemap? Or even better, a way to specify an arbitrary format URL (on the command line -- you don't want to do it on your public server!), like how IITC is specifying URLs to Leaflet in this file: https://github.com/IITC-CE/ingress-intel-total-conversion/blob/199c9f7bdc0acb79db3855f9f5cd7c0cd516ec66/plugins/basemap-openstreetmap.js#L2

(You don't even need an API key for that. They do have a use policy, but I doubt that Maxfield uses enough requests to count.)