Responsive Toolbar for selecting a lat long location on a map. It supports the following actions:
- Search location using AGIV Geolocation API
- Go the current location with the Geolocation API
- Choose a location from the map (The map tool should handle this after the event is fired)
- wide view
- narrow view
- narrow view opened
Example:
<location-selector><vo-location-selector>
- has the same functionality as above widget. The main difference is that the toolbar is aligned vertically and the searchbar is fixed at the bottom.
<vo-location-selector-vertical button-bar-theme="" opened="true"></vo-location-selector-vertical>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
$ polymer serve