Hi,
 
you should add pointRadius:10, to your styleMap. Then you should see your
points.
 
Arnd


  _____  

Von: openlayers-users-boun...@lists.osgeo.org
[mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von Sameera
Jayaratna
Gesendet: Montag, 18. November 2013 15:53
An: openlayers-users@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
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to