Map

​ var map; AmCharts.ready(function() { map = new AmCharts.AmMap(); map.pathToImages = “http://www.amcharts.com/lib/3/images/”; map.panEventsEnabled = true; map.backgroundColor = “#535364”; map.backgroundAlpha = 1; map.zoomControl.panControlEnabled = true; map.zoomControl.zoomControlEnabled = true; var dataProvider = { mapVar : AmCharts.maps.worldHigh, getAreasFromMap : true, areas : [ { id: ‘AT’, showAsSelected: true }, { id: ‘BE’, showAsSelected: true }, { id: ‘HR’, showAsSelected: true }, { id: ‘CZ’, showAsSelected: true }, { id: ‘FR’, showAsSelected: true }, { id: ‘DE’, showAsSelected: true }, { id: ‘GR’, showAsSelected: true }, { id: ‘HU’, showAsSelected: true }, { id: ‘IE’, showAsSelected: true }, { id: ‘IT’, showAsSelected: true }, { id: ‘NL’, showAsSelected: true }, { id: ‘ES’, showAsSelected: true }, { id: ‘CH’, showAsSelected: true }, { id: ‘TR’, showAsSelected: true }, { id: ‘GB’, showAsSelected: true }, { id: ‘VA’, showAsSelected: true }, { id: ‘MX’, showAsSelected: true }, { id: ‘US’, showAsSelected: true }, { id: ‘MA’, showAsSelected: true }, { id: ‘MY’, showAsSelected: true }, { id: ‘MM’, showAsSelected: true }, { id: ‘TH’, showAsSelected: true }, { id: ‘AE’, showAsSelected: true }, { id: ‘VN’, showAsSelected: true }, { id: ‘AU’, showAsSelected: true } ] }; map.dataProvider = dataProvider; map.areasSettings = { autoZoom : true, color : “#CDCDCD”, colorSolid : “#5EB7DE”, selectedColor : “#5EB7DE”, outlineColor : “#666666”, rollOverColor : “#88CAE7”, rollOverOutlineColor : “#FFFFFF” }; map.write(“mapdiv”); });

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Life is about the journey

%d bloggers like this: