addAnnotation(annotation)
Adds an annotation to the map.
Declaration
addAnnotation(annotation: Annotation): Annotation | undefined;Parameters
- annotation:
The annotation to add.
Return Value
Returns the annotation.
Adds an annotation to the map.
addAnnotation(annotation: Annotation): Annotation | undefined;The annotation to add.
Returns the annotation.