Skip to main content

bn.openLocation

openLocation(options): Promise<{}>

description Check location in map

Parameters

NameTypeDescription
optionsOpenLocationOptionsOpen location options

Returns

Promise<{}>


OpenLocationOptions#

Ƭ OpenLocationOptions: Object

Type declaration

NameTypeDescription
latitudenumberLatitude, range -90 ~ 90. The negative number indicates latitude south. use gcj02 NBS coordinate system
longitudenumberLongitude, range -180 ~ 180. The negative numbers indicates west longitude. use gcj02 NBS coordinate system
scale?numberScale, Range 5 ~ 18
name?stringLocation name
address?stringA detailed explaination of the address