Skip to content

Instantly share code, notes, and snippets.

@mokamoto
Last active August 29, 2015 14:08
Show Gist options
  • Save mokamoto/ea65e843603b4e5f5200 to your computer and use it in GitHub Desktop.
Save mokamoto/ea65e843603b4e5f5200 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#speech_mic {
left: 540px;
top: 50px;
position: absolute;
}
#core_input {
padding: 15px;
left: 610px;
top: 50px;
position: absolute;
}
#google_map_search {
left: 860px;
top: 520px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 160px;
top: 180px;
position: absolute;
}
#core_input1 {
padding: 15px;
left: 640px;
top: 240px;
position: absolute;
}
#core_input2 {
padding: 15px;
left: 640px;
top: 330px;
position: absolute;
}
</style>
<speech-mic completetranscript="{{ $.google_map_search.query }}" id="speech_mic"></speech-mic>
<google-map-search map="{{ $.google_map.google_map }}" id="google_map_search"></google-map-search>
<google-map latitude="37.658692336256756" longitude="-122.14064192382813" id="google_map"></google-map>
<core-input willvalidate placeholder="Type something..." value="{{ $.google_map_search.query }}" id="core_input"></core-input>
<core-input willvalidate placeholder="Type something..." inputvalue="37.658692336256756" value="{{ $.google_map.latitude }}" id="core_input1"></core-input>
<core-input willvalidate placeholder="Type something..." inputvalue="-122.14064192382813" value="{{ $.google_map.longitude }}" id="core_input2"></core-input>
</template>
<script>
Polymer({
value: ''
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment