-
FoodPlaceSLRCFecha de consulta 24 de agosto de 2024, 11:51
Buenos días
Como puedo obtener en un campo la distancia en km entre dos puntos en un formulario. Me gustaría que de la ubicación fija del mapa que anexo en la primera imagen me diera la distancia al widget de geolocalizacion qué será en función de donde este el dispositivo.
https://www.jotform.com/build/242031127900038
Esta es la ubicaicion del dispositivo
Esta es la ubicación estática
-
Joshua_T Jotform SupportFecha de respuesta 24 de agosto de 2024, 14:26
Hi FoodPlaceSLRC,
Thanks for reaching out to Jotform Support. Our Spanish Support agents are busy helping other Jotform users right now, so I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, it might take a while until they're available again.
Now, coming back to your question, unfortunately, the feature that you are looking for is not currently available in Jotform. As a workaround, you can get the distance in KM from point 1 to point 2, by using the Driving Distance Widget. Let me show you:
- In Form Builder, go to the Widgets tab from the left panel menu.
- Search for the Driving Distance Widget, and click on it to add it to your form.
- Finally, set up the information requested from the right panel menu.
Give it a try and let us know if you need any other help.
-
FoodPlaceSLRCFecha de respuesta 26 de agosto de 2024, 0:31
Pude poner el punto de origen pero quiero que le punto de llegada se calcule de otro campo que provenga de la ubicacion gps , es posible?
-
Summer Jotform SupportFecha de respuesta 26 de agosto de 2024, 2:59
Hi FoodPlaceSLRC,
While we do offer Support in many foreign languages, and we're working hard to add more every day, we don't currently have Spanish Support agents who can help you. So I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using.
Now, coming back to your question, with getting Places API Key of both distance from Google API Keys, you can easily autocomplete these fields. Let me show you how:
1. Get your Google API Key, and paste it into Places API Key field.
2. Then, click on Update Widget, and that's it.
Give it a try and let us know how it goes.
-
FoodPlaceSLRCFecha de respuesta 26 de agosto de 2024, 9:26
Hay algún forma en que en el campo To se pueda poner la ubicación desde el widget geolocalizacion?
-
Joshua_T Jotform SupportFecha de respuesta 26 de agosto de 2024, 9:50
Hi FoodPlaceSLRC,
To confirm, do you want to automatically pass the information from the GPS Location Widget to the TO field in the Driving Distance Widget? If so, unfortunately, that is currently not possible. The TO address should be filled in manually.
While the feature you're looking for isn't available at Jotform right now, we've gone ahead and escalated your request to our developers. Exactly when or if it's developed depends on their workload, how viable it is, and how many other users also request it. If there are any updates, we’ll circle back to this thread and let you know.
Thanks for your patience and understanding, we appreciate it.