Contents

new MarkerAnnotation(location, options)

Creates a marker annotation at the coordinate location with provided options.

Declaration

constructor(
    location: CoordinateData | Place | SearchAutocompleteResult,
    options?: MarkerAnnotationConstructorOptions,
);

Parameters

  • location:

    The coordinate where the annotation appears.

  • options:

    A hash of properties to create the annotation with.

See Also

Creating a marker annotation