Last active
May 24, 2016 14:45
-
-
Save PiotrKrosniak/dd258c4d940bceb92fa8eef33b103d9a to your computer and use it in GitHub Desktop.
2016 Triathlon maps New York
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#map-canvas { width:100%; height:800px; } | |
.layer-wizard-search-label { font-family: sans-serif }; | |
</style> | |
<script type="text/javascript" | |
src="http://maps.google.com/maps/api/js?sensor=false"> | |
</script> | |
<script type="text/javascript"> | |
var map; | |
var layer_0; | |
function initialize() { | |
map = new google.maps.Map(document.getElementById('map-canvas'), { | |
center: new google.maps.LatLng(42.256663095296624, -76.06295812988277), | |
zoom: 7 | |
}); | |
var style = [ | |
{ | |
featureType: 'all', | |
elementType: 'all', | |
stylers: [ | |
{ saturation: -99 } | |
] | |
} | |
]; | |
var styledMapType = new google.maps.StyledMapType(style, { | |
map: map, | |
name: 'Styled Map' | |
}); | |
map.mapTypes.set('map-style', styledMapType); | |
map.setMapTypeId('map-style'); | |
layer_0 = new google.maps.FusionTablesLayer({ | |
query: { | |
select: "col3", | |
from: "1V88TIEWZXdSBGj97s5ikaud62jjB6OCVfGFk0fCq" | |
}, | |
map: map, | |
styleId: 2, | |
templateId: 2 | |
}); | |
} | |
google.maps.event.addDomListener(window, 'load', initialize); | |
</script> | |
</head> | |
<body> | |
<div id="map-canvas"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment