07-12-2019 04:16 AM
07-12-2019 04:47 AM
May not be the best solution but, you can use the Internet Explorer activeX control and set the URL such that Google maps gives you a map centered around the coordinate you provide. See the Maps URL API for details.
07-12-2019 05:24 AM
Fmt(mapa, "%s%f%s%f%s", "https://www.google.com/maps/@",latitude,",",longitude,",861m/data=!3m1!1e3"); INET_IWebBrowser2Navigate (webHandle, NULL, mapa, CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL); //Install event handler for navigate complete event from web browser INET_DWebBrwsrEvnts2RegOnNavigateComplete2 (webHandle,NavigateComplete, NULL, 1,NULL);
07-12-2019 05:52 AM
How about creating a new page with JavaScript in it.
https://developers.google.com/maps/documentation/javascript/adding-a-google-map
I am no JS expert, but possibly you can read the lat and long from a file and thus change the map view without reloading the whole page.
You just need to write the latest lat long values to a common file.
I recommended using a file because I don't know any other way to modify the JS variable with external data.
07-12-2019 06:24 AM