How To Update Xojo Objects From HTML/Javascript?

I am working on a Google map web application under Xojo.
The map has a draggable marker that updates the values of latitude and longitude textboxes.
Since the UI for mapping is entirely made with HTML/Javascript and shown through Xojo’s WebHTMLViewer control, I am having problems getting the values of the lat-lang textboxes to Xojo. :no_mouth:

You’ll want to look at ExecuteJavascript / ExecuteJavascriptSync methods on the HTMLViewer to run a Javascript from your Xojo app to retrieve the values. Or put code in the HTML to push the values on some trigger to Xojo using the javascript functions executeInXojo() or executeInXojoSync().