toString method

String toString()
override

Returns the coordinates represent as a string.

@returns {string} The coordinates represented as a string of the format 'LngLat(lng, lat)'. @example var ll = new mapboxgl.LngLat(-73.9749, 40.7736); ll.toString(); // = "LngLat(-73.9749, 40.7736)"

Implementation

String toString() => jsObject.toString();