Thematic Mapping (theme)

Introduction

Demonstrate the production of unified style label thematic map, segmented style label thematic map, segmented thematic map, and single-value thematic map.

Operation effect

Figure: Thematic Mapping Operation Effect

Location

Android Studio

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

ADT

  • Product package: Product package\SampleCode\SampleCode_ADT\Theme

Data

Storage location

  • Product package: Product package\SampleData\GeometryInfo

Deployment Location: mobile device internal storage\SampleData\GeometryInfo

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
ThemeLabel setLabelExpression(), setRangeExpression(), addToHead()
ThemeLabelItem setCaption(), setEnd(), setStart(), setVisible()
ThemeRange setRangeExpression()
ThemeRangeItem setCaption() , setEnd(), setStart(), setVisible(), setStyle()
ThemeUnique makeDefault()

Basic steps

  1. Click the dropdown button next to the thematic map type, and select the type you want to create:
  2. Click the OK button to create the thematic map. The result will be displayed in the map.