Skip to content

DOV-Vlaanderen/polymer2-vo-location-selector

Repository files navigation

<vo-location-selector>

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

wide-view

  • narrow view

narrow-view

  • narrow view opened

narrow-view-open

Example:

    <location-selector><vo-location-selector>

<vo-location-selector-vertical>

  • 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>

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve