[OpenLayers-Users] Custom markers
Eric Lemoine
eric.c2c at gmail.com
Thu Aug 21 02:22:35 EDT 2008
Hi. maxfeatures tells the WFS how many features you want to receive at
most. Eric
2008/8/20, Indika Tantrigoda <indika85 at gmail.com>:
> Hi all,
>
> I have managed to display some point data as a WFS layer using
>
> wfs_test = new OpenLayers.Layer.WFS( "WFS Test",
> "http://localhost:8080/geoserver/wfs",
> {typename: "topp:cities",
> maxfeatures: 10
> },
> { featureClass: OpenLayers.Feature.WFS}
> );
>
> The points are displayed as markers similar to the examples.
>
> Would there be any way to have a custom marker instead of the traditional
> one ? I plan to have multiple
> point layers (as WFS layers) with different markers for each layer.
>
> Also what exactly does the maxfeatures: 10 do ?
>
> Thanks in advance.
>
> Regards,
> Indika
>
More information about the Users
mailing list