Buy Now
Sign in

Send the coordinates via google maps

Miri03 , June 01 2017, 10:26
M
Miri03 4
June 01 2017, 10:26 #368894
Hello.
I have two fields
Latitude (text10) and Longitude (text11)

I want to include a geolocation map and google maps search. And when the user moves to google map and click on a point, fills automatically coordinate fields, he must send.

I admit,
I'm not a programmer and If you have patience, to explain how to do it
Thankyou
M
Miri03 4
June 03 2017, 08:25 #368960
Nobody can help me, It would be enough even just a map with the marker to find the coordinates and that automatically fill in the Latitude / Longitude fields
GreyHead 64
June 03 2017, 14:03 #368966
Hi Miri03,

I haven't tried doing this with CFv6 - there are some FAQs and forum posts with similar code for earlier versions. I expect that one of those can be adapted.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
M
Miri03 4
June 03 2017, 14:22 #368970
Thank you. I have version CFv6
I tried so much before writing on the forum, but I did not find a solution.

Then I expect you to upgrade the component, or you can send me some temporary solutions.
It would be great If you could integrate this feature in the next versions.

Thank you
Miri
F
ftpaul 38
July 18 2017, 19:12 #370633
I'm wondering the same thing. It's easy to display a map on the form but no way to get a coordinate pin to fill out other fields with street address.
admin 27
July 19 2017, 09:24 #370649
Hi,

I will try to add this feature in the next update, you may send me a message using the contact page to get the new action update "once its finished".

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
M
Miri03 4
November 11 2017, 10:26 #373451
"Miri03":
Ciao.
Ho due campi
Latitude (text10) e Longitudine (text11)

Voglio includere una mappa di geolocalizzazione e una ricerca Google mappe. E quando l'utente si sposta verso la mappa di Google e fai clic su un punto, riempie automaticamente i campi di coordinamento, deve inviare.

Ammetto,
io non sono un programmatore e se hai pazienza, spieghi come farlo
Grazie

sorry for the quote of the request, but I wanted to know,
whether there is a solution or not?
it's very important for me
I
IamJim 18
April 08 2019, 20:21 #385759
https://www.wikihow.com/Get-Latitude-and-Longitude-from-Google-Maps
I am, And I do not have time, to work on something, that I did not build out nor be involved in the codine of [ChronoForms] as I am looking for similar, but Zip code to zip coe entry [at least] and then input google maps mileage
1) Draw the route
2) Get the Distance and output
Jim
Hey Max? lol
healyhatman 6
April 09 2019, 10:22 #385769
Not sure why you felt the need to resurrect a 2 year old thread and give a useless solution haha.
https://stackoverflow.com/questions/8026960/google-maps-html5-click-to-get-lat-long
Jam it in with HTML block and a Javascript block
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
peppelaria 156
May 15 2019, 15:15 #386878
Hi, how can I pass options to google maps widget in order to see the marker related to entered coordinates?
Thanks so mutch
healyhatman 6
May 15 2019, 21:53 #386882
The widget doesn't accept coordinates it takes place IDs.
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
peppelaria 156
May 16 2019, 13:29 #386909
I tried to put the placeId in the Places provider field, but doesn't work.
Can you give me some exaple?
By now I managed to insert coordinates and point the map on the right place, buto it doesn't show the marker
healyhatman 6
May 16 2019, 13:37 #386910
Your array needs to be ["id" => xxx, "content" => yyy]. Like this one, in PHP.
return array(array("id" => "ChIJwYk7-348c2sR2li3SSlMkU8", "content" => "This will be shown when you click the marker"));
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
peppelaria 156
May 16 2019, 14:04 #386911
Perfect. Works like a charm.
Thankyou very mutch
peppelaria 156
May 27 2019, 16:05 #387072
Ciao. Ad oggi mi sono limitato a usare il widget di chronoforms per mostrare un punto predefinito sulla mappa.
Credo che studiando le api di google sia possibile aggiornare dinamicamente l'array che popola la mappa anche se in realtà non ho ancora usato il widget per questa esigenza.
In passato ho usato su diversi siti un plugin di yootheme (zoo) che ti permette di inserire l'indirizzo di partenza per ottenere le indicazioni verso il luogo di destinazione predefinito.
in questa pagina puoi trovare un esempio anche se il sito risale a diversi anni fa.
http://www.madia-project.eu/who-we-are/item/ebri.html