Web Component wrapper for Google Maps using Polymer.
-
Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20130816/polymer.min.js"></script>
-
Import Custom Element:
<link rel="import" href="src/google-maps.html">
-
Start using it!
<google-maps></google-maps>
| Attribute | Options | Default | Description |
|---|---|---|---|
latitude |
string | -8.034881 |
The latitude coordinate |
longitude |
string | -34.918377 |
The longitude coordinate |
tilt |
int | None | The angle of incidence of the map |
type |
string | roadmap, satellite, hybrid, terrain |
The map display type |
zoom |
int | 8 |
The zoom level of the panorama |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
- v0.1.1 September 18, 2013
- Rename element from
<gmaps>to<google-maps>
- Rename element from
- v0.1.0 August 20, 2013
- Initial development release
- v0.0.1 August 19, 2013
- Started project using boilerplate-element
