Created
January 3, 2011 19:34
-
-
Save chelm/763826 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<script src="http://geoiq.local/javascripts/f1.api.js"></script> | |
<script> | |
$(function(){ | |
gmap = new F1.Maker.Map({ | |
map_id: 107, | |
dom_id: "goog", | |
view:'globe', | |
google_key:'ABQIAAAA630IfPtvy4gvDbA5HdxNGRSR6al1JJILrb2xb6gmsA_quSrGlRSCC3o3yILtTuPd8sBfe4gmHMilJQ' | |
}); | |
}); | |
function layerToggle(index,vis){ | |
gmap.showLayer(index, vis); | |
} | |
</script> | |
</head> | |
<body> | |
<button onclick="javascript:layerToggle(0,false)">Hide 1</button> | |
<button onclick="javascript:layerToggle(0,true)">Show 1</button> | |
<div id="goog" style="border:1px solid; width:750px; height:500px;" width=750 height=500></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment