6 Replies Latest reply on Apr 29, 2014 2:03 PM by lbellino

    Using Bing Maps in Web Viewer

    lbellino

      Title

      Using Bing Maps in Web Viewer

      Post

      I currently use the Google Maps as the default for the Map tab that I have in my database. I would rather use Bing Maps instead. I know I can use a custom web address and was wondering what the best website address to use to show what I get for Google Maps. I tried just replacing the google web address with Bing in place of Google, but it takes me to the main maps website without bring up the address that I have listed in my record.  Here's what I have listed for the maps field/container:

      "http://bing.com/maps?" & "q=" & /*Address=*/ STO__Store::Address & "," & /*City=*/ STO__Store::City & "," & /*State=*/ STO__Store::State & "," & /*Zip Code=*/ STO__Store::ZipCode & "," & /*Country=*/ ""

      How do I fix to make it go right to the map of the address listed in my record? Thanks.

        • 1. Re: Using Bing Maps in Web Viewer
          lbellino

           Anybody out there that might be able to help me with my original post above? Thanks.

          • 2. Re: Using Bing Maps in Web Viewer
            lbellino

                 Hello. Can anyone help me with my original post about using Bing Maps instead of Google? This is the web address I have listed:

                 "http://bing.com/maps?" & "q=" & /*Address=*/ STO__Store::Address & "," & /*City=*/ STO__Store::City & "," & /*State=*/ STO__Store::State & "," & /*Zip Code=*/ STO__Store::ZipCode & "," & /*Country=*/ ""

                 But for some reason, it's not listing the address of each record that I have. Any help would be much appreciated. Thanks.

            • 3. Re: Using Bing Maps in Web Viewer
              SteveMartino

                   You're not using fully qualified field names, i.e  Table::field, and your URL is not correct. Plus all your fields are commented out with /* ...*/

                   Try this, replacing my fully qualified field names with yours. I just tried it in my DB and it worked.   If it doesn't work and you see any /* or */, then you didn't put your fully qualified field names in correctly.

                   "http://www.bing.com/maps/?" & "q= "
                    &
                    Contacts::Ship Address 1
                    & ", " &
                    Contacts::Ship Address 2
                    & ", " &
                    Contacts::Ship City
                    & ", " &
                    Contacts::Ship State
                    & ", " &
                    Contacts::Ship Zip Code
                    & ", " &
                    Contacts::Work Country

              • 4. Re: Using Bing Maps in Web Viewer
                lbellino

                     Ok, I will try what you noted, even though my field names are different from yours. I don't have "contacts", but store records (addresses), but I'll remove the /* or */ and see if that works, along with fixing the web address.

                     Also, I currently am using Google and it seems to work with how it's written, which is this: "http://local.google.com/maps?" & "q=" & /*Address=*/ STO__Store::Address & "," & /*City=*/ STO__Store::City & "," & /*State=*/ STO__Store::State & "," & /*Zip Code=*/ STO__Store::ZipCode & "," & /*Country=*/ STO__Store::Country

                • 5. Re: Using Bing Maps in Web Viewer
                  SteveMartino

                       I put the commented fields in like you have and it worked.  It was probably just the first line adding the www.

                  • 6. Re: Using Bing Maps in Web Viewer
                    lbellino

                         Nevermind...I got it to work with what I was using for Google Maps and replaced with the Bing web address you gave me. Thanks.