Class AreasSettings

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

Index

Properties

Properties

public alpha: number

Opacity of areas.

default

1

public autoZoom: boolean

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

public balloonText: string

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

public color: string

Color of the areas. #FFCC00

public colorSolid: string

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. #990000

public descriptionWindowHeight: number

Height of a description window.

public descriptionWindowWidth: number

Width of a description window.

default

250

public descriptionWindowX: number

X position of a description window.

public descriptionWindowY: number

Y position of a description window.

public outlineAlpha: number

Opacity of area's outline.

default

1

public outlineColor: string

Color of area's outline. #FFFFFF

public outlineThickness: number

Thickness of area's outline. 0.5

public rollOverColor: string

Color of area when user rolls-over it. undefined

public rollOverOutlineColor: string

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

public selectedColor: string

Color of area which is currently selected. #CC0000

public unlistedAreasAlpha: number

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

default

1

public unlistedAreasColor: string

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

public unlistedAreasOutlineAlpha: number

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

default

1

public unlistedAreasOutlineColor: string

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