Object

Annotation

An object for a Snapshot URL that describes annotation characteristics.

Properties

color
string

The color of the annotation. Supported values are HTML color names or hexadecimal color codes. For example:

annotations=[{"point":"37.78,-122.42", "color":"449944"}]

glyphText
string

A single alphanumeric character from the set {A-Z, a-z, 0-9}, displayed inside the annotation. The glyphText parameter is ignored if the annotation has a "dot" markerStyle.

markerStyle
string

The style of the annotation. Supported styles include "dot", "balloon" or "large".

point
string

A single point that defines the location at which to place an annotation. Supported values include latitude, longitude coordinates, addresses, or the keyword "center", which places an annotation on the map's center point.

See Also

Essentials

Generating a URL and Signature to Create a Maps Web Snapshot

Create a Snapshot URL and generate a signature to validate the request.

Create a Maps Web Snapshot

Generate a map image with characteristics you provide in the query parameters and sign using your private key.

Beta
object Overlay

A JSON object for a Snapshot URL that describes polyline overlay characteristics, including points for the overlay and styles such as width, color, and dash pattern.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software