Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created October 27, 2015 20:30
Show Gist options
  • Save danlamanna/5d648e3395341cae1020 to your computer and use it in GitHub Desktop.
Save danlamanna/5d648e3395341cae1020 to your computer and use it in GitHub Desktop.
mapquest example
<head>
<script charset="UTF-8" src="/built/geo.ext.min.js"></script>
<script charset="UTF-8" src="/built/geo.js"></script>
<style>
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
<script>
$(function () {
var map = geo.map({'node': '#map'});
map.createLayer('osm', {
baseUrl: 'http://otile1.mqcdn.com/tiles/1.0.0/sat/'
});
});
</script>
</head>
<body>
<div id="map"></div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment