Im using a jvectormap plugin , and I'm trying to set the colors of each of the regions on the map. However, after applying the code, a map is displayed below, but without application. He just shows a map in white.
I read a few examples and questions on this, but I can't get it to work for me.
Example 1 setting random colors on a map.
Documentation
A similar question is for mine, however it does not solve my problem.
jQuery('#mapDiv').vectorMap({ map: 'au_merc_en', backgroundColor: 'none', colors: { AU-SA: '#4E7387', AU-WA:'#333333', AU-VIC:'#89AFBF', AU-TAS:'#817F8E', AU-QLD:'#344B5E', AU-NSW:'#344B5E', AU-ACT:'#344B5E', AU-NT:'#344B5E' }, series: { regions: [{ attribute: 'fill' }] } });
Can anyone see the problem?
Navigatron
source share