AR Map (armap)
Introduction
Demonstrate loading maps in AR scenes.
Operation effect
Figure: AR Map Operation Effect |
Location
Android Studio
- Product package: Product package catalogue\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\armap
Data
Storage location: Product package catalogue\SampleData\Changchun
Deployment Location: mobile device internal storage\SampleData\Changchun
License
Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.
Library
jar |
---|
com.supermap.data.jar, com.supermap.ar.jar, com.supermap.mapping.jar, com.supermap.analyst.jar, sceneform-sm-11.1.0.aar |
so |
libimb2d.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 |
---|---|
ARMapElement | loadModel(), setParentNode(), setActionType(), setTransformable(), setArMapShapeType(), setOnUpdateListener() |
ArSceneLoader | getSceneElement() |
AREffectView | onResume(), onPause(), setDeviceLocation(), addOnUpdateListener() |