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>
Property | Type | How to use | Description |
---|---|---|---|
cityId ** | String | cityId:'address_city'' | Provide the ID of the form control containing the city name. |
zipCodeId ** | String | zipCodeId: 'address_zip_code' | Provide the ID of the form control containing the ZIP code. |
streetId | String | streetId:'address_street_and_no' | Provide the ID of the form control containing the street name and number. |
icon | String | icon: 'fa-barcode-scan' | Sets the icon of the button |
buttonLabel* | String | buttonLabel: 'Route' | Define the button caption. |
buttonType* | String | buttonType: 'large' | Define the size of the button ('small', 'medium' or 'large'). |
buttonHeading | String | buttonHeading: 'Navigation' | Define a label for the control element. |
* These options are required.
** Please provide at least one of these options.