Webviewer Map and Portal Address Problem

Discussion created by pmehta91 on Sep 4, 2014
Latest reply on Sep 5, 2014 by Stephen Huston



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:



<style type='text/css'>








<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='" & Addresses::Address 1 & "," & Addresses::Town_City & "," & Addresses::County & "," &Addresses::Postcode & "&amp;output=embed&iwloc=0'>


</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.