new MarkerAnnotation(location, options)
Creates a marker annotation at the coordinate location with provided options.
Declaration
constructor(
location: Coordinate | Place | SearchAutocompleteResult,
options?: MarkerAnnotationConstructorOptions,
);Parameters
- location:
The coordinate where the annotation appears.
- options:
A hash of properties to create the annotation with.