Address in map widget not working

  1. 2 years ago

    I found out there is a hidden parameter in the clicktocall widget called phoneNumber! Great. So now I can use 3 different phonenumbers for 3 locations.
    I want the same with maps, 3 maps for 3 different locations on the contact page.
    But the map widget is ignoring the content of the "address" field. It always assumes that it is set to "profile". It would be so great if that could be filled with an address.

    Here is my code? I there an other way to fix it?

          <div class="responsivecolumns">
              <div class="column columns-three-left">
         {{widget('content', 'contactcolumn1content1', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
          {{widget('clicktocall', 'contactcolumn1phone1', {"phoneNumber":"035-11111111", "phoneText":"tel: 035-11111111"})|raw}}
           {{widget('content', 'contactcolumn1content1', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
           {{widget('map', 'googlemaps1', {
        'height': '250',
        'zoom': '15',
        'address':'Koninginneweg 6a Hilversum'
      })|raw}}
     
      </div>
      <div class="column columns-three-middle">
           {{widget('content', 'contactcolumn1content2', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
          {{widget('clicktocall', 'contactcolumn1phone2', {"phoneNumber":"035-22222222", "phoneText":"tel: 035-22222222"})|raw}}
           {{widget('content', 'contactcolumn1content2', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
           {{widget('map', 'googlemaps2', {
        'height': '150',
        'zoom': '15',
        'address': 'Fransestraat 23 Ameide'
      })|raw}}
      </div>
      <div class="column columns-three-right">
           {{widget('content', 'contactcolumn1content3', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
          {{widget('clicktocall', 'contactcolumn1phone3', {"phoneNumber":"035-33333333", "phoneText":"tel: 035-333333"})|raw}}
           {{widget('content', 'contactcolumn1content3', {"content":"<h3>Aliquam Sodales</h3>"})|raw}}
           {{widget('map', 'googlemaps3', {
        'height': '150',
        'zoom': '15',
        'address': '1321 NC'
      })|raw}}
        
      </div>
        </div></div>

    Hi @ajvdhek, after some testing in the editor we have discovered that this is a bug, could you please raise a support ticket in Zendesk referencing this discussion.

    In an example test we attempted to add 3 different map widgets with 3 different locations using the following code http://docs.basekit.com/widgets/v2/map/

    The result was that all 3 map widgets would use the profile data, despite providing different address values and applying different IDs to the widgets. Upon selecting the widget in the UI it would show desired address in the left hand text field, but when saving this it would apply the same address to all 3 map widgets.

    Sorry that this isn't a direct solution, but I hope this has helped in some way.

  2. Dave

    15 Sep 2015 Administrator Answer

    Hi @ajvdhek, after some testing in the editor we have discovered that this is a bug, could you please raise a support ticket in Zendesk referencing this discussion.

    In an example test we attempted to add 3 different map widgets with 3 different locations using the following code http://docs.basekit.com/widgets/v2/map/

    The result was that all 3 map widgets would use the profile data, despite providing different address values and applying different IDs to the widgets. Upon selecting the widget in the UI it would show desired address in the left hand text field, but when saving this it would apply the same address to all 3 map widgets.

    Sorry that this isn't a direct solution, but I hope this has helped in some way.

or Sign Up to reply!