Easily geocode and reverse geocode strings and coordinates.
bower i -S geo-codec # Polymer 2.0 hybrid (1.x compatible)
bower i -S geo-codec#^1.1.2 # Polymer 1.x based
You will need your own Google Maps API key to use this element. See the demo.
<geo-codec id="codec" api-key="AIzaSyAUPOaJubJnaRTPUd_xX8MOA62gRtSlfCc"></geo-codec>
<input id="search" /><button onclick="runDemo()">Search</button>
<div id="return"></div>
<div id="results"></div>
Full demo: webcomponents.org | github.
API: webcomponents.org | github.
- Fork it on Github.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request