Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:08
What would you like to do?
Portland bike thefts
<!DOCTYPE html>
<title>Data Layer: Styling</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
<script src=""></script>
<script src=""></script>
var map;
function initialize() {
// Create a simple map.
map = new google.maps.Map(document.getElementById('map-canvas'), {
zoom: 9,
center: {lat: 45.4184649, lng: -122.654422}
// Load a GeoJSON from the same server as our demo.'');
google.maps.event.addDomListener(window, 'load', initialize);
<div id="map-canvas"></div>
<div id="legend-container"><h3>Legend</h3></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment