ebidel / geo-location

Web component element for the Geolocation API
https://webcomponents.org/element/ebidel/geo-location
86 stars 25 forks source link
geolocation location polymer polymer-element polymer2 web-component

Published on webcomponents.org

\<geo-location>

Geolocation API Polymer web component.

Example to get the device geolocation values:

<geo-location latitude="{{latitude}}" longitude="{{longitude}}"></geo-location>

<ul>
  <li>Latitude: [[latitude]]</li>
  <li>Longitude: [[longitude]]</li>
</ul>