Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Last active December 27, 2015 12:19
Show Gist options
  • Save wboykinm/7324663 to your computer and use it in GitHub Desktop.
Save wboykinm/7324663 to your computer and use it in GitHub Desktop.
HERE!
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.ie.css' rel='stylesheet'>
<![endif]-->
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<div id='map'></div>
<script>
var map = L.mapbox.map('map');
var stamenLayer = L.tileLayer('https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/pedestrian.night/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24', {
attribution: 'Map tiles &copy; <a href="http://here.com/">HERE Maps</a>'
}).addTo(map);
map.setView([42.3658372529, -71.0624027252], 14);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment