Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <link rel="import" href="../google-map/google-map.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #core_card {
  14. position: absolute;
  15. width: 780px;
  16. height: 450px;
  17. border-radius: 2px;
  18. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  19. left: 390px;
  20. top: 110px;
  21. background-color: rgb(255, 255, 255);
  22. }
  23. #google_map {
  24. width: 100%;
  25. height: 100%;
  26. display: block;
  27. position: absolute;
  28. top: 0px;
  29. left: 0px;
  30. }
  31. </style>
  32. <core-card id="core_card" layout vertical>
  33. <google-map latitude="37.73475629661723" longitude="-122.1282823046875" id="google_map"></google-map>
  34. </core-card>
  35. </template>
  36.  
  37. <script>
  38.  
  39. Polymer({
  40.  
  41. });
  42.  
  43. </script>
  44.  
  45. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement