API Google MAP capture Lat/Lon in Orbeon Forma

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

API Google MAP capture Lat/Lon in Orbeon Forma

ale.guerrero
Hello, I could integrated a API google Maps in Form orbeon this work for
me!!!

<http://discuss.orbeon.com/file/t375471/map_orbeon.png>

But now, I need capture the current position and save the coordinate
latitude/longitude.
it's possible? Please help!!

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: API Google MAP capture Lat/Lon in Orbeon Forma

Alessandro  Vernet
Administrator
Hi Alejandro,

Can you tell us more about you did? Did you use the  built-in map XBL
component <https://doc.orbeon.com/form-runner/component/map.html>  , or did
you create your own? The built-in component does capture the
longitude/latitude. And if you've created your own XBL, then it is up to you
do so, but you can maybe peek at what the built-in component does for some
inspiration.

Alex



-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: API Google MAP capture Lat/Lon in Orbeon Forma

ale.guerrero
Thank's Alex...
I use the  built-in map XBL
component <https://doc.orbeon.com/form-runner/component/map.html>.

The store has assigned to my users (they view stores in a dropdown).
I need that my users can mark their position when they capture information
trough the form when they stayed in a store.

<http://discuss.orbeon.com/file/t375471/drop_down.png>

I attach the code from my example form in google drive
<https://drive.google.com/file/d/0B7x6N1ngWefPMTlza3Q2NUdnS2s/view?usp=sharing>
... in the dropdown the first option is a address assigned for one users.
If i select the option in a dropdown, the map show the address.
<http://discuss.orbeon.com/file/t375471/address_choosed.png>

You mention that the component xbl capture the coordinate latitude and
longitude. How i can view this? it's possible show this coordinate in a text
field? do you have any example about this?

many thanks
regards!






Alessandro  Vernet wrote

> Hi Alejandro,
>
> Can you tell us more about you did? Did you use the  built-in map XBL
> component &lt;https://doc.orbeon.com/form-runner/component/map.html&gt;  ,
> or did
> you create your own? The built-in component does capture the
> longitude/latitude. And if you've created your own XBL, then it is up to
> you
> do so, but you can maybe peek at what the built-in component does for some
> inspiration.
>
> Alex
>
>
>
> -----
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
> --
> Sent from: http://discuss.orbeon.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to

> orbeon+unsubscribe@

> .
> To post to this group, send email to

> orbeon@

> .


Alessandro  Vernet wrote

> Hi Alejandro,
>
> Can you tell us more about you did? Did you use the  built-in map XBL
> component &lt;https://doc.orbeon.com/form-runner/component/map.html&gt;  ,
> or did
> you create your own? The built-in component does capture the
> longitude/latitude. And if you've created your own XBL, then it is up to
> you
> do so, but you can maybe peek at what the built-in component does for some
> inspiration.
>
> Alex
>
>
>
> -----
> --
> Follow Orbeon on Twitter: @orbeon
> Follow me on Twitter: @avernet
> --
> Sent from: http://discuss.orbeon.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to

> orbeon+unsubscribe@

> .
> To post to this group, send email to

> orbeon@

> .



--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: API Google MAP capture Lat/Lon in Orbeon Form

ale.guerrero
Hi Alex...
I can captured the coordinate in a text field.
But i have a problem...
If i choosed the address in a dropdown the latitude and longitude coordinate
not show. but if i movethe mark in a map i view the coordinate.

It's possible view the coordinate when i have choosed the option in a
dropdown avoiding having to move the mark in a map??

I attach the sequence:

If i choosed the address in dropdown:
<http://discuss.orbeon.com/file/t375471/address_choosed.png>

if i move the mark in map:
<http://discuss.orbeon.com/file/t375471/move_mark_in_map.png>



--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: API Google MAP capture Lat/Lon in Orbeon Form

Alessandro  Vernet
Administrator
Sorry Alejandro, the last 2 weeks have been especially busy here, and I
didn't get a chance to look into this. Did you get to do some progress on
this, or are things still as they were when you wrote that last message?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: API Google MAP capture Lat/Lon in Orbeon Form

ale.guerrero
Hi Alessandro..
Thing still as were when i wrote that last message.
I can't view the coordinate when i choosed any option in dropdown list but
if i move the mark in red color, i view the coordinate.
Please help me if is possible
Many thank.
Regards


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].