Skip to content

GeoPoint

Geo 点

Constructors

constructor

new GeoPoint(longitude, latitude): GeoPoint

参数

NameTypeDescription
longitudenumber经度
latitudenumber纬度

返回值

GeoPoint

packages/faas/io/types/baas.d.ts

Methods

toGeoJSON

toGeoJSON(): GeoJson

转换为 GeoJSON

返回值

GeoJson

packages/faas/io/types/baas.d.ts