properties |
Object
|
Properties
Name |
Type |
Attributes |
Default |
Description |
location |
Array.<Number>
|
|
|
[x,y,z] |
orientation |
Number
|
<optional>
|
0
|
- |
icon |
String
|
|
|
- |
iconScale |
Number
|
<optional>
|
1
|
the icon scale size |
iconColor |
String
|
<optional>
|
"#000000"
|
the icon color |
iconAnchor |
Array.<Number>
|
<optional>
|
[16,16]
|
- |
iconSize |
Array.<Number>
|
<optional>
|
[16,16]
|
- |
iconOpacity |
Number
|
<optional>
|
0.75
|
icon opacity |
label |
String
|
<optional>
|
""
|
the label to display |
labelColor |
String
|
<optional>
|
"#000000"
|
color |
labelOutlineColor |
String
|
<optional>
|
|
color |
labelBackgroundColor |
String
|
<optional>
|
|
color |
labelSize |
Number
|
<optional>
|
16
|
- |
labelScale |
Number
|
<optional>
|
1.0
|
label scale |
labelOffset |
Array.<Number>
|
<optional>
|
[0,0]
|
- |
zIndex |
Number
|
<optional>
|
0
|
z-ordering of markers |
allowBillboardRotation |
Number
|
<optional>
|
true
|
allow billboard rotation |
getLocation |
function
|
<optional>
|
|
- |
getDescription |
function
|
<optional>
|
|
- |
getOrientation |
function
|
<optional>
|
|
- |
getIcon |
function
|
<optional>
|
|
- |
getIconColor |
function
|
<optional>
|
|
- |
getIconScale |
function
|
<optional>
|
|
- |
getLabel |
function
|
<optional>
|
|
- |
getLabelColor |
function
|
<optional>
|
|
- |
getLabelSize |
function
|
<optional>
|
|
- |
getZindex |
function
|
<optional>
|
|
z-ordering of markers |
getMarkerId |
function
|
<optional>
|
|
map an id to a unique marker |
zoomLevel |
Number
|
<optional>
|
15
|
Set the default zoom level |
defaultToTerrainElevation |
Boolean
|
<optional>
|
false
|
Set the default to terrain elevation |
|