Class: ol.AnchoredElement

ol.AnchoredElement

new AnchoredElement

Parameters:
Name Type Description
anchoredElementOptions ol.AnchoredElementOptions Anchored element options.
Source:
  • anchoredelement.js, line 43

Extends

Members

changed

Inherited From:
Source:
  • object.js, line 166

setValues

Inherited From:
Source:
  • object.js, line 275

Methods

bindTo

Parameters:
Name Type Argument Description
key string Key.
target ol.Object Target.
targetKey string= <optional>
(Optional) Target key.
noNotify boolean= <optional>
(Optional) No notify.
Inherited From:
Source:
  • object.js, line 145

get

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 173
Returns:
Value.
Type
*

getElement

Source:
  • anchoredelement.js, line 107
Returns:
Element.
Type
Element | undefined

getKeys

Get a list of object property names.
Inherited From:
Source:
  • object.js, line 197
Returns:
List of property names.
Type
Array.<string>

getMap

Source:
  • anchoredelement.js, line 120
Returns:
Map.
Type
ol.Map | undefined

getPosition

Source:
  • anchoredelement.js, line 133
Returns:
Position.
Type
ol.Coordinate | undefined

getPositioning

Source:
  • anchoredelement.js, line 146
Returns:
Positioning.
Type
ol.AnchoredElementPositioning | undefined

<protected> handleElementChanged

Source:
  • anchoredelement.js, line 159

<protected> handleMapChanged

Source:
  • anchoredelement.js, line 171

<protected> handleMapPostrender

Source:
  • anchoredelement.js, line 191

<protected> handlePositionChanged

Source:
  • anchoredelement.js, line 199

<protected> handlePositioningChanged

Source:
  • anchoredelement.js, line 207

notify

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 208

set

Parameters:
Name Type Description
key string Key.
value * Value.
Inherited From:
Source:
  • object.js, line 236

setElement

Parameters:
Name Type Description
element Element | undefined Element.
Source:
  • anchoredelement.js, line 215

setMap

Parameters:
Name Type Description
map ol.Map | undefined Map.
Source:
  • anchoredelement.js, line 227

setOptions

Parameters:
Name Type Description
options Object.<string, *> Options.
Inherited From:
Source:
  • object.js, line 258

setPosition

Parameters:
Name Type Description
position ol.Coordinate | undefined Position.
Source:
  • anchoredelement.js, line 239

setPositioning

Parameters:
Name Type Description
positioning ol.AnchoredElementPositioning | undefined Positioning.
Source:
  • anchoredelement.js, line 251

unbind

Parameters:
Name Type Description
key string Key.
Inherited From:
Source:
  • object.js, line 281

unbindAll

Removes all bindings.
Inherited From:
Source:
  • object.js, line 298