setSphereMarkerDistance

Sets the distance, in meters, for which sphere markers are displayed. Set to zero to not display any sphere markers. Ignored if there is a sphere marker list (see setSphereMarkerList).

setPanoMarkerDistance has been deprecated and replaced with setSphereMarkerDistance. This is not a breaking change.

Parameters:

  • sphereMarkerDistance (number): The distance, in meters.

Returns: Nothing

Throws: Never

Code Sample