Skip to content

Instantly share code, notes, and snippets.

@jatorre jatorre/index.html
Last active May 26, 2016

What would you like to do?
<!DOCTYPE html>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="">
<div id="map"></div>
<script src=''></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
// when GeoIP is available, set the map's initial view to detected coords.
var lat, lon;
if (typeof Geo === 'object') {
lon = Geo.lon
lat =
} else {
lon = -74.009
lat = 40.70531
var webmap = WebMap.init(document.getElementById('map'), [lat, lon], 14);
//going with rawgit file since bubble wrap style is still work in process,
//and has some dependancies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.