×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Hotspots did not show user location properly

Hotspots did not show user location properly 9 years 4 months ago #29375

  • Mik Carlomagno
  • Mik Carlomagno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi:
Visiting the demo page of Hotspots , the site shows a location about 300 km from my location browsing from Safari (Mac)
I'm in Buenos Aires, Argentina, and the map shows the first screenshot, instead the second

demo.compojoom.com/hotspots/demo-user-lo...-58.8238254/9/cats/4
Browsing with Crhome, displays the correct place
Attachments:

Hotspots did not show user location properly 9 years 4 months ago #29455

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Mik,
Sorry for the late response, I somehow missed your topic 6 days ago.

When you first load the page -> we use your ip and map it to a physical address. This might not be that acurate. The other issue that we have in this view is the fact that we use a web service for the requests and that web-service is often down. I'll update the component to use a local datbase with IPs for this initial mapping.

After the IP to location mapping is done in the browser you have the option to share your location. If you do decide to share your location this finding is way more accurate and shouldn't be 300km away.

Regards,
Daniel

Hotspots did not show user location properly 9 years 4 months ago #29474

  • Mik Carlomagno
  • Mik Carlomagno's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi Daniel!
Thanks for your response.
I visited the hostpots demo again. As before, the browser asks me to share my location and I agree. This is the result:
In Safari (mac ) now shows the geolocation in Germany. (I'm still in Buenos Aies, Argentina. :D)
In Chrome (mac and windows), shows the correct location, but shows about 1000km radio. It can be configured?

Seems to be a issue with Safari. I ll try in iOS devices tomorrow to check.

Thanks

Hotspots did not show user location properly 9 years 4 months ago #29500

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You sure that it at all updates the location? What happens when you click on the find my position button in the map on this page:
demo.compojoom.com/hotspots - where is the pullsating circle showing you?
HTML5 geolocation can't be wrong with 1000km . 1km I would understand, but 1000... That is not possible.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.117 seconds