Skip to content

AreasSettings

Type class

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

Sources

This information about AreasSettings is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

AreasSettings does not extend any other symbol.

AreasSettings is not extended by any other symbol.

Properties

alpha

Type numberDefault 1

Opacity of areas.

autoZoom

Type booleanDefault false

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

balloonText

Type stringDefault [[title]]

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

color

Type stringDefault #FFCC00

Color of the areas.

colorSolid

Type stringDefault #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 numberDefault 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 numberDefault 1

Opacity of area's outline.

outlineColor

Type stringDefault #FFFFFF

Color of area's outline.

outlineThickness

Type numberDefault 0.5

Thickness of area's outline.

rollOverColor

Type stringDefault undefined

Color of area when user rolls-over it.

rollOverOutlineColor

Type stringDefault #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 stringDefault #CC0000

Color of area which is currently selected.

selectedOutlineColor

Type string

Color of selected area's outline.

unlistedAreasAlpha

Type numberDefault 1

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

unlistedAreasColor

Type stringDefault #DDDDDD

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

unlistedAreasOutlineAlpha

Type numberDefault 1

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

unlistedAreasOutlineColor

Type stringDefault #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.