You are not logged in.
You will have to use the JavaScript functions included with AMMAP to set the colors/data.
Offline
Yes, you can use some JavaScript to set the colors of the areas dynamically. I.e.:
<select onchange="setColors(this);">
<option>None</option>
<option value="baltic">Baltic States</option>
</select>
<script type="text/javascript">
function setColors (sel) {
var map = document.getElementById('ammap');
if (sel.options[sel.selectedIndex].value == 'baltic') {
map.setColor('LT', '#00FF00'); // Lithuania
map.setColor('LV', '#00FF00'); // Latvia
map.setColor('EE', '#00FF00'); // Estonia
}
}
</script>Offline
© amMap & amCharts | Forum engine: PunBB