Class MarkerFeature

All Implemented Interfaces:
FeatureClickNotifier<MarkerFeature>, Serializable

public class MarkerFeature extends Feature implements FeatureClickNotifier<MarkerFeature>
Marker feature with predefined PointGeometry. It is displayed with marker icon in a map component.

Usage example:

 protected void addMarker(VectorSource source) {
     Point point = GeometryUtils.createPoint(-0.12081, 51.51592);
     source.addFeature(new MarkerFeature(point));
 }
 
See Also: