API / geotoolkit / widgets / overlays / AnnotationOverlay / AnnotationOverlay
overlays.AnnotationOverlay.AnnotationOverlay
Type Aliases
Type Aliases
Ƭ Annotation: Options & { options?: { connectorsize?: number ; frame?: Dimension ; geometrytype?: string ; offset?: Point } }
annotation object
Ƭ EventMap: EventMap & { ActiveAnnotationChanged: AnnotationEventArgs ; ActiveAnnotationChanging: AnnotationEventArgs ; AnnotationAdded: AnnotationEventArgs ; AnnotationAdding: AnnotationEventArgs ; AnnotationRemoved: AnnotationEventArgs ; AnnotationRemoving: AnnotationEventArgs }
Ƭ Options: Object
extra options
| Name | Type | Description |
|---|---|---|
annotationcontainer? | string | HTMLDivElement | HTMLCanvasElement | annotation container id |
cancreate? | boolean | can create annotation |
candelete? | boolean | can delete annotation |
canedit? | boolean | can edit annotation |
canmove? | boolean | can move annotation |
handles? | { anchor?: Options ; bottomleft?: Options ; bottomright?: Options ; topleft?: Options ; topright?: Options } | handles properties |
handles.anchor? | Options | handles anchor properties |
handles.bottomleft? | Options | handles bottomleft properties |
handles.bottomright? | Options | handles bottomright properties |
handles.topleft? | Options | handles topleft properties |
handles.topright? | Options | handles topright properties |
highlight? | { cssclass?: string } | define highlight properties |
highlight.cssclass? | string | define highlight class name |
overlay? | Layer | Overlay layer can be specified instead of default layer |
Ƭ OptionsType: Object
options
| Name | Type | Description |
|---|---|---|
cancreate? | boolean | can create annotation |
candelete? | boolean | can delete annotation |
canedit? | boolean | can edit annotation |
canmove? | boolean | can move annotation |
canresize? | boolean | can change annotation text box size and position |
highlight? | { cssclass?: string } | define highlight properties |
highlight.cssclass? | string | define highlight class name |