Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (30 sloc) 0.824 kb
<!DOCTYPE html>
<html>
<head>
<title>Modest Maps JS</title>
<script type="text/javascript" src="../../modestmaps.js"></script>
<script type="text/javascript" src="bing.js"></script>
<script type="text/javascript">
var map;
function initMap() {
// please use your own API key!
var key = "AjBbdc2nn_71Hyc__uvinjvuHX5g8GLMiVYCJdx7XLLfiSenf1qtnmbv_VO8iyOj",
style = 'AerialWithLabels',
provider = new MM.BingProvider(key, style, function() {
map = new MM.Map(document.body, provider)
map.setCenterZoom(new MM.Location(37.804656, -122.263606), 14);
});
}
</script>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
</style>
</head>
<body onload="initMap()">
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.