Annotation
An object for a Snapshot URL that describes annotation characteristics.
Declaration
object AnnotationProperties
| Name | Type | Description |
|---|---|---|
markerStyle | string | The style of the annotation. Supported styles include |
point | string | A single point that defines the location at which to place an annotation. Supported values include latitude and longitude coordinates, addresses, or the keyword |
color | string | The color of the annotation. Supported values are HTML color names or hexadecimal color codes. For example: If the annotation has an “ |
glyphColor | string | The tint color of the glyph. This property accepts a color name or a hexadecimal color value. |
glyphImgIdx | integer | The zero-based index of the glyph image referenced in the array of images used for a specific annotation. Don’t set the |
glyphText | string | A single alphanumeric character from the set { |
imgIdx | integer | The zero-based index of the image referenced in the array of images to use for this annotation. The Maps Web Snapshots API requires this property if |
offset | string | An optional offset in scale independent pixels of the image from the bottom center. Specify the offset as a comma-separated string with x and y values. X values move the element to the left or right with positive and negative values, respectively. Y values move the element up or down with positive and negative values, respectively. For example, the following value moves the element down 5 scale-independent pixels: The Maps Web Snapshots API ignores the offset property if |