Skip to content

Instantly share code, notes, and snippets.

@heronyang
Created June 24, 2019 01:20
Show Gist options
  • Save heronyang/7d108f7d84a6dd3ef5867d33eb1935d3 to your computer and use it in GitHub Desktop.
Save heronyang/7d108f7d84a6dd3ef5867d33eb1935d3 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Accident Map</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
#map {
height: 100%;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="js/accident-map.js"></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=<%= gmap_api_key %>&libraries=visualization&callback=map_loaded_handler">
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment