Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (88 sloc) 5.36 KB
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#">
<head>
<title>Geomask</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="static/lib/bootstrap/css/bootstrap.css" rel="stylesheet" />
<link href="static/lib/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" />
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="static/lib/bootstrap/js/html5shiv.js"></script>
<![endif]-->
<link href="static/page.css" rel="stylesheet" />
<!-- From http://www.iconfinder.com/icondetails/36182/32/map_icon -->
<link href="static/images/favicon.ico" rel="shortcut icon" />
<meta property="og:title" content="Geomask - highlight an area of interest using Google Maps"/>
<meta property="og:type" content="non_profit"/>
<meta property="og:url" content="http://maps.vasile.ch/geomask/"/>
<meta property="og:image" content="http://maps.vasile.ch/geomask/static/images/embed_social_200px.png"/>
</head>
<body>
<div class="container">
<div class="masthead">
<h3 class="muted2">maps.vasile.ch/geomask</h3>
</div>
<div class="row">
<div class="span9">
<div id="map_canvas"></div>
<div><strong>Coordinates:</strong> <span id="coordinates"></span> <strong>Zoom:</strong> <span id="zoom"></span></div>
</div>
<div class="span3">
<h4>Select the area of interest</h4>
<div class="control-group section">
<div class="controls">
<div class="input-prepend">
<span class="add-on"><i class="icon-globe pointer" id="geolocation_trigger"></i></span>
<input class="span2" type="text" id="area_of_interest" />
</div>
</div>
</div>
<h4>Draw the geomask</h4>
<div class="section">
<table class="table hide table-condensed table-striped table-bordered" id="table_paths">
<thead>
<tr>
<th>Path name</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
<button class="btn btn-primary" id="polygon_main_add" disabled="disabled">New hole</button>
<button class="btn btn-danger" id="polygon_reset">RESET</button>
</div>
<h4>Grab the coordinates</h4>
<div class="section">
<div class="export">
<span class="label label-success">GeoJSON</span>
<span class="label label-important hide" id="geojson_alert">Invalid GeoJSON</span>
<textarea rows="5" class="btn-block" id="coordinates_geojson"></textarea>
<div class="pull-right">
<button class="btn btn-small btn-primary" id="geojson_load">LOAD</button>
</div>
<div class="clearfix"></div>
</div>
<div class="export">
<span class="label label-success">KML&lt;Polygon&gt;</span>
<textarea rows="5" class="btn-block" id="coordinates_kml"></textarea>
</div>
<div class="export">
<span class="label label-success">google.maps.Polygon</span>
<textarea rows="5" class="btn-block" id="coordinates_gmaps_polygon"></textarea>
</div>
</div>
<h4>About</h4>
<p>This tool was created by <a href="http://www.vasile.ch">Vasile Coțovanu</a> and the source code is available on <a href="https://github.com/vasile/geomask" target="_new">Github</a>.</p>
<p>Please use <a href="https://docs.google.com/forms/d/1ZWCqfF8OvRBlMPHMc5FbL6T3zYhQ-p18B8IIwMt1sRs/viewform">this form</a> to send your suggestions and / or feedback. Thanks !</p>
</div>
</div>
</div>
<div id="github_badge">
<a href="https://github.com/vasile/geomask" target="_blank"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
</div>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://maps.googleapis.com/maps/api/js?v=3.12&amp;sensor=false&amp;libraries=places"></script>
<script src="static/page.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
You can’t perform that action at this time.