Namespace: ngeox.interaction

ngeox.interaction.DrawRegularPolygonFromClickOptions

ngeox.interaction.MeasureOptions

Interactions for measure tools.

Properties:
Name Type
startMsg Element | undefined
continueMsg Element | undefined
precision number | undefined
style ol.style.Style | Array:.<ol.style.Style:> | ol.StyleFunction | undefined
sketchStyle ol.style.Style | Array:.<ol.style.Style:> | ol.StyleFunction | undefined

Members

continueMsg: Element|undefined

Element including the message to display in the help tooltip when the user already added the first point.

precision: number|undefined

TODO Defines the number of decimals to keep in the measurement. If not defined, then the default behaviour occurs depending on the measure type.

sketchStyle: ol.style.Style|Array:.<ol.style.Style:>|ol.StyleFunction|undefined

The style to be used while drawing.

startMsg: Element|undefined

Element including the message to display in the help tooltip when the user just activated the interaction.

style: ol.style.Style|Array:.<ol.style.Style:>|ol.StyleFunction|undefined

The style to be used when drawing is finished.

ngeox.interaction.MobileDrawOptions

MobileDraw Interaction.

Properties:
Name Type
minPoints number | undefined
style ol.style.Style | Array:.<ol.style.Style:> | ol.StyleFunction | undefined
type ol.geom.GeometryType
wrapX boolean | undefined

Members

minPoints: number|undefined

The number of points that must be drawn before a polygon ring or line string can be finished. Default is 3 for polygon rings and 2 for line strings.

style: ol.style.Style|Array:.<ol.style.Style:>|ol.StyleFunction|undefined

Style for sketch features.

type: ol.geom.GeometryType

Drawing type ('Point' or 'LineString'.

wrapX: boolean|undefined

Wrap the world horizontally on the sketch overlay. Default is false.

ngeox.interaction.TranslateOptions

Members

features: ol.Collection:.<ol.Feature:>|undefined

Only features contained in this collection will be able to be translated. If not specified, all features on the map will be able to be translated.

style: ol.style.Style|Array:.<ol.style.Style:>|ol.StyleFunction|undefined

Style for the center features added by the translate interaction to to show that features can be moved.