Difference: Googlemap ( vs. 1)

Revision 12019-07-09 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="DeveloperTips"

Displaying Google Maps in the HTML client

Google does not allow any of their website to be loaded in an iframe in a web browser. It works in the java client because the client ignores the data that tells a modern web browser not to allow the address to load in a iframe. Since the HTML client runs in a browser, the map will not display when run. The code to pull the map up needs to be reworked to work with an iframe on html page in web browser.

First, Google requires api key (This requires setup similar to what you need for calendar & gmail).

Then you need to use a web browser widget and URL like:

https://www.google.com/maps/embed/v1/place?q=195 North 1950 West,Salt lake city, ut, 84116&zoom=15&key=<your key>

Website references:
-- https://console.developers.google.com -- enable maps api & create key for it
-- https://developers.google.com/maps/documentation/embed/ -- example of embedded map

-- Jean Neron - 2019-07-09

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback