Is it possible to return to the initiating program after a call to google.maps
Hi,
I am trying to run google maps from an 'html' program and have it return back to the initiating program. At present the return from google.maps is to the Desktop. PATH: index.html ---> gMapsFrontEnd.html ---> comes back to Desktop. Does the google maps program return something that I can access and call the original index.html program? index.html Code:
<div id="index8" > Code:
<body> |
I do not understand what you are asking.
What is the "initiating program" and what would it expect as a return value? Is this in a browser? How are you calling index.html that the "return from google maps is to the Desktop"? Please tell us what you are trying to accomplish and how, exactly, you are doing it. Please revisit the Site FAQ for guidance in asking well formed questions. Especially visit the link from that page, How to Ask Questions the Smart Way for discussion of things to consider when asking others for help. |
I'm likewise baffled, but wonder if whatever is being attempted here is either in ignorance of the Google Maps API, or an effort to get around paying Google?
Maybe OpenStreetMap or Mapbox are better choices. (Gnome Maps is an example of a desktop application powered by OpenStreetMap.) |
1 Attachment(s)
Thanks for your replies,
This has nothing to do with the Google maps API. If you enter https://maps.google.com you can do whatever you want with google.maps, right? When you are finished you will be returned to the computer Desktop you started from. Now look at the attached screenshot. If you click on the Google Maps Icon you will be taken to the above site. When you are done the return is the computer Desktop as above. I made the gMapsFrontEnd.html to try to have the return to my control where I want it to go back to my index.html page and be able to click on another icon, however it too returns to the computer Desktop thus the reason for my question. R |
Well no, you can't do "whatever you want" with Google Maps, but that's an unrelated subject. It's not even clear if Google Maps itself is relevant to what you might be asking, or just an example.
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise You haven't provided any context on the environment you're using, the program that is (possibly) misbehaving, where the posted HTML comes from, how/what interactions are performed, etc. The screenshot implies a mobile device, but you've made no mention of that... |
This is going nowhere. Thanks much for your time on my behalf!
Quote:
I think the answer is to just 'page' back to the calling program. Again, Thanks, R |
The "target=_vblank" attribute on an A tag causes it to open in a new tab or window. That's the most obvious way to get what I think you're asking for.
Opening Google Maps in an IFrame is another option. |
Quote:
From the screenshot I have to guess that the desktop icon, if that is what it is, opens your browser with the given URL. Then when you close it you are just closing your browser. It doesn't "go back to" your Desktop, it is simply closed and so no longer covers your desktop from view. If you want to keep your browser open and go to another URL, like your local index.html then you would have to enter that URL directly or provide a link to click from your browser's bookmarks or menu bar. But the main point being, if my guess is in the ballpark, it is just a browser so you have to browse normally to the next desired URL, not close it. If your browser supports it, you might just encode the icon to open with multiple tabs - one for the maps and one for your local index.html, then when done with the maps just close that tab. Which browser is this? |
Beyond the already voiced calls for more clarity & information, I'd like to add that the 2nd code example from post #1 is very poorly formatted.
It would've been nice if OP would have removed some whitespace to make it more readable. Since the chances of succesfully defining, then solving the problem are so slim from the onset, I didn't really see a reason to do that myself. |
1 Attachment(s)
Dugan:
Quote:
Quote:
Code:
<div id="index8" > |
All times are GMT -5. The time now is 08:13 AM. |