Hi,
I am (still) using GeoExt 0.6
(1) In the groups of my layer tree I can display local WMS layers and OSM,
Bing, Google, Mapbox and Mapquest layers.
(2) I want to add WMS layers from distants geoserver but I cannot.
(1) Here is what works (local layers):
defaultSourceType: "gxp_wmssource",
sources: {
local: {
ptype: "gxp_wmscsource",
url: "/geoserver/wms",
version: "1.1.1"
},
osm: {
ptype: "gxp_osmsource"
},
bing: {
ptype: "gxp_bingsource"
},
google: {
ptype: "gxp_googlesource"
},
mapbox: {
ptype: "gxp_mapboxsource"
},
mapquest: {
ptype: "gxp_mapquestsource"
}
}
(2) Here is what does not work:
defaultSourceType: "gxp_wmssource",
sources: {
local: {
ptype: "gxp_wmscsource",
url: "/geoserver/TWAP/wms",
version: "1.1.1"
},
preview: {
ptype: "gxp_wmssource",
url: "http://preview.grid.unep.ch:8080/geoserver/preview/wms"
// I also tried other valid WMS endpoints e.g. NASA, FAO and others
},
osm: {
ptype: "gxp_osmsource"
},
bing: {
ptype: "gxp_bingsource"
},
google: {
ptype: "gxp_googlesource"
},
mapbox: {
ptype: "gxp_mapboxsource"
},
mapquest: {
ptype: "gxp_mapquestsource"
}
}
Any suggestion?
Thanks for your reply.
---------
With best regards - Avec mes meilleures salutations,
Pierre Lacroix, PhD.
Scientific Collaborator - University of Geneva - Pole in Environmental Sciences
GIS Analyst - United Nations Environment Programme - UNEP/DEWA/GRID-Geneva
http://www.unige.ch/envirospace
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev