This is not directly related to the Maps API.

My only advice is to ensure that the device supports using the GPS through
the Geolocation API.

Are you sure the device is getting a GPS fix?

Chris

On Tue, Jan 11, 2011 at 3:52 AM, Jimboidaho <[email protected]> wrote:

> I am not sure if this is the correct place but I have been developing
> a web app for mobile devices.  I have run into an issue with my EVO
> android 2.2.  It is getting the GPS code from the cell towers and not
> the phone.  I have confirmed that Sprint Navigation is working.   I
> have sensor=true in the JS source.  I am using the following code to
> get the GPS code:
>
> <script type="text/javascript" src="http://maps.google.com/maps/api/js?
> sensor=true"></script>
>
>        if (navigator.geolocation)
>        {
>                navigator.geolocation.getCurrentPosition(
>                function (position) {
>
> oSearch.getList(position.coords.latitude,position.coords.longitude) ;}
>                ,function(error)
>                        {alert(error);},
>                {maximumAge:6000}
>                );
>        };
>
> I called Sprint and all they said was that if Nav was working then not
> their problem.  Am I doing something wrong or do I need to call HTC
> next?
>
> Thanks
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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