-
Include location picker library and translations provided in
/js/
directory. -
Include location picker css provided
/css/
directory. Note CSS depends on images provided in/img/
directory. -
Copy
<location-picker>
tag to your html page where you wish to display location picker. -
Copy
<location-picker-template>
anywhere on your page. Make sure this tag is loaded before you try to display location picker. -
Display location picker by invoking
Packlink.locationPicker.display
method.
Reference implementation can be found at /examples/index.html