此类表示一个地理坐标点。
以指定的经度和纬度创建一个地理点坐标
lng
number
lat
const point = new BMap.Point(116.404, 39.915);
地理纬度
地理经度
判断坐标点是否相等,当且仅当两点的经度和纬度均相等时返回 true
other
Point
const point = new BMap.Point(116.404, 39.915);const other = new BMap.Point(116.404, 39.915);const isEqual = point.equals(other); // true
此类表示一个地理坐标点。