Hi Chad,

Many thanks for your reply. I took a few days off this task to focus
on other tasks and came back to it this morning.

Essentially the new code loads the map with a default location before
requesting coordinate information. It also uses a quick hack to
determine if the code is running in the emulator and doesn't even try
to get coordinate information it just uses a sensible default.

More details are available here:

<http://techxplorer.com/2010/03/23/geolocation-using-the-browser-in-
the-android-os-part-3/>

With thanks.

-Corey

On Mar 18, 9:34 pm, Chad Killingsworth
<[email protected]> wrote:
> Your map is only loaded AFTER the browser sends a geolocation success.
> The process isn't the same in the emulator. 
> Seehttp://techxplorer.com/2010/03/15/geolocation-using-the-browser-in-th...
> andhttp://techxplorer.com/2010/03/16/geolocation-using-the-browser-in-th...
> 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,CoreyWallis <[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.

Reply via email to