clearRouteInstruction method

void clearRouteInstruction()

Removes the route instruction highlight created by centerOnRouteInstruction.

Clears the visual turn arrow indicator that was displayed when centering on a route instruction. The map view and camera position remain unchanged, only the instruction highlight is removed.

See also:

Implementation

void clearRouteInstruction() {
  objectMethod(_pointerId, 'MapView', 'clearRouteInstruction');
}