API / geotoolkit / map / features / strategies / IGetAnnotation / IGetAnnotation
strategies.IGetAnnotation.IGetAnnotation
Annotation strategy interface
Interface
Constructors
- [new IGetAnnotation()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.features.strategies.igetannotation.igetannotation.md#new igetannotation())
Methods
▸ Abstract getAnnotation(feature, layer): string
Gets annotation text for a feature
| Name | Type | Description |
|---|---|---|
feature | AbstractFeature | map feature |
layer | AbstractFeatureLayer | feature layer |
string
annotation text
▸ getClassName(): string
string
▸ Static getClassName(): string
string