pokeminer icon indicating copy to clipboard operation
pokeminer copied to clipboard

[suggestion] Different leaflet Basemap provider

Open YonderGod opened this issue 8 years ago • 3 comments

My issue with the current (I assume default) map on leaflet is that it doesn't highlight all of the major streets, making it hard to quickly see approximately where a pokemon is or quickly find my current location.

Is it just me, or do others have the same problem?

http://leafletjs.com/plugins.html#basemap-providers

Preview here: http://leaflet-extras.github.io/leaflet-providers/preview/

I suggest: HERE.normalDay or Esri.WorldStreetMap

YonderGod avatar Aug 09 '16 19:08 YonderGod

World Street Map looks nice.

theresthatguy avatar Aug 09 '16 19:08 theresthatguy

I used the default one because it doesn't require any API key, and I didn't find the demo page you posted at the time. And it's been working fine for me (though it's ugly).

Let me look at them when I have a minute. In the meantime, you can switch the URL in newmap.html.

modrzew avatar Aug 09 '16 21:08 modrzew

To use a different basemap, read https://developers.arcgis.com/terms/ and register an account Then in /templates/newmap.html replace line L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {opacity: 0.5}).addTo(map); with L.tileLayer('//server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}', {opacity: 0.5}).addTo(map);

YonderGod avatar Aug 11 '16 02:08 YonderGod