Web component element for the Geolocation API

[ This description is mirrored from README.md at github.com/ebidel/geo-location on 2019-05-22 ]

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>

Install

Link to this version
ImportedReleased 27 February 2018Apache License 2.0
Framework Support
Polymer 2.0+
Also supported:
Polymer 1 (1.0.6)
Browser Compatibility
Install with
bower install --save ebidel/geo-location"#2.0.2"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 2.0.2

Dependencies

  • polymer#Polymer/polymer#1.9 - 2