Map Effecs (ARVideoWithMap)
Introduction
Demonstrate playing lightning effects on the map and setting transparency.
Operation effect
Figure: ap Effecs Operation Effect |
Location
Android Studio
- Product package: Product package catalogue\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\ARVideoWithMap
License
Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.
Library
jjar |
---|
com.supermap.data.jar, com.supermap.mapping.jar |
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 |
---|---|
GLSurfaceView | setPreserveEGLContextOnPause(), setEGLContextClientVersion(), setEGLConfigChooser(), getHolder(), setRenderer(), setRenderMode(), setWillNotDraw(), setZOrderOnTop(), setAlpha() |
GLVideoRenderer | setupAlpha(), setPlaySpeed() |
Basic steps
- Drag the slider to adjust the brightness of the map.