0
我有地图amchart,我想在这个特定的国家着色像这样。 enter image description here使用国家名称amcharts为特定国家上色
我试过这段代码,但是这是创建圈子。它是如何实现的?
AmCharts.makeChart("mapdiv",
{
"type": "map",
"dataProvider": {
"map": "worldLow",
"images": [ {
"latitude": <?php echo $lat;?>,
"longitude": <?php echo $long;?>,
"type": "circle",
"width": 25,
"height": 25,
"color": "#926681",
"title": "<?php echo $selectedctry;?>",
} ]
},
"areasSettings": {
"autoZoom": true,
},
"areasSettings": {
"unlistedAreasColor": "#000",
"alpha": 0.5
},
"disableDoubleClickZoom": true,
"zoomControl": {
"zoomControlEnabled": true
//"zoomOnDoubleClick": false
}
}
);
任何建议如何实现。