Skip to main content

GeoLocation.getGeoPositionForLocation

Function

Returns the GPS position of a custom location.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

getGeoPositionForLocation(location): Promise<GeoPosition>

Returns the GPS position of a custom location.

Parameters

ParameterType
locationLocationAsset

Returns

Promise<GeoPosition>