8 Replies Latest reply on Sep 5, 2014 3:42 PM by Stephen Huston

    Webviewer Map and Portal Address Problem

    pmehta91

      Hi

       

      I have created an embed google map in webviewer on a form which shows the map of the first address in the portal row . The code is:

       

      ""data:text/html,

      <style type='text/css'>

      html,body

      {overflow:hidden;}

      </style>

      <html>

      <head>

      <title>Map</title>

      </head>

      <body bgcolor='#FFFFFF' TopMargin='10' style='border:0'>

      <iframe width='" & GetLayoutObjectAttribute ( "Map" ; "width" ) - 25 &

      "' height='" & GetLayoutObjectAttribute ( "Map" ; "height" ) - 35 &

      "' frameborder='0' scrolling='no' marginheight='0' marginwidth='0'

      src='http://local.google.com/maps?q=" & Addresses::Address 1 & "," & Addresses::Town_City & "," & Addresses::County & "," &Addresses::Postcode & "&amp;output=embed&iwloc=0'>

      </iframe>

      </body> "

       

      I want to create a button, which will allow users to see the map of that address on the portal over the map I have already created (Not a new layout). At the moment, the map will only just show the first address on the portal and doesn't allow users to see any other addresses within the portal on the map.

       

      Any help would be much appreciated. I have just purchased the pro advanced 13 version if that makes things any easier.

       

      Thank you in advance.