You need to set the "resolution" option to "provinces".   Also, the GeoMap 
visualization is deprecated, you should use the newer GeoChart 
visualization instead: http://jsfiddle.net/asgallant/0o2q0xd7/7/

On Monday, August 11, 2014 6:56:13 AM UTC-4, jayapal d wrote:
>
> I am trying to replicate the example map for UAE to highlight the State. 
> But it doesn't highlight at all. I have tried with various way to pass the 
> data w.r.t to ISO code, but couldn't achieve at all.
>
> Full code on http://jsfiddle.net/0o2q0xd7/4/
>
>  function drawMap() {
>       var data = google.visualization.arrayToDataTable([
>         ['State', 'Popularity'],
>         ['Sharjah', 13400],
>         ['AE-AJ', 1400],
>         ['AE-FU', 130400],
>         ['AE-RK', 9003400],
>       ]);
>       var options = {};
>      options['region'] = 'AE';
>       options['dataMode'] = 'regions';
>       var container = document.getElementById('map_canvas');
>       var geomap = new google.visualization.GeoMap(container);
>       geomap.draw(data, options);
>   google.visualization.events.addListener(
>           geomap, 'regionClick', function(e) {
>         console.log(e['region']);        
>       });
>   };
>
>
>
> Does anyone worked for UAE map? Also is it possible for highlight the 
> cities in a state through google geomap?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to