Sending search queries to Google Maps or Google Earth
Hello everyone!
My patch can launch Google Maps or Google Earth with a specific search query using prepend Launchbrowser. I am attempting to send new search queries to the same browser window using maxurl, with the intention of the same window showing a 'fluid' movement from place to place in Google Maps or Google Earth.
I have tried sending a 'post' message to maxurl using the api with this format 'https://www.google.com/maps/search/?api=1&;query=london' after sending it a 'get' message to https://www.google.com/maps, yet nothing happens on the launched webpage, nor do I get an error in the max console.
Help greatly appreciated, thank you!
Hello again, I have an update to my question:
I am trying to do this instead with ArcGIS maps on codepen. I have made html code which display each search query as a map on codepen. But how to send this as a request from Max?
I launched a specific url in codepen with launchbrowser, then sent a 'get' request to the same url followed by a 'post' request which I hoped would appear in the open html panel on codepen.
I tried to send a simple piece of text using post, but got error maxurl: "Wrong argument count for http method 'post'. (example post http://myhost.com/page.html key1 val1 key2 val2 ...)" I also tried sending a post message to a js object containing the search query data: this results in the max console displaying the url. Nothing is posted to the codepen url.