At the moment the regionClick event only brings back the region in my
version im using the sub region codes,
but what I am doing is making it so that when you click a region you will
zoom into that region and it switches to country mode rather than sub
region allowing the user to click on the countries,
My issue is that I am able to zoom into countries that have no data behind
them is there a way i can stop the zoom into the country if the data i have
in my array is a specific value e.g.
[
['Region Code', 'Sub-Continent', 'Deals', {role: 'tooltip',
p:{html:true}}],
['015', 'Africa', 100, 'Zoom to region'], // will zoom
['029', 'Caribbean', 0, 'Zoom to region'], // wont zoom
]
or even if i had this as my object
[
['Region Code', 'Sub-Continent', 'Deals', {role: 'tooltip',
p:{html:true}}],
['015', 'Africa', 100, 'Zoom to region'], // will zoom
]
if someone was to click the "029" sub region in both examples they will
zoom how do i stop the user from being able to zoom into the "029" sub
region.
as i think this is an acceptable thing to ask for, the user will get
nothing in terms of extra data from looking down at the "029" sub region
but they would if they did the africa one.
everything renders fine and as expected when switching as the map is just
redrawn.
Thanks Andy
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/b8ece363-4ca1-495a-8775-74e21ababc9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.