Skip to main content
Version: 9.2

MapButton

The MapButton invokes routing apps and passes filled in address information and the current location information.

<div id="mapButton" 
class="pdf-hide"
data-win-control="HFWinJSCtrl.MapButton"
data-win-options="{
cityId:'address_city',
zipCodeId: 'address_zip_code',
streetId:'address_street_and_no',
buttonLabel: 'Route',
buttonType: 'large',
buttonHeading: 'Navigation'
}"></div>
PropertyTypeHow to useDescription
cityId **StringcityId:'address_city''Provide the ID of the form control containing the city name.
zipCodeId **StringzipCodeId: 'address_zip_code'Provide the ID of the form control containing the ZIP code.
streetIdStringstreetId:'address_street_and_no'Provide the ID of the form control containing the street name and number.
iconStringicon: 'fa-barcode-scan'Sets the icon of the button
buttonLabel*StringbuttonLabel: 'Route'Define the button caption.
buttonType*StringbuttonType: 'large'Define the size of the button ('small', 'medium' or 'large').
buttonHeadingStringbuttonHeading: 'Navigation'Define a label for the control element.

* These options are required.
** Please provide at least one of these options.