Finger Operation (fingerslip)
Introduction
Demonstrate the configuration of map styles through finger stroke operations, including symbols, foreground colors, transparency, border symbols, border width, border color, etc.
Operation effect
Figure: Finger Operation Operation Effect |
Location
Android Studio
- Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\fingerslip
Data
Storage location
- Product package: Product package\SampleData\LosAngeles
Deployment Location: mobile device internal storage\SampleData\LosAngeles
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.services.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 |
---|---|
GeoStyle | setFillForeColor(), setFillBackColor(), setFillOpaqueRate(), setFillGradientMode(), setLineWidth(), setLineColor(), setMarkerSymbolID(), setMarkerSize(), setMarkerAngle() |
Basic steps
- Select a region dataset and siwpe up and down to modify its style.
- Select a point dataset and siwpe up and down to modify its style.
- Select a line dataset and siwpe up and down to modify its style.