VJMAP logoVJMAP
CAD · WebGIS
中

LngLatBoundsLike

Updated 2026-09-14~ 1 min read
.md

甲[LngLatBounds][285]对象,的阵列[LngLatLike][284]在[SW,NE]顺序,或数字的在[西,南,东,北]为了对象的数组。

类型:( [LngLatBounds][285] | ` [LngLatLike, [LngLatLike][284] \] | \[number, number, number, number`])

Examples

var v1 = new vjmap.LngLatBounds(
  new vjmap.LngLat(-73.9876, 40.7661),
  new vjmap.LngLat(-73.9397, 40.8002)
);
var v2 = new vjmap.LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002])
var v3 = [[-73.9876, 40.7661], [-73.9397, 40.8002]];
Was this page helpful?