[OpenLayers-Users] Issue in loading WFS point data
Arnd Wippermann
arnd.wippermann at web.de
Mon Nov 18 10:28:56 PST 2013
Hi,
you should add pointRadius:10, to your styleMap. Then you should see your
points.
Arnd
_____
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Sameera
Jayaratna
Gesendet: Montag, 18. November 2013 15:53
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] Issue in loading WFS point data
Hi,
I'm using following method to load wfs from locally setup geoserver.
var layer = new OpenLayers.Layer.Vector("WFS " + fName, {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: serviceUrl,
featureType: fName,
featureNS: fNS
}), styleMap: new OpenLayers.StyleMap({
fillColor: this.get_random_color(),
strokeWidth: 0.5,
fillOpacity: .8
}),
It successfully loads data of type polygon and line. But it does not work
for point data. What could be the reason for this issue? Any thoughts are
highly appreciated.
Thank you,
Sameera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131118/5cce4c28/attachment.html>
More information about the Users
mailing list