Skip to content

Instantly share code, notes, and snippets.

@achuthhadnoor
Created March 24, 2015 10:47
Show Gist options
  • Save achuthhadnoor/11c7d48ca919fbd9a59e to your computer and use it in GitHub Desktop.
Save achuthhadnoor/11c7d48ca919fbd9a59e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#input {
padding: 15px;
left: 30px;
top: 0px;
position: absolute;
background-color: rgb(253, 253, 253);
}
#speech_mic {
left: 260px;
top: 0px;
position: absolute;
}
</style>
<google-map latitude="37.65597432313635" longitude="-122.00056624023438" id="google_map"></google-map>
<input id="input" placeholder="type something..." is="core-input">
<speech-mic id="speech_mic"></speech-mic>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment