yourcelf / olwidget

Javascript library to replace textareas that contain WKT data with editable OpenLayers maps, and a django app using it for django forms and admin.
Other
91 stars 44 forks source link

OSM osmarender is no longer available #98

Closed versae closed 12 years ago

versae commented 12 years ago

Osmarender / Tiles@Home has been shut down as of March 2012, therefore the olwidget.js#L86 raises an error and no map is rendered with the default options.

robertour commented 12 years ago

In olwidget.js I replaced this:

return new OpenLayers.Layer.OSM.Osmarender('OpenStreetMap (Osmarender)');

for this

return new OpenLayers.Layer.OSM.Mapnik("Mapnik");

It seems to work.

http://osgeo-org.1560.n6.nabble.com/new-OpenLayers-Layer-OSM-Osmarender-quot-Osmarender-quot-broken-td4624625.html

yourcelf commented 12 years ago

Thanks. I've removed osmarender in the latest master. Good catch.