Created
October 27, 2015 20:30
-
-
Save danlamanna/5d648e3395341cae1020 to your computer and use it in GitHub Desktop.
mapquest example
This file contains hidden or 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
<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