Travel Record (itinerary)

Introduction

Demonstration: Record the itinerary based on GPS location and play back the itinerary.

Operation effect

Figure: Travel Record Operation Effect

Location

Android Studio

  • Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\itinerary

License

Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.

Library

jar
com.supermap.data.jar, com.supermap.mapping.jar, com.supermap.navigation.jar, com.supermap.track.jar, TencentLocationSdk_v7.1.7.jar
so
libimb2d.so, libtencentloc.so, libgnustl_shared.so, libQt5Core.so, libQt5Gui.so, libQt5Svg.so, libQt5Widgets.so(Note: Starting from version 11.1, the last five so libraries need to be added.)

Key types/members

Control/Class Method
TrackingMoveData
TrackingMoveHelper onDraw(), start(), stop()

Basic steps

  1. Click the button Onlication to record travel trajectories.
  2. Click the button re-play to play the record trajectories.