HTML5 Geo Location Support Product Page

Answered

Position on demand

Asked 25 Oct 2014 07:31:58
1
has this question
25 Oct 2014 07:31:58 Denis Hoffmann posted:
Hello,
is there a way to get the position on demand. Like if the Usere clicks on a Button of the page. And then the Lat and lng will be placed as hidden field in the form? The thing is...I like to give my users the choice of doing it.
If this works, can you suggest how?
Cheers,
Denis

Replies

Replied 27 Oct 2014 08:54:55
27 Oct 2014 08:54:55 Teodor Kuduschiev replied:
Hi Denis,
Yes, you can apply a "Start Tracking" behavior on a button/anchor etc..
Replied 28 Oct 2014 04:30:06
28 Oct 2014 04:30:06 Denis Hoffmann replied:
Hey Teodor,
maybe I misunderstood, I created this page with a behavior.

hey-koelle.de/trig.php

But the location is directly entered into the fields. I want it only If someone clicks GO.

How does that work?
Cheers,
Denis
Replied 28 Oct 2014 09:49:30
28 Oct 2014 09:49:30 Teodor Kuduschiev replied:
Hello,
I see what you mean. When the page loads the extension asks for permission to get your location. If you don't want to share it, you can choose not to share it. Later, if you want to share the location, you can click on that button.

Reply to this topic