How to install BOX NOW Map Widget
boxnow-map-widget-button
to open BOX NOW Map Widget. For
example:
<a href="javascript:;" class="boxnow-map-widget-button">Open widget</a>
The most important is variable _bn_map_widget_config
. There you can setup all required options.
parentElement
|
required |
Please fill CSS selector for Map Widget container. For example, just create
|
afterSelect
|
required for type:iframe and type:popup
|
Function that is triggered when the lock is selected. Included one parameter (object)
contains all information about locker (properties |
partnerId
|
optional |
Please use your |
type
|
optional |
Use |
gps
|
optional |
Use it if you want to change the user's location request immediately after displaying the
map. Possible options are |
autoclose
|
optional |
Use it when you want to change what happens after you select a locker. For
|
autoselect
|
optional |
Selects a locker immediately after clicking on a locker on the map or in the list (not
after clicking on the "select locker" button). Requires |
buttonSelector
|
optional |
You can change the default class name to open the BOX NOW Map Widget. Default is
|
zip
|
optional |
If you have set |