Frank
Frank

Reputation: 81

Location detection

I am using geometa.js on http://www.strahlen.org/map/central.htm to detect the browser's location. Works perfect and smooth in Chrome and Firefox, but it doesn't always work for users with IE and/or Safari.

Is this something I can solve? Is there perhaps a better location script around that I could use, that works on all browsers/platforms?

Cheers, Frank

Upvotes: 0

Views: 988

Answers (1)

Josh Davenport-Smith
Josh Davenport-Smith

Reputation: 5511

Looks like geometa.js acts as a fallback for navigator.geolocation to get the location. That's great, it's the best way to do it, the only problem is that support isn't universal: http://caniuse.com/#search=geolocation

Upvotes: 2

Related Questions