Open Offline Scene (openofflinescene)
Introduction
Demonstrate opening and browsing offline 3D scene data downloaded through SuperMap iServer.
Operation effect
Figure: Open Offline Scene Operation Effect |
Location
Android Studio
- Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\openofflinescene
ADT
- Product package: Product package\SampleCode\SampleCode_ADT\OpenOfflineScene
Data
Storage location
- Product package: Product package\SampleData\CBD
Deployment Location: mobile device internal storage\SuperMap\LocalData
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.realspace.jar |
so |
libimb.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 |
---|---|
Scene | open() |
SceneControl | getScene() |
Basic steps
- Click the [Open Scene] button to open the offline scene;
- Gesture to browse the scene.