4 Replies Latest reply on Nov 5, 2013 11:00 AM by BorisKamp

    customizing google maps

    BorisKamp

      Title

      customizing google maps

      Post

           Hi guys, right now I have this: (see attachment)

           I would like to remove the red crossed areas by default so that when a record is loaded you'll only see the actual map.

           is this possible?

           can a standard view be changed to satellite or hybrid as well?

           Thanks!

      Screen_Shot_2013-10-31_at_19.25.21.png

        • 1. Re: customizing google maps
          MarcMcCall

               Set your webviewer address to this and make a few changes listed at the bottom.

                

               "data:text/html,
               <style type='text/css'>
               html,body {
               overflow:hidden;
               }
               </style>
               <html>
                   <head>
                       <title>NavText</title>
                   </head>
                   <body bgcolor='#FFFFFF' TopMargin='10' style='border:0'>
                       <iframe width='" & GetLayoutObjectAttribute ( "WebViewer3" ; "width" ) - 40 &
                           "' height='" & GetLayoutObjectAttribute ( "WebViewer3" ; "height" ) - 30 &
                           "' frameborder='0' scrolling='no' marginheight='0' marginwidth='0'
                           src='http://local.google.com/maps?q=" & Accounts::Street1 & "," & Accounts::City & "," & Contacts::State & "," & Accounts::Postal_Code & "&amp;output=embed&iwloc=0'>
                       </iframe>
                   </body>
               "

                

               Set the WebViewer 3 to your object name (you will need to name it) and change the other Account:: attributes to your fields.

          • 2. Re: customizing google maps
            schamblee

                 The contacts starter solution has this built in.  The starter solutions use custom functions to display the map.

            • 3. Re: customizing google maps
              BorisKamp

                   Thanks Marc!

                   works great after make some adjustments to the dimensions.

                   Only one problems, I cant use my mouse wheel to zoom in and out anymore, can this be solved?

                    

                   Thanks!

              • 4. Re: customizing google maps
                BorisKamp

                     Does anyone know a solution to the question in my post above?

                     I would like google street view to be visible as well. The street view icon is visible in the standard google maps map in Filemaker.

                      

                     Thanks!