Skip to content

Android, iOS and Flutter example apps for the HERE SDK 4.x (Lite Edition, Explore Edition, Navigate Edition)

License

Notifications You must be signed in to change notification settings

developerJuiceLozzoc/here-sdk-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HERE SDK 4.x (Lite, Explore & Navigate Edition) - Examples for Android, iOS and Flutter

License Platform Language Platform Language

The HERE SDK enables you to build powerful location-aware applications. Explore maps that are fast and smooth to interact with, pan/zoom across map views of varying resolutions, and enable the display of various elements such as routes and POIs on highly customizable map views.

The HERE SDK consumes data from the HERE Platform and follows modern design principles incorporating microservices and highly modularized components. Currently, the HERE SDK supports three platforms: Android, iOS and Flutter.

For an overview of the existing features, please check the Developer's Guide for the platform of your choice. Here you will also find numerous code snippets, detailed tutorials, the API Reference and the latest Release Notes:

For now, the Navigate Edition is only available upon request. Please contact your HERE representative to receive access including a set of evaluation credentials.

List of Available Example Apps (Version 4.7.3.0)

In this repository you can find the latest example apps that show key features of the HERE SDK in ready-to-use applications:

  • HelloMap: Shows the classic 'Hello World'.
  • HelloMapWithStoryboard: Shows the classic 'Hello World' using a Storyboard (iOS only).
  • Camera: Shows how to change the target and the target anchor point and how to move to another location using custom map animations.
  • CustomMapStyles: Shows how to load custom map schemes made with the HERE Style Editor. Exclusively available for the Explore Edition and the Navigate Edition).
  • Gestures: Shows how to handle gestures.
  • OfflineMaps: Shows how the HERE SDK can work fully offline and how offline map data can be downloaded for continents and countries. Exclusively available for the Navigate Edition.
  • MapMarker: Shows how to add 2D and 3D map markers to locate POIs (and more) on the map. 3D map markers are exclusively available for the Explore and Navigate Editions.
  • MapObjects: Shows how to add circles, polygons and polylines to the map.
  • MapOverlays / MapViewPins: Shows how to add standard platform views to the map.
  • Routing: Shows how to calculate routes and add them to the map.
  • RoutingHybrid: Shows how to calculate routes and add them to the map. Also shows how to calculate routes offline, when no internet connection is available. Exclusively available for the Navigate Edition.
  • EVRouting: Shows how to calculate routes for electric vehicles and how to calculate the area of reach with isoline routing. Also shows how to search along a route.
  • Search: Shows how to search POIs and add them to the map. Shows also geocoding and reverse geocoding.
  • SearchHybrid: Shows how to search POIs and add them to the map. Shows geocoding and reverse geocoding. Also shows how to search offline, when no internet connection is available. Exclusively available for the Navigate Edition.
  • Navigation: Shows turn-by-turn navigation and tracking. Exclusively available for the Navigate Edition.
  • Positioning: Shows how to integrate HERE Positioning. Exclusively available for the Navigate Edition.
  • Traffic: Shows how to search for real-time traffic and how to visualize it on the map.
  • StandAloneEngine: Shows how to use an engine without a map view.
  • IndoorMap: Shows how to integrate private venues. Exclusively available for the Navigate Edition.
  • UnitTesting: Shows how to mock HERE SDK classes when writing unit tests (Android only, the example app is available for the Explore Edition and the Navigate Edition).

Most example apps contain a class named "XY-Example" where XY stands for the feature, which is in most cases equal to the name of the app. If you are looking for example code that shows how to use a certain HERE SDK feature, then please look for this class as it contains the most interesting parts. Note that the overall app architecture is kept as simple as possible to not shadow the parts in focus.

Not all examples are available for all editions and platforms.

Find the latest examples for the edition and platform of your choice:

Example Apps for Older Versions

Above you can find the example app links for the latest HERE SDK version. If you are looking for an older version, please check our release page where you can download tagged older releases.

What You Need to Execute the Example Apps

  1. Acquire a set of credentials by registering yourself on developer.here.com - or ask your HERE representative.
  2. Download the latest HERE SDK artifacts for your desired platform. These can be found on developer.here.com unless otherwise noted.
  3. Please refer to the minimum requirements and supported devices as listed in our Developer's Guide.

Get Started for Android

  1. Copy the AAR file of the HERE SDK for Android to the example app's app/libs folder.
  2. Open Android Studio and sync the project.
  3. To run the app, you need to add your HERE SDK credentials to the AndroidManifest.xml file.

Get Started for iOS

  1. Copy the heresdk.framework file of the HERE SDK for iOS to the example app's root folder.
  2. To run the app, you need to add your HERE SDK credentials to the Info.plist file.

Get Started for Flutter

  1. Unzip the HERE SDK for Flutter plugin to the plugins folder that can be found inside the example app project. Renname the folder to 'here_sdk': hello_map/plugins/here_sdk
  2. Set your HERE SDK credentials to
  • hello_map/android/app/src/main/AndroidManifest.xml
  • hello_map/ios/Runner/Info.plist
  1. Start an Android emulator or an iOS simulator and execute flutter run from the app's directory - or run the app from within your IDE.

Get in Touch

Thank you for using the HERE SDK.

License

Copyright (C) 2019-2021 HERE Europe B.V.

See the LICENSE file in the root of this repository for license details.

About

Android, iOS and Flutter example apps for the HERE SDK 4.x (Lite Edition, Explore Edition, Navigate Edition)

Resources

License

Stars

Watchers

Forks

Packages

No packages published