[OpenLayers-Users] GeoServer does not return features if installed
remotely
Mustafa646
noorcs22 at gmail.com
Sun Mar 13 11:01:06 EDT 2011
hello all,
By using code below, i can easily access features from geoserver installed
at localhost, but when i installed geoserver at remote server
(93.158.63.12), then it does't work. why? how can i fix this problem?
wfs = new OpenLayers.Layer.Vector("Results", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: "http://localhost:8080/geoserver/wfs",
featureType: "NEW_ALL",
featureNS: "http://www.openplans.org/TestSpace",
srsName: "EPSG:900913",
version: "1.1.0",
extractAttributes: true,
isBaseLayer: false,
visibility: true
}),
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GeoServer-does-not-return-features-if-installed-remotely-tp6166442p6166442.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110313/e0eabd82/attachment-0001.html
More information about the Users
mailing list