pacific707 Posted December 22, 2008 Posted December 22, 2008 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.
Newbies pinotblogger Posted February 15, 2009 Newbies Posted February 15, 2009 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.
jgrunschel Posted April 16, 2009 Posted April 16, 2009 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.
jgrunschel Posted April 16, 2009 Posted April 16, 2009 (edited) 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 April 16, 2009 by Guest
Recommended Posts
This topic is 5711 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now