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
}
}
);
任何建議如何實現。