GeoNode / geonode-client

OL3 - React map client for GeoNode (DEPRECATED)
http://client.geonode.org/
MIT License
19 stars 14 forks source link

Default config on maps/new has weird non-existent layer (no name) #160

Open bartvde opened 7 years ago

bartvde commented 7 years ago

Is this an issue somewhere on the Django side?

var config = Object.assign( defaultConfig, {"map": {"layers": [{"opacity": 1, "source": "0", "fixed": false, "visibility": true}
"sources": {"1": {"ptype": "gxp_olsource"}, "0": {"url": "http://localhost:8080/geoserver/wms?access_token=Qq039tZU0UhzRlK1qpVMY562jI3wAn", "restUrl": "/gs/rest", "ptype": "gxp_wmscsource", "title": "Local Geoserver"}

@jj0hns0n do you have any ideas where this comes from?