GeoLocation
NamespaceNamespace in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Functions
| Function | Description |
|---|---|
| createLocationService | Creates a new LocationService. |
| getGeoPositionForLocation | Returns the GPS position of a custom location. |
| getNorthAlignedHeading | Calculates heading based on north aligned device orientation. |