geo-location icon indicating copy to clipboard operation
geo-location copied to clipboard

Web component element for the Geolocation API

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>