Skip to content

Instantly share code, notes, and snippets.

@enthal
Created July 12, 2014 15:41
Show Gist options
  • Select an option

  • Save enthal/1352c9cf866767947395 to your computer and use it in GitHub Desktop.

Select an option

Save enthal/1352c9cf866767947395 to your computer and use it in GitHub Desktop.

Revisions

  1. enthal revised this gist Jul 12, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <link rel="import" href="../google-map/google-map.html">
    <link rel="import" href="../components/polymer/polymer.html">

    <polymer-element name="my-element">

    @@ -14,7 +14,7 @@
    width: 400px;
    height: 400px;
    display: block;
    left: 100px;
    left: 600px;
    top: 190px;
    position: absolute;
    }
    @@ -29,4 +29,4 @@

    </script>

    </polymer-element><google-map maptype="terrain" id="google_map" class="drag-element"></google-map>
    </polymer-element>
  2. enthal revised this gist Jul 12, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion designer.html
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@
    width: 400px;
    height: 400px;
    display: block;
    left: 600px;
    left: 100px;
    top: 190px;
    position: absolute;
    }
  3. enthal created this gist Jul 12, 2014.
    32 changes: 32 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    <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: 400px;
    height: 400px;
    display: block;
    left: 600px;
    top: 190px;
    position: absolute;
    }
    </style>
    </template>

    <script>

    Polymer('my-element', {

    });

    </script>

    </polymer-element><google-map maptype="terrain" id="google_map" class="drag-element"></google-map>