enableLocationMarker

Enables the location marker based on the supplied LocationMarkerOptions, replacing any existing location marker already visible. The location marker visualizes the users location on the map and can be of three types: CHEVRON: A vehicle position indicator primarily for use in turn-by-turn guidance. POINTER: A user location pointer, primarily for use in browsing or pedestrian modes. CUSTOM: A customizable model supplied by the developer.

Location markers can also contain a GPS accuracy indicator, visualized as a fixed circle or a "ping" effect.

Note: for location marker to be displayed you also need to setLocationProvider

Parameters

options

The options which determine the type of location marker to visualize.

See also