toString method

String toString()
override

Return the bounding box represented as a string.

@returns {string} The bounding box represents as a string of the format 'LngLatBounds(LngLat(lng, lat), LngLat(lng, lat))'. @example var llb = new mapboxgl.LngLatBounds(-73.9876, 40.7661, -73.9397, 40.8002); llb.toString(); // = "LngLatBounds(LngLat(-73.9876, 40.7661), LngLat(-73.9397, 40.8002))"

Implementation

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