Although the global default location can be set in your admin dashboard, there may be a situation where you would want the calculators to start with a dynamically set location.

For instance, you have a page that loads a specific property and would like to configure the tool before load.

Or you have the tool loaded for your agents and want to personalize it for them on the first load.

In this case, you must pass the initialLocation via the web code script.

<div class="bendigi-calculators"
    apikey="API_KEY"
    terms="https://canadianmortgageapp.com/terms"
    navpositiontop="0px"
    tools="all"
    initialLocation="ChIJvWxUSUIToFMR6eNALdnTZ-Q">
</div>
<script src="https://tools.bendigi.com/assets/calculators.js"></script>

The initial location data field accepts Google Place IDs. Here are a few that may be useful for you

  • Barrie    ChIJbSDXGjejKogRWlNLqAAPLh0
  • Calgary    ChIJ1T-EnwNwcVMROrZStrE7bSY
  • Edmonton    ChIJI__egEUioFMRXRX2SgygH0E
  • Halifax    ChIJwfrbBxQhWksR3C2LQ6bja2Y
  • Kamloops    ChIJMTsNPdMsflMR50VpmqqWPtI
  • Kelowana    ChIJszDH47aMfVMR98S02j3l-E4
  • Langley    ChIJ5wZlx8zPhVQRqWwaj2q20FI
  • Montreal    ChIJDbdkHFQayUwR7-8fITgxTmU
  • Niagara Falls    ChIJuU2C7F5E04kRiKK9VmHF0kY
  • Ottawa    ChIJrxNRX7IFzkwR7RXdMeFRaoo
  • Sherwood Park    ChIJvWxUSUIToFMR6eNALdnTZ-Q
  • Toronto    ChIJpTvG15DL1IkRd8S0KlBVNTI
  • Vancouver    ChIJs0-pQ_FzhlQRi_OBm-qWkbs
  • Victoria    ChIJcWGw3Ytzj1QR7Ui7HnTz6Dg
  • Winnipeg    ChIJESsa-ftz6lIRZMq5xvoaKis

 

You can use your own Google Place API key to retrieve other place ids, but you can also use our convenience API here to get it. Please note that the place lookup is a billable API and will be counted toward your monthly usage.

https://developers.canadianmortgageapp.com/#4816fd64-9faa-4c30-95bf-83023fb996a0