[GeoNode-users] still having the bing error
federico sanchez
fedesanchez888 at gmail.com
Thu Oct 22 15:04:29 PDT 2015
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.
DELETE
from maps_maplayer
WHERE name = 'AerialWithLabels'
2015-10-22 18:47 GMT-03:00 Stefan Steiniger <sstein at geo.uzh.ch>:
> Hey,
>
> so commented out the Bing entry in local_settings.py,
>
> }, {
> "source": {"ptype": "gxp_mapquestsource"},
> "name":"naip",
> "group":"background",
> "visibility": False
> # }, {
> # "source": {"ptype": "gxp_bingsource"},
> # "name": "AerialWithLabels",
> # "fixed": True,
> # "visibility": False,
> # "group":"background"
> }, {
> "source": {"ptype": "gxp_mapboxsource"},
> }
>
>
> 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:
>
> Uncaught TypeError: Cannot read property 'resources' of undefined
> OpenLayers.Layer.Bing.OpenLayers.Class.initLayer @
> GeoExplorer.js:1350
>
> Of course I have restarted the server/apache/tomcat etc.
>
> What am I missing?
>
> cheers,
> stefan
>
> PS: I am running on GeoNode 2.0 :
> http://cedeusdata.geosteiniger.cl/maps/318/view
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151022/20178803/attachment.html>
More information about the geonode-users
mailing list