[GeoNode-users] still having the bing error
Stefan Steiniger
sstein at geo.uzh.ch
Fri Oct 23 06:20:21 PDT 2015
works perfectly now. Thanks! *savedmylife* ;)
Am 22.10.15 um 19:04 schrieb federico sanchez:
> 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
> <mailto: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 <mailto:geonode-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
More information about the geonode-users
mailing list