OpenLayers OpenLayers

Ticket #692 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

Individual Icons/Markers in WFS Layer

Reported by: openlayers Assigned to:
Priority: minor Milestone: 2.5 Release
Component: Feature.WFS Version: 2.4 RC3
Keywords: GML, Icon Cc: a.hermanns@gmx.de
State:

Description

hi there,

i am looking for a way to create individual icon representations for points resulting from a feature request. to achieve this, i am actually overriding the method for default icon to change the marker. in that way, i assign different markers to each wfs layer, but i think this method is a crux.

is there some functionality which might solve this problem better and which i did not get aware of yet?

thx

Change History

05/23/07 22:17:39 changed by crschmidt

  • milestone set to 2.5 Release.

This is what the 'featureClass' option on the WFS layer is for, but it needs better documentation.

06/29/07 08:08:57 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.

http://trac.openlayers.org/wiki/CreatingCustomWFSFeature has some information on how one might create a CustomWFSFeature, with an example (FlickrBrowse). This can be turned into a more clear documentation by anyone else, but the best way to dive into it is probably to start hacking on the code.