Last active
May 24, 2018 13:36
-
-
Save leykov/600421248271f90121ab to your computer and use it in GitHub Desktop.
polymer + google-sheets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../bower_components/polymer/polymer.html"> | |
<link rel="import" href="../bower_components/google-map/google-map.html"> | |
<link rel="import" href="../bower_components/google-sheets/google-sheets.html"> | |
<polymer-element name="map-sheet" noscript> | |
<template> | |
<google-sheets key="1s4j6YN_My1-fF2AZ12z3Ym8okUddkivOux0jC3M1Nho" rows="{{rows}}" published"> | |
</google-sheets> | |
<google-map fittomarkers> | |
<template repeat="{{row in rows}}"> | |
<google-map-marker | |
latitude="{{row.gsx$lat.$t}}" | |
longitude="{{row.gsx$lng.$t }}"></google-map-marker> | |
</template> | |
</google-map> | |
</template> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment