Skip to content

SmallMap

Type class

Creates a small overview which indicates the current zoom level and position of the map.

Example

```js var map = AmCharts.makeChart("mapdiv",{ ... "smallMap": { "backgroundAlpha": 0.5 } });```

Sources

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

Inheritance

SmallMap does not extend any other symbol.

SmallMap is not extended by any other symbol.

Properties

backgroundAlpha

Type numberDefault 1

Background opacity.

backgroundColor

Type colorDefault #9A9A9A

Background color.

borderAlpha

Type numberDefault 1

Border opacity.

borderColor

Type colorDefault #FFFFFF

Border color.

borderThickness

Type numberDefault 3

Border thickness.

bottom

Type number

Distance from bottom of map container to the small map. You should set property "top" to NaN in order this property to work.

enabled

Type booleanDefault true

Specifies if SmallMap is enabled.

left

Type number

Distance from left side of map container to the small map. You should set property "right" to NaN in order this property to work.

mapColor

Type colorDefault #E6E6E6

Color of a map of a small map control.

minimizeButtonWidth

Type numberDefault 16

Size of minimize button. You might need to change size of arrowUp.gif and arrowDown.gif if you change this property.

rectangleColor

Type colorDefault #FFFFFF

Color of rectangle, which indicates zoom level and position.

right

Type numberDefault 10

Distance from right side of map container to the small map. You should set property "left" to NaN in order this property to work.

size

Type numberDefault 0.2

Size of small map relative to map container size.

top

Type numberDefault 10

Distance from top of map container to the small map. You should set property "bottom" to NaN in order this property to work.

Methods

SmallMap does not have any methods.

Events

SmallMap does not have any events.