<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23536"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=252242718-18112013><FONT color=#0000ff
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=252242718-18112013></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=252242718-18112013><FONT color=#0000ff
size=2 face=Arial>you should add </FONT></SPAN><SPAN
class=252242718-18112013><FONT color=#0000ff size=2 face=Arial>pointRadius:10,
to your styleMap. Then you should see your points.</FONT></SPAN></DIV>
<DIV><SPAN class=252242718-18112013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=252242718-18112013><FONT color=#0000ff size=2
face=Arial>Arnd</DIV>
<DIV dir=ltr align=left><BR></DIV></FONT></SPAN><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Sameera
Jayaratna<BR><B>Gesendet:</B> Montag, 18. November 2013 15:53<BR><B>An:</B>
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> [OpenLayers-Users] Issue in
loading WFS point data<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV><SPAN
style="FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 13px">Hi,</SPAN><BR
style="FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 13px">
<DIV
style="FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 13px"
dir=ltr>
<DIV><BR></DIV>
<DIV>I'm using following method to load wfs from locally setup geoserver.</DIV>
<DIV><BR></DIV>
<DIV>var layer = new OpenLayers.Layer.Vector("WFS " + fName, {</DIV>
<DIV> strategies: [new
OpenLayers.Strategy.BBOX()],</DIV>
<DIV> protocol: new
OpenLayers.Protocol.WFS({</DIV>
<DIV> url:
serviceUrl,</DIV>
<DIV>
featureType: fName,</DIV>
<DIV>
featureNS: fNS</DIV>
<DIV> }), styleMap: new
OpenLayers.StyleMap({</DIV>
<DIV>
fillColor: this.get_random_color(),</DIV>
<DIV>
strokeWidth: 0.5,</DIV>
<DIV>
fillOpacity: .8</DIV>
<DIV> }),</DIV>
<DIV><BR></DIV>
<DIV>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. </DIV>
<DIV><BR></DIV>
<DIV>Thank you,</DIV>
<DIV>Sameera</DIV></DIV></DIV></DIV></BODY></HTML>