<div dir="ltr">Hi Stefan, removing Bing layers from local_settings.py fixes the problem only for new maps. You need to remove this layer from existing maps too.<div><br></div><div><div style="font-size:12.8px">DELETE <br></div><div style="font-size:12.8px">from maps_maplayer<br></div><div style="font-size:12.8px">WHERE name = 'AerialWithLabels'</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 18:47 GMT-03:00 Stefan Steiniger <span dir="ltr"><<a href="mailto:sstein@geo.uzh.ch" target="_blank">sstein@geo.uzh.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hey,<br>
<br>
so commented out the Bing entry in local_settings.py, <br>
<br>
}, {<br>
"source": {"ptype": "gxp_mapquestsource"},<br>
"name":"naip",<br>
"group":"background",<br>
"visibility": False<br>
# }, {<br>
# "source": {"ptype": "gxp_bingsource"},<br>
# "name": "AerialWithLabels",<br>
# "fixed": True,<br>
# "visibility": False,<br>
# "group":"background"<br>
}, {<br>
"source": {"ptype": "gxp_mapboxsource"},<br>
}<br>
<br>
<br>
but, when I look into an existing map the bing-aerial background map
is still selectable and so I get the zoom error and the map hangs
up:<br>
<br>
Uncaught TypeError: Cannot read property 'resources' of undefined<br>
OpenLayers.Layer.Bing.OpenLayers.Class.initLayer @
GeoExplorer.js:1350<br>
<br>
Of course I have restarted the server/apache/tomcat etc.<br>
<br>
What am I missing?<br>
<br>
cheers,<br>
stefan<br>
<br>
PS: I am running on GeoNode 2.0 :
<a href="http://cedeusdata.geosteiniger.cl/maps/318/view" target="_blank">http://cedeusdata.geosteiniger.cl/maps/318/view</a><br>
<br>
<br>
</div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>