Re: Getting data back from Google Maps in a Browser Control
Avgerinos
Hi Graham
toggle quoted message
Show quoted text
The only solution I know is a nice trick that was mentioned here some years ago (yes this group is really magic! ) Tried it with uniPaaS & XPA3 and it works fine with both ActiveX and .NET browser control (which is actually the same control: Microsoft encapsulated the Active-X browser inside a .NET wrapper). Use the browser's status-line property. Inside your HTML, use a script to access the status-line text property, and update it when user clicks on the map. Add there some custom text like <X=32.123456, Y=43.12345>. Make sure it's in a format safely readable by your program and cannot be confused with anything else that may automatically written in the status line. Then access it from Magic as a property of the .NET browser object. If I remember well, you read it when the onChange event is triggered. Regards Avgerinos On 16/2/2017 9:22 μμ, Graham White wrote:
|
|