Directory

← Back

geo-location

Web component element for the Geolocation API

Author

Contributors

Rating

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

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#Polymer/polymer#1.9 - 2
Released
2018-02-27
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Polymer 2.0+
Polymer 1.0+ in 0.0.1
Browser
Browser Independent
Online