> > 2010/3/12 Rossko <[email protected]> > > > > Does this have anything at all to do with the maps API?
Having spent 3 months working on a google map for my work, i've come across a major stumbling block. Maybe i was a little unclear prior, here goes: I've made a map which incorporates around 9 groups/categories of markers, a click on a check box toggles the display of these markers. Each marker has some unique/real time data associated with it obtained from our database, it has a listener set up to display when clicked. When the check box is initially clicked it may take up to 4 seconds to connect to the db and set up all the markers. Now, depending on the browser i have come to realise that Firefox will load and display markers as it goes along. This is fine as i can setup a div tag to display 'loading' as is setting up the markers then hide the div tag when done, which is good for the user as they can see something is happening.The show/hide loading div tag also works in Opera. However the problem arises when testing this in IE, Chrome & Safari, the map freezes and displays nothing until the function has completed then display it fully. This is bad for the user as they will think nothing is happening or stalling. I was wondering if anyone had encountered a similar problem and what was their solution? I can't give you the address for the site as its on the dev machine here at work, but this is similar: http://econym.org.uk/gmap/example_map2.htm You have to imagine that when you click the options on the right in firefox and opera a loading tag appears while it gathering data for the markers, where as IE,Chrome and Safari just freeze until the function has gathers all the data then displays the markers. It's definitely map API related but maybe more of an issue with browser/javascript functionality, i'd like to hear what anybody else thought about this as i'm sure i'm not the first to tread these waters? Not sure for sure but... Cheers -- You received this message because you are subscribed to the Google Groups "Google Maps 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-maps-api?hl=en.
