Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.42 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.42 KB

SygicMaps SDK examples for Android

Add navigation features to your app with SygicMaps framework. Examples are provided as an addition to documentation.

Structure

The root folder is an Android Studio project. Each subfolder contains an application module. Modules are independent from each other however they share the same android package, so it is not possible to install more than one on the same device unless you change android package. Android Studio 4.2+ is required to open all sample projects.

  1. SygicStart - initialization of Sygic SDK and showing the map on the screen
  2. Gps - enabling GPS listening for Sygic SDK and showing some basics camera controls
  3. Map - example of handling map clicks and adding some basic user objects on the map
  4. Search - example of using online search feature and showing search result on the map
  5. Navigate - example of calculating route and navigating from GPS position to the point on the map

How to run

  1. Clone this repository
  2. Get your API key and offline lincense
  3. Open project in Android Studio
  4. Put API key into local.properties of this project as sygic.sdk.client.id="your api key"
  5. Put offline license into local.properties of this project as sygic.sdk.offline.license="your offline license"
  6. Select which sample you want to run in Run configurations
  7. Run