Is this resolved ? On Thu, Jan 27, 2011 at 7:44 PM, Marcel Olmo <[email protected]>wrote:
> Hey guys, I'm a newbie here in google's geomap stuff. > > I'm trying to combine/merge both examples you can find on the > documentation page : > > > http://code.google.com/intl/es-ES/apis/visualization/documentation/gallery/geomap.html > > As you can see, there is a world map example with countries and > another one with US cities. > > My idea is, if I have the world map, and click inside the Us, get into > the markers view and change the region to US. > > But by know, I've been trying this and it's impossible. > > I've tried adding some event listeners with 'regionClick' or > 'zoomOut', but it didn't work. > > Somethins like this : > > var options = {}; > > google.visualization.events.addListener( > _this.geomap , 'regionClick', function(e) { > alert(e['region']); > options['region'] = e['region']; > options['dataMode'] = 'markers'; > }); > > ..... > > this.geomap.draw(data, options); > > > But I don't get what's happening. > > Could somebody help me with these stuff ?? > > Many thanks in advance!!!!! > > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- 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.
