Skip to content

Instantly share code, notes, and snippets.

@adoueb
Last active August 29, 2015 14:15
Show Gist options
  • Save adoueb/a808e53e6b7de766afd6 to your computer and use it in GitHub Desktop.
Save adoueb/a808e53e6b7de766afd6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 810px;
height: 460px;
display: block;
left: 20px;
top: 80px;
position: absolute;
}
#paper_icon_button {
left: 1240px;
top: 220px;
position: absolute;
}
#google_map_search {
left: 890px;
top: 100px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 20px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 10px;
position: absolute;
background-color: rgb(79, 125, 201);
}
</style>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<google-map-search id="google_map_search"></google-map-search>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<google-map latitude="43.00000000000002" longitude="7.000000000000015" zoom="8" id="google_map"></google-map>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment