Super rough estimation

22 views
Skip to first unread message

kfa1983

unread,
Jun 30, 2011, 6:09:21 PM6/30/11
to google-map...@googlegroups.com
Hey guys,

Two weeks ago, my location was very precise (about 10 meters) but since last week, it moved by 5 miles and today 60 miles (!) which locates me in a total different place. What happened?

I'm based in Switzerland, does it also apply to other countries?

Thank you!

Barry Hunter

unread,
Jun 30, 2011, 6:48:43 PM6/30/11
to google-map...@googlegroups.com
Unless I am missing something the Maps API does not include any way to locate 'you'. 

Guessing you using some other API to get location? 



--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/J6kkHWSOB4AJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

kfa1983

unread,
Jun 30, 2011, 7:04:16 PM6/30/11
to google-map...@googlegroups.com
Thanks for your reply.

I may have expressed myself wrong.

Here's the simple geolocation example:

Two weeks ago, it was pointing me right at my door house.

Today, my position differs from 60 miles. I'm just wondering if anything has happened since last week...

Jeremy Geerdes

unread,
Jun 30, 2011, 7:05:50 PM6/30/11
to google-map...@googlegroups.com
Unless we're talking about the google.loader.ClientLocation object included when you use the JSAPI loader to load the API. If this is the case, then I would absolutely NOT rely on the ClientLocation object. The thing is notoriously unreliable and wildly inaccurate. Use HTML5's geolocation API instead, which is available in every modern browser and MSIE9. In fact, I believe I saw somewhere that the only "major" browser it's not available in is IE on Win Phone 7, but I haven't verified that.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

Jeremy Geerdes

unread,
Jun 30, 2011, 7:07:04 PM6/30/11
to google-map...@googlegroups.com
Does the marker report that you're using the W3C standard, or some other mechanism?


Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.

kfa1983

unread,
Jun 30, 2011, 7:17:43 PM6/30/11
to google-map...@googlegroups.com
Quoted: "every modern browser and MSIE9".

I like that :D

Anyway, I'm not using the JSAPI unfortunately... Yes, I'm using W3C compliant browsers only (mostly Chrome) and it was working perfectly until now...

How does it work for you? Is it accurate?

Jeremy Geerdes

unread,
Jun 30, 2011, 7:22:47 PM6/30/11
to google-map...@googlegroups.com
Yeah, it is. But I'm also in the US. That sometimes (read that, often) makes a difference, especially when pulling positions from WiFi network associations. When you're dealing with cell phone or mobile stuff (i.e., where the geolocation API can triangulate using cell signals or GPS), it the whole process tends to be more reliable.

You could just choose to look at it as a bonus: not many people are capable of being in two places at once!


Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
Reply all
Reply to author
Forward
0 new messages