Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Geolocation tag

 
Howard Rosenblum
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your book discuss the geolocation tag? For example the demo in http://html5demos.com/geo does not work properly eventhough it claim to be able to find my location.

Cheers
Howard
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Geolocation is an API, not a tag.

Not supported in all browsers, but your link worked in all browsers I tried (essentially every modern browser but IE).
 
Howard Rosenblum
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did it give you the right location? mine showed downtown and I am in a suburb. Does the book discuss this tag?
Howard
 
Howard Rosenblum
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OOPs, does the book discuss the API?
 
James Williams
author
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howard,

Yes, it does briefly discuss the API. Geolocation can give false positives at times based on how your traffic is being routed. Behind a VPN, it can show the corporate headquarters of a company.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howard Rosenblum wrote:Did it give you the right location?

For me, all browsers located me exactly. I tested in Safari, Chrome, Firefox and Opera.

Remember, it's just a guess based upon network topology (see Geolocation API). So my location must be easier to guess than yours.
 
Howard Rosenblum
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, both of you
Howard
 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out http://findmylocation.info/faq.jsp for more details on geo location services.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic