Feature Attribute Show (feature_show_info)

Introduction

Demonstrate the display and removal of elements in the map, and view element attributes.

Operation effect

Figure: Feature Attribute Show Operation Effect

Location

Android Studio

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

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.service.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
MapControl addCallout()
MapView onMultiTouch()

Basic steps

  1. Click the button in the upper right corner, select [Show Elements], click on the elements displayed on the map, and view the properties;
  2. Click the button in the upper right corner, select [Remove Element], and remove the elements added to the map.