Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

google map embed links in webviewer

Featured Replies

I want to use the google maps feature with webviewer but don't want all the extra boarders and crap google maps adds. I would love to have just what is shown with an embed link. Just the map at a custom size and zoom level I choose.

I have been able to get the embed link to work but can't figure a calculation to make it generate from some address fields.

  • 1 month later...
  • Newbies

Not sure if you still need help with this, but there is a solution that Mike over at the Proof group came up with that helped me. You can read about it here:

http://www.proofgroup.com/blog/2009/feb/google_mapping_single_address_cross_platform

The trick is to pass the address info from FileMaker to a file on a web server you control via php $_GET, which is usually used for forms. You'll need an API key generated specifically for that host url for it to work.

It's pretty straight forward, and Mike's script will work for you with only a little bit of customization.

To add a zoom control, just add this function call to the php file he provides.

map.addControl(new GSmallMapControl());

Hope this helps.

  • 2 months later...

In FM10 (possibly earlier versions) you can pass custom HTML code to the web viewer by using the MIME type "data:text/html" followed by a string of your HTML code. The string can include fields from your solution (i.e. address fields) and other calculations (If, Case, etc.).

Just remember that it's all a string, so if you need to include quotes in your string they need to be preceded by a back slash ().

A good starting reference on how to do this technique can be found here

I hope this helps.

Awesome! After playing with my map solution for a while, I began to wonder how to prevent the location bubble from appearing AND how to automatically set the zoom level!

Thanks!

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.