Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
- <link rel="import" href="../core-field/core-field.html">
- <link rel="import" href="../core-icon/core-icon.html">
- <link rel="import" href="../core-input/core-input.html">
- <link rel="import" href="../core-icons/core-icons.html">
- <link rel="import" href="../google-map/google-map.html">
- <link rel="import" href="../google-map/google-map-search.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_drawer_panel {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #section {
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- background-color: rgb(250, 250, 250);
- }
- #section1 {
- height: 100%;
- box-sizing: border-box;
- background-color: rgb(221, 221, 221);
- }
- #google_map {
- width: 100%;
- height: 100%;
- display: block;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #google_map_search {
- left: 1034px;
- top: 380px;
- position: absolute;
- width: 100%;
- height: 100%;
- }
- #core_field {
- left: 20px;
- top: 50px;
- position: absolute;
- }
- #core_icon {
- left: 0px;
- top: 0px;
- position: absolute;
- }
- </style>
- <core-drawer-panel transition id="core_drawer_panel" touch-action>
- <section id="section" drawer>
- <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
- <core-input id="core_input" flex></core-input>
- </core-field>
- <core-icon icon="search" id="core_icon"></core-icon>
- </section>
- <section id="section1" main>
- <google-map latitude="{{ $.google_map_search.result.latitude }}" longitude="{{ $.google_map_search.result.longitude }}" id="google_map"></google-map>
- <google-map-search map="{{ $.google_map.map }}" query="{{ $.paper_input.value }}" id="google_map_search"></google-map-search>
- </section>
- </core-drawer-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement