Skip to content

Instantly share code, notes, and snippets.

@bkane11

bkane11/gist:9490703

Created Mar 11, 2014
Embed
What would you like to do?
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<base></base>
<meta charset="utf-8">
<!--prevent browser caching-->
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>MTC - Emergency Management</title>
<meta name="description" content="MTC - Emergency Management">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" href="css/mtc.min.css">
<!-- <link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css"> -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
<script type="text/javascript">
//copy from http://gmaps-samples.googlecode.com/svn/trunk/versionchecker.html?v=2.86
function getURLParam(name) {
var regexS = "[\\?&]" + name + "=([^&#]*)",
regex = new RegExp(regexS),
results = regex.exec(window.location.href);
return (results === null ? "" : decodeURIComponent(results[1]));
}
var gmaps_v = getURLParam('v');
if (gmaps_v)
gmaps_v = '&v=' + gmaps_v;
var script = '<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false' + gmaps_v + '&libraries=places,visualization"></' + 'script>';
document.write(script);
</script>
</head>
<body>
<div id="banner">
<input id="searchTextField" class="googShadow" type="text" size="50">
</div>
<div id="legend" class="googShadow">
<ul>
<li>Legend</li>
<!-- <li class="CP-li legendItem"><span class="hidden plusbutton">+</span><img src="img/red-nodot.png"/><span>CORS Control Points</span></li> -->
</ul>
</div>
<div id="map" style="position:absolute;width:100%;overflow:hidden; height:100%"></div>
<!-- loading -->
<div class="loading">
<span>Loading</span>
</div>
<!-- GOOGLE ANALYTICS TRACKING -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40741733-1', 'urscorp.com');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="js/mtc.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment