Information on this website refers to a deprecated product, and is provided only for historical reference. Please use the Version Switcher above to select an appropriate documentation website for the product you are using.

AreasSettings

Type class

AreasSettings is a class which holds common settings of all MapArea objects.

Inheritance

AreasSettings does not extend any other symbol.

AreasSettings is not extended by any other symbol.

Properties

alpha
#

Type number

Default 1

Opacity of areas.

autoZoom
#

Type boolean

Default false

Specifies if the areas should be zoomed-in when user clicks on them, event if zoom properties are not set.

balloonText
#

Type string

Default [[title]]

Text which is displayed in a roll-over balloon. You can use the following tags: [[title]], [[description]], [[value]] and [[percent]]

color
#

Type string

Default #FFCC00

Color of the areas.

colorSolid
#

Type string

Default #990000

Color of area with highest value. Colors for areas with values less then highest will be colored with intermediate colors between color and colorSolid. Use colorSteps property of AmMap to change the number of intermediate colors.

descriptionWindowHeight
#

Type number

Height of a description window.

descriptionWindowWidth
#

Type number

Default 250

Width of a description window.

descriptionWindowX
#

Type number

X position of a description window.

descriptionWindowY
#

Type number

Y position of a description window.

outlineAlpha
#

Type number

Default 1

Opacity of area's outline.

outlineColor
#

Type string

Default #FFFFFF

Color of area's outline.

outlineThickness
#

Type number

Default 0.5

Thickness of area's outline.

rollOverColor
#

Type string

Default undefined

Color of area when user rolls-over it.

rollOverOutlineColor
#

Type string

Default #CC0000

Color of area's outline when user rolls-over it.

selectable
#

Type boolean

Specifies if areas are selectable, even no zoom/description/url is set.

selectedColor
#

Type string

Default #CC0000

Color of area which is currently selected.

selectedOutlineColor
#

Type string

Color of selected area's outline.

unlistedAreasAlpha
#

Type number

Default 1

Opacity of all areas which are in the map svg file, but not listed as areas in DataSet.

unlistedAreasColor
#

Type string

Default #DDDDDD

Color of all areas which are in the map svg file, but not listed as areas in DataSet.

unlistedAreasOutlineAlpha
#

Type number

Default 1

Opacity of all areas' outline which are in the map svg file, but not listed as areas in DataSet.

unlistedAreasOutlineColor
#

Type string

Default #FFFFFF

Color of all areas' outline which are in the map svg file, but not listed as areas in DataSet.

Methods

AreasSettings does not have any methods.

Events

AreasSettings does not have any events.

Adapters

AreasSettings does not have any adapters.