[OpenLayers-Users] Custom markers

Indika Tantrigoda indika85 at gmail.com
Wed Aug 20 03:52:22 EDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080820/1ba2e79c/attachment.html


More information about the Users mailing list