Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
  2. <link rel="import" href="../core-field/core-field.html">
  3. <link rel="import" href="../core-icon/core-icon.html">
  4. <link rel="import" href="../core-input/core-input.html">
  5. <link rel="import" href="../core-icons/core-icons.html">
  6. <link rel="import" href="../google-map/google-map.html">
  7. <link rel="import" href="../google-map/google-map-search.html">
  8.  
  9. <polymer-element name="my-element">
  10.  
  11. <template>
  12. <style>
  13. :host {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. box-sizing: border-box;
  18. }
  19. #core_drawer_panel {
  20. position: absolute;
  21. top: 0px;
  22. right: 0px;
  23. bottom: 0px;
  24. left: 0px;
  25. width: 100%;
  26. height: 100%;
  27. }
  28. #section {
  29. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  30. background-color: rgb(250, 250, 250);
  31. }
  32. #section1 {
  33. height: 100%;
  34. box-sizing: border-box;
  35. background-color: rgb(221, 221, 221);
  36. }
  37. #google_map {
  38. width: 100%;
  39. height: 100%;
  40. display: block;
  41. left: 0px;
  42. top: 0px;
  43. position: absolute;
  44. }
  45. #google_map_search {
  46. left: 1034px;
  47. top: 380px;
  48. position: absolute;
  49. width: 100%;
  50. height: 100%;
  51. }
  52. #core_field {
  53. left: 20px;
  54. top: 50px;
  55. position: absolute;
  56. }
  57. #core_icon {
  58. left: 0px;
  59. top: 0px;
  60. position: absolute;
  61. }
  62. </style>
  63. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  64. <section id="section" drawer>
  65. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  66. <core-input id="core_input" flex></core-input>
  67. </core-field>
  68. <core-icon icon="search" id="core_icon"></core-icon>
  69. </section>
  70. <section id="section1" main>
  71. <google-map latitude="{{ $.google_map_search.result.latitude }}" longitude="{{ $.google_map_search.result.longitude }}" id="google_map"></google-map>
  72. <google-map-search map="{{ $.google_map.map }}" query="{{ $.paper_input.value }}" id="google_map_search"></google-map-search>
  73. </section>
  74. </core-drawer-panel>
  75. </template>
  76.  
  77. <script>
  78.  
  79. Polymer({
  80.  
  81. });
  82.  
  83. </script>
  84.  
  85. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement