[OpenLayers-Users] my vector layer doesn't display

Ivan Grcic igrcic at gmail.com
Tue Dec 8 04:25:43 EST 2009


What does your firebug say?

On Tue, Dec 8, 2009 at 10:24 AM, Haftish 21 <haftish21 at gmail.com> wrote:
> Thanks for your quick replies ivan...
>
> Well, this also doesn't seem to change anything. I think this @least should
> show me up sth. but, when I check the layer on & off, nothing seems to
> respond. What other reason could cause this problem???
>
>>
>> var saveStrategy = new OpenLayers.Strategy.Save();
>> ethRoads = new OpenLayers.Layer.Vector("Roads WFS-T", {
>>
>> strategies: [new OpenLayers.Strategy.BBOX()],
>
>
>>
>> protocol: new OpenLayers.Protocol.WFS({
>> version:       "1.0.0",
>>   url:
>> "http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/Eth/config.map",
>> featureType:   "ethroads",
>> srsName:       "EPSG:4326",
>> featureNS:     "http://www.opengis.net/ethroads",
>> geometryName:  "roadgeom",
>>  schema:
>>
>> "http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/Eth/config.map&service=WFS&version=1.0.0&request=DescribeFeatureType&TypeName=ethroads"
>>   })
>> });
>>
>> oMap.addLayer(ethRoads);
>>
>>
>>
>>
>>
>> --
>> Ivan Grcic
>
>
>
> --
>
> ¯`'•.¸(¯`'•.¸*♥♥♥♥*¸.•'´¯)¸.•' ´¯)
> ♥(¯`'•.¸(¯`'•.¸*♥♥*¸.•'´¯)¸.•' ´¯)♥
> ♥♥(¯`'•.¸(¯`'•.¸**¸.•'´¯)¸.•'´ ¯)♥♥
> ----==--12hsitfaHaftish21--==----
> (_¸.•'´(_¸.•'´*♥♥♥♥*`'•.¸_)`'• .¸_)
> ♥(_¸.•'´(_¸.•'´*♥♥*`'•.¸_)`'•. ¸_)♥
> ♥♥(_¸.•'´(_¸.•'´**`'•.¸_)`'•.¸ _)♥♥
>



-- 
Ivan Grcic


More information about the Users mailing list