Encontré una forma pero no me funciona bien.
Código Javascript
:
Ver original<script type="text/javascript">
$(document).ready(function(){
$('#map').jMapping({
category_icon_options: function(category){
if (category.charAt(2).match(/[a-m]/i)){
return {color: '#32520C'};
<!-- Colores para cada Zona en el mapa -->
} else if (category.charAt(0).match(/[a-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=P|FF6FC6|FFFFFF');
} else if (category.charAt(1).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=P|7CCD7C|FFFFFF');
} else if (category.charAt(2).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=Ll|00B2EE|FFFFFF');
} else if (category.charAt(3).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=S|9A32CD|FFFFFF');
} else if (category.charAt(4).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=E|EE7621|FFFFFF');
} else if (category.charAt(5).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=L|FF3030|FFFFFF');
} else if (category.charAt(6).match(/[n-z]/i)){
return new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=C|CDBE70|FFFFFF');
}
}
});
});
</script>
Quien me puede ayudar