You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes can be dragged by the user, with the note location constrained according to the graphic's geometry type. The note snaps to the nearest allowable location.
Along the path of a line (either side)
Along the outer ring of a polygon (exterior side only)
At one of up to 8 cardinal and diagonal positions, configurable per-note (see below).
Notes are draggable when editable (dragging controls are hidden otherwise).
Editable text div is now wrapped by an outer container, which can be draggable.
HubTextNotesLayer constructor parameters:
cssClass replaces textClass
cssClass is used to style outer/draggable container
note-text is used to style the inner/text container
HubTextNotesLayer.addNoteForGraphic() parameters:
placementAlignments defines a list (array) of allowed placement positions for notes attached to point graphics. Allowed values are: right, top-right, top, top-left, left, bottom-left, bottom, bottom-right.
Use alpha channel when converting text notes to graphics, for Web Map export ae93362
Explicitly remove event listeners to guard against memory leaks 544bc3f