PositioningSDK Getting Started
The positioning library provides location tracking capabilities using various location sources. This section covers everything you need to know to get started with positioning.
Location Sources
A Location Source is a system used to track user position.
To use any location source, you must have a mapId and token.
For more details, please contact the Wemap team.
To set a specific location source, you need to:
- Add the relevant
WemapPositioningSDKlibrary to your project dependencies, unless you bring a custom location source of your own. Check instructions - Create a session using your
mapIdandtoken. Check instructions - Create a
LocationSourceusing that session. - Assign the location source to the Map or to GeoAR view. Or start it if you're using it with third-party Map or AR system.
Detailed guides
Please follow our detailed guides depending on the one you've chosen.
- VPS Location Source
- GPS Location Source
- Custom Location Source, to drive the map and AR from a provider of your own
Examples
For additional examples and sample implementations of WemapSDKs, visit the official GitHub repository.
Clone the repository and follow the README instructions to run the sample application.