Constructor
new Icon(options)
Parameters:
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | See below the available values.
Properties
|
- Source:
Members
(protected) anchorX :double
Type:
- double
- Source:
(protected) anchorXUnits :String
Type:
- String
- Source:
(protected) anchorY :double
Type:
- double
- Source:
(protected) anchorYUnits
{String}
- Source:
(protected) height :double
Type:
- double
- Source:
(protected) native :object
Type:
- object
- Source:
(protected) opacity :float
Type:
- float
- Source:
(protected) scale :float
Type:
- float
- Source:
(protected) src :String
Type:
- String
- Source:
(protected) width :double
Type:
- double
- Source:
Methods
getAnchorX() → {double}
Return the horizontale anchor of the image.
- Source:
Returns:
Return the horizontale anchor of the image.
- Type
- double
getAnchorXUnits() → {String}
Return the units horizontale anchor of the image.
- Source:
Returns:
Return the units horizontale anchor of the image.
- Type
- String
getAnchorY() → {double}
Return the verticale anchor of the image.
- Source:
Returns:
Return the verticale anchor of the image.
- Type
- double
getAnchorYUnits() → {String}
Return the units verticale anchor of the image.
- Source:
Returns:
Return the units verticale anchor of the image.
- Type
- String
getHeight() → {double}
Return the height of the image.
- Source:
Returns:
Return the height of the image.
- Type
- double
getOpacity() → {float}
Return the opacity the image.
- Source:
Returns:
Return the opacity of the image.
- Type
- float
getSrc() → {String}
Return the Source of the image.
- Source:
Returns:
Return the source of the image.
- Type
- String
getWidth() → {double}
Return the width of the image.
- Source:
Returns:
Return the width of the image.
- Type
- double
setAnchorX() → {bemap.Icon}
Set the horizontale anchor of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setAnchorXUnits() → {bemap.Icon}
Set the horizontale anchor units the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setAnchorY() → {bemap.Icon}
Set the verticale anchor of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setAnchorYUnits() → {bemap.Icon}
Set the vertical anchor units the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setHeight() → {bemap.Icon}
Set the height of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setOpacity() → {bemap.Icon}
Set the opacity of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setSrc() → {bemap.Icon}
Set the Source of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon
setWidth() → {bemap.Icon}
Set the width of the image.
- Source:
Returns:
Return this.
- Type
- bemap.Icon