API / geotoolkit / map / features / filters / NoAnnotationOverlap / NoAnnotationOverlap
filters.NoAnnotationOverlap.NoAnnotationOverlap
Type Aliases
Type Aliases
Ƭ Options: Object
filter options
| Name | Type | Description |
|---|---|---|
ignoretypes? | typeof AbstractFeature[] | feature types that should be passed without filtering |
weight? | (feature: AbstractFeature) => number | string | null | features weight to specify which annotations to show/hide. Annotation weight can be based on a custom weight function (features with more weight are annotated) or attribute name(s). In case you want to use multiple names, use a comma (,) to separate it and ASC/DESC keywords for ascending and descending order (DESC by default). If null, features are filtered in adding order. See example for more info. By default uses feature's bounding box area as an annotation priority (larger area features have higher priority). |