I am using the Geomap in Marker mode to show points on the world map.
When viewing the map with no region specified the points show up in
the US as expected.  However, using the same data the points on the
map do not render when the 'US' region is passed in as an option.

This functionality was working properly approximately 2 weeks ago when
I was originally developing my application.  Aside from the points not
showing up the other change that I have noticed is that now the US
region is zoomed out further to also include a view of Alaska which
was not visible before.

I was able to reproduce this issue in the Code Playground using the
following snippet.  Uncommenting the 'region' option will force the
map to zoom into the US and disable the markers.  Is there anyway
around this issue?

function drawVisualization() {

var data = new google.visualization.DataTable();
      data.addRows(6);
      data.addColumn('string', 'City');
      data.addColumn('number', 'Popularity');
      data.setValue(0, 0, 'New York');
      data.setValue(0, 1, 200);
      data.setValue(1, 0, 'Boston');
      data.setValue(1, 1, 300);
      data.setValue(2, 0, 'Miami');
      data.setValue(2, 1, 400);
      data.setValue(3, 0, 'Chicago');
      data.setValue(3, 1, 500);
      data.setValue(4, 0, 'Los Angeles');
      data.setValue(4, 1, 600);
      data.setValue(5, 0, 'Houston');
      data.setValue(5, 1, 700);

      var options = {};
      //options['region'] = 'US';
      options['colors'] = [0xFF8747, 0xFFB581, 0xc06000]; //orange
colors
      options['dataMode'] = 'markers';

      var container = document.getElementById('visualization');
      var geomap = new google.visualization.GeoMap(container);
      geomap.draw(data, options);

}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to