Last updated

API / geotoolkit / widgets / overlays / AnnotationOverlay / AnnotationOverlay

Namespace: AnnotationOverlay

overlays.AnnotationOverlay.AnnotationOverlay

Table of contents

Type Aliases

Contents

Type Aliases

Annotation

Ƭ Annotation: Options & { options?: { connectorsize?: number ; frame?: Dimension ; geometrytype?: string ; offset?: Point } }

annotation object


EventMap

Ƭ EventMap: EventMap & { ActiveAnnotationChanged: AnnotationEventArgs ; ActiveAnnotationChanging: AnnotationEventArgs ; AnnotationAdded: AnnotationEventArgs ; AnnotationAdding: AnnotationEventArgs ; AnnotationRemoved: AnnotationEventArgs ; AnnotationRemoving: AnnotationEventArgs }


Options

Ƭ Options: Object

extra options

Type declaration

NameTypeDescription
annotationcontainer?string | HTMLDivElement | HTMLCanvasElementannotation container id
cancreate?booleancan create annotation
candelete?booleancan delete annotation
canedit?booleancan edit annotation
canmove?booleancan move annotation
handles?{ anchor?: Options ; bottomleft?: Options ; bottomright?: Options ; topleft?: Options ; topright?: Options }handles properties
handles.anchor?Optionshandles anchor properties
handles.bottomleft?Optionshandles bottomleft properties
handles.bottomright?Optionshandles bottomright properties
handles.topleft?Optionshandles topleft properties
handles.topright?Optionshandles topright properties
highlight?{ cssclass?: string }define highlight properties
highlight.cssclass?stringdefine highlight class name
overlay?LayerOverlay layer can be specified instead of default layer

OptionsType

Ƭ OptionsType: Object

options

Type declaration

NameTypeDescription
cancreate?booleancan create annotation
candelete?booleancan delete annotation
canedit?booleancan edit annotation
canmove?booleancan move annotation
canresize?booleancan change annotation text box size and position
highlight?{ cssclass?: string }define highlight properties
highlight.cssclass?stringdefine highlight class name