Skip to main content
Display a location on the built-in map with navigation options.

Parameters

PropertyTypeRequiredDescription
latitudeNumberYesLatitude
longitudeNumberYesLongitude
nameStringNoLocation name
addressStringNoLocation address
scaleNumberNoMap zoom level (5-18)
successFunctionNoCallback on success
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Code Example

my.openLocation({
  latitude: 40.7128,
  longitude: -74.0060,
  name: 'New York',
  address: 'New York, NY, USA',
  scale: 15
});