Map Settings

Report map settings are stored in the map property of the settings element.

NOTE. This specification contains only the settings, which are used on the mobile device.

Property Description Available values
indicators An array of selected dimension elements, which are color or height indicators. Value is an element with the following properties:
  • color. Key of the dimension element, by which map fill is set up.

  • size. Key of the dimension element, by which 3D map territory height is set up.

Scales It contains scale settings, by which map territory fill is set up.

It contains the Scale property that is an element with the following properties:

  • InactiveItem. Inactive element color.

  • Id. Scale identifier.

  • NoData. Color of elements with missing data.

  • Mode. Scale calculation type: Uniform - relative segmentation, Linear - regular intervals.

  • AutoCalculable. true - automatic segmentation. false - manually set precise intervals.

  • MinValue. Minimum value from all selected data. It is not used on automatic relative segmentation.

  • MaxValue. Maximum value from all selected data. It is not used on automatic relative segmentation.

  • Items. Array with interval colors.

  • Values. Array with values of precise intervals.

  • IntervalsCount. Number of intervals on using automatic gradient.

  • First. Start color of the gradient.

  • Last. End color of the gradient.

Other values are for internal use only.

legend Map legend.

Value is an element with the following properties:

  • columns. Number of columns in the legend.

  • opacity. Legend transparency. Value from 0 to 1: 0- legend is opaque, 1 - legend is completely transparent.

  • hierarchyTotals. If the property is set to True, totals are calculated by each hierarchy level. If the property is set to False, totals are not calculated by hierarchy levels.

  • levelTotals. If the property is set to True, total values for rows or columns are shown after each hierarchy level. If the property is set to False, level totals are not shown.

topobase Array of topobases loaded to the mobile device.

Value is an element array with the following properties:

  • type. Topobase type: Svg (2D map), triangulate (3D map).

  • id. Topobase identifier. This identifier is further used in description of topobase in the Resources section.

Example

Below is an example of setting up an express report map. The example contains settings applied in the mobile application:

        <key>map</key>
        <dict>
          <key>indicators</key>
          <dict>
            <key>color</key>
            <string>513</string>
            <key>depth</key>
            <string>513</string>
          </dict>
          <key>legend</key>
          <dict>
            <key>columns</key>
            <integer>1</integer>
            <key>opacity</key>
            <real>0</real>
            <key>horizontalAlignment</key>
            <string>Center</string>
            <key>verticalAlignment</key>
            <string>Bottom</string>
          </dict>
          <key>topobase</key>
          <array>
            <dict>
              <key>type</key>
              <string>svg</string>
              <key>id</key>
              <string>tkz5mb5y</string>
            </dict>
            <dict>
              <key>type</key>
              <string>triangulatebinary</string>
              <key>id</key>
              <string>st12imzr</string>
            </dict>
            <dict>
              <key>type</key>
              <string>triangulate</string>
              <key>id</key>
              <string>gzpqjpa1</string>
            </dict>
          </array>
        </dict>

See also:

Report Description