General information
Category:
Third party products
Environment versions
Network:
Windows 2008 Server
>>>I build google map from vfp, added markers from vfp table, address searching etc. Also, I managed to read gps coordinates on right click. Is it possible to that coordinates insert into vfp table?
>>>
>>>Thanks in advance.
>>
>>As Tore suggested store the Lat and Lon in two table fields. In the Google Map API you would normally add a listener to the 'rightclick' event and read event.latLng.lat() and event.latLng.lng(). Don't know how you'd pass that to VFP tho......
>
>You can always override the browser object's .rightclick() event and then see what's available. The oBrowser.Document would have its DOM exposed, and I guess all variables should be exposed in some way - as properties perhaps. Debugger and intellisense would help to see what can be stolen from there.
Actually, re-reading the OP it seems that Zoran has already managed to obtain the cords. But I don't know if he his using the Google Maps page directly or has his own HTML page with Google Maps javascript API
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only