├── index.jade
├── README.txt
├── config.rb
├── index.html
├── sass
└── style.sass
├── license.txt
├── css
└── style.css
└── js
└── index.js
/index.jade:
--------------------------------------------------------------------------------
1 | body(onload="initialize()")
2 | h3 Drag or re-shape for coordinates to display below
3 | h3
4 | a(href="http://codepen.io/jhawes/blog/creating-a-real-estate-polygon-tool") See blog post
5 | #map-canvas
6 | .lngLat
7 | span.one Lat
8 | span.two ,Lng
9 | button#clipboard-btn(onclick="copyToClipboard(document.getElementById('info').innerHTML)") Copy to Clipboard
10 | textarea#info
--------------------------------------------------------------------------------
/README.txt:
--------------------------------------------------------------------------------
1 | A Pen created at CodePen.io. You can find this one at http://codepen.io/jhawes/pen/ujdgK.
2 |
3 | Outputs the coordinates (longitude, latitude) for Google Maps whenever the Polygon is moved or re-shaped. Recently added a 'Copy to Clipboard' button and had data output into a textarea for easier copying & pasting
4 |
5 | I originally built this to build map outlines for neighborhoods, villages, districts and counties - specifically for real estate purposes.
--------------------------------------------------------------------------------
/config.rb:
--------------------------------------------------------------------------------
1 | # Require any additional compass plugins here.
2 |
3 | # Set this to the root of your project when deployed:
4 | http_path = "/"
5 | css_dir = "css"
6 | sass_dir = "sass"
7 | images_dir = "images"
8 | javascripts_dir = "js"
9 | fonts_dir = "fonts"
10 |
11 | output_style = :expanded
12 |
13 | # To enable relative paths to assets via compass helper functions. Uncomment:
14 | # relative_assets = true
15 |
16 | # To disable debugging comments that display the original location of your selectors. Uncomment:
17 | # line_comments = false
18 | color_output = false
19 |
20 |
21 | # If you prefer the indented syntax, you might want to regenerate this
22 | # project again passing --syntax sass, or you can uncomment this:
23 | # preferred_syntax = :sass
24 | # and then run:
25 | # sass-convert -R --from scss --to sass css scss && rm -rf sass && mv scss sass
26 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |