addMarker abstract method

void addMarker(
  1. Marker marker
)

Adds a marker to the map by given position.

If marker with same position have been already added, addition of a new marker will be ignored.

Implementation

void addMarker(Marker marker);