[OpenLayers-Users] What is return in wfs1 ?
Mustafa646
noorcs22 at gmail.com
Wed Mar 9 07:19:35 EST 2011
if wfs protocol successfully fetched features from geoserver, then what will
be returned to wfs1 variable in the code below. Actually i want to draw wfs1
over google map if it is populated successfully. And if wfs1 is not
populated, i want to do some thing other.
Before drawing wfs1 over google map, i want to check wfs variable whether it
is populated or not?
is there any way to check this?
var wfs1 = new OpenLayers.Layer.Vector("Results Nacka Norra", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: "http://localhost:8080/geoserver/wfs",
featureType: "traget_grave",
featureNS: "http://www.openplans.org/TestSpace",
srsName: "EPSG:900913",
version: "1.1.0",
extractAttributes: true,
isBaseLayer: false,
visibility: true
}),
filter: filter
});
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/What-is-return-in-wfs1-tp6153411p6153411.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list