Mapa

https://www.amcharts.com/lib/3/ammap.js
https://www.amcharts.com/lib/3/maps/js/usaHigh.js
https://www.amcharts.com/lib/3/themes/light.js

var map = AmCharts.makeChart(“mapdiv”,{
type: “map”,
theme: “light”,
panEventsEnabled : true,
backgroundColor : “#535364”,
backgroundAlpha : 1,
zoomControl: {
zoomControlEnabled : true
},
dataProvider : {
map : “usaHigh”,
getAreasFromMap : true,
areas :
[
{
“id”: “US-AR”,
“showAsSelected”: true
},
{
“id”: “US-CT”,
“showAsSelected”: true
},
{
“id”: “US-FL”,
“showAsSelected”: true
},
{
“id”: “US-GA”,
“showAsSelected”: true
},
{
“id”: “US-MA”,
“showAsSelected”: true
},
{
“id”: “US-NJ”,
“showAsSelected”: true
},
{
“id”: “US-NY”,
“showAsSelected”: true
},
{
“id”: “US-TN”,
“showAsSelected”: true
},
{
“id”: “US-TX”,
“showAsSelected”: true
}
]
},
areasSettings : {
autoZoom : true,
color : “#B4B4B7”,
colorSolid : “#84ADE9”,
selectedColor : “#84ADE9”,
outlineColor : “#666666”,
rollOverColor : “#9EC2F7”,
rollOverOutlineColor : “#000000”
}
});

A %d blogueros les gusta esto:
close-alt close collapse comment ellipsis expand gallery heart lock menu next pinned previous reply search share star