Loading indicator on map area

295 views
Skip to first unread message

Sachin

unread,
May 25, 2012, 2:29:25 PM5/25/12
to google-visua...@googlegroups.com
Hi,

As highlighting a particular region by a specific color is not possible in Geochart, I am extracting countries on region selection from an xml file. ie when South Asia is selected then all the countries and ISO codes will be fetched from an xml file and stored in datatable. Then these cities will be highlighted by a color.
The problem is when I select Africa, Its taking time to highlight all the countries. Some countries get selected immidiately but I can visually see some countries getting highlighted one by one.
Hence untill all the countries from the datatable dont get highlighted I want to keep a loading indicator.
how can I do it?

Thanks,
Sac

MC Get Vizzy

unread,
May 28, 2012, 5:59:08 AM5/28/12
to google-visua...@googlegroups.com
The chart doesn't provide a built-in loading indicator.  You'll have to add your own.  Sorry.


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/EsQRrOVibikJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Sachin

unread,
May 28, 2012, 9:07:23 AM5/28/12
to google-visua...@googlegroups.com
Hi,
I tried to add my own Loading indicator but it just appear for while and vanishes and the countries get highlighted one by one after that.. We can see them getting highlighted. Please suggest something.
Is there any jQuery function which indicates the end of map processing?

Thanks.


On Monday, May 28, 2012 3:29:08 PM UTC+5:30, MC Get Vizzy wrote:
The chart doesn't provide a built-in loading indicator.  You'll have to add your own.  Sorry.

On Fri, May 25, 2012 at 9:29 PM, Sachin <capta...@gmail.com> wrote:
Hi,

As highlighting a particular region by a specific color is not possible in Geochart, I am extracting countries on region selection from an xml file. ie when South Asia is selected then all the countries and ISO codes will be fetched from an xml file and stored in datatable. Then these cities will be highlighted by a color.
The problem is when I select Africa, Its taking time to highlight all the countries. Some countries get selected immidiately but I can visually see some countries getting highlighted one by one.
Hence untill all the countries from the datatable dont get highlighted I want to keep a loading indicator.
how can I do it?

Thanks,
Sac

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/EsQRrOVibikJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages