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

Example

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

Properties

PropertyTypeDefaultDescription
backgroundAlphaNumber1Background opacity.
backgroundColorColor#9A9A9ABackground color.
borderAlphaNumber1Border opacity.
borderColorColor#FFFFFFBorder color.
borderThicknessNumber3Border thickness.
bottomNumberDistance from bottom of map container to the small map. You should set property "top" to NaN in order this property to work.
enabledBooleantrueSpecifies if SmallMap is enabled.
leftNumberDistance from left side of map container to the small map. You should set property "right" to NaN in order this property to work.
mapColorColor#E6E6E6Color of a map of a small map control.
minimizeButtonWidthNumber16Size of minimize button. You might need to change size of arrowUp.gif and arrowDown.gif if you change this property.
rectangleColorColor#FFFFFFColor of rectangle, which indicates zoom level and position.
Number10Distance from right side of map container to the small map. You should set property "left" to NaN in order this property to work.
sizeNumber0.2Size of small map relative to map container size.
topNumber10Distance from top of map container to the small map. You should set property "bottom" to NaN in order this property to work.

Methods

SmallMap class does not have any methods.

Events

SmallMap class does not have any events.