Your map is only loaded AFTER the browser sends a geolocation success. The process isn't the same in the emulator. See http://techxplorer.com/2010/03/15/geolocation-using-the-browser-in-the-android-os-part-1/ and http://techxplorer.com/2010/03/16/geolocation-using-the-browser-in-the-android-os-part-2/ for more on this.
You might consider loading your map and then changing the center point when you receive a gelocation success rather than holding up the whole map load. Chad Killingsworth On Mar 17, 8:27 pm, Corey Wallis <[email protected]> wrote: > Hi All, > > I'm using v3 of the Google Maps JavaScript API to build a small > website targeting mobile devices. My initial development work is > focussing on Android devices using the browser supplied as part of the > Android Emulator. > > The code is undergoing active development so is a little rough, but it > is available here: > > http://beta.ausstage.edu.au/mobile/venues.jsp > > The error that I'm currently experiencing is that the map *will > display* on my phone (HTC Hero), but *will not display* in the > emulator. When I try to view the map in the emulator all I see are the > map controls. > > If I zoom out enough I finally get to a map of the entire world and I > can then zoom back into the map to the original zoom level. > > Has anyone else experienced this and come up with a resolution? > > With thanks. > > -Corey -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
