MateMonkey / frontend

The AngularJS Frontend for matemonkey.com
https://matemonkey.com
8 stars 3 forks source link

no mapquest tiles anymore #23

Closed egon0 closed 7 years ago

egon0 commented 8 years ago

mapquest has disabled direct tile acces on july 11th. so at the moment we don't have any tiles.

CodeBrauer commented 8 years ago

Yes - read more here: http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/

I think the only thing that has to be changed is the tile provider:

/app/js/map.js#L164

http://{s}.tile.osm.org/{z}/{x}/{y}.png

Style: osm

Switching to OSM default maps would work fine, I think.

egon0 commented 8 years ago

you should setup a nginx-tilecache. direct usage will end in an ban.

i have a tile-cache running:

https:///tiles{s}.freifunk-jena.de/{z}/{x}/{y}.png

s = 0,1,2,3,4,5,6,7,8,9 ;)

edit: http://wiki.openstreetmap.org/wiki/Tile_usage_policy

mguentner commented 8 years ago

@CodeBrauer: Thanks. I will switch to MapQuest with an appkey for the moment and then try to avoid MapQuest with some other solution. @egon0: Thanks for the offer. I will have a look :+1:

mguentner commented 8 years ago

Argh. MapQuest sucks. They require a Leaflet plugin and this whole angular-leaflet clusterfuck will probably break. Switched to @egon0's tile cache for now with commit 6505019f60bd48995c8de00f24dbcc1887e4163d.