|
|
|
@ -24,15 +24,15 @@ To use it you don't need any access keys and you can host the tiles and assets y
|
|
|
|
|
body { margin:0; padding:0; }
|
|
|
|
|
#map { position:absolute; top:0; bottom:0; width:100%; }
|
|
|
|
|
</style>
|
|
|
|
|
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.30.0/mapbox-gl.js'></script>
|
|
|
|
|
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.30.0/mapbox-gl.css' rel='stylesheet' />
|
|
|
|
|
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.29.0/mapbox-gl.js'></script>
|
|
|
|
|
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.29.0/mapbox-gl.css' rel='stylesheet' />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id='map'></div>
|
|
|
|
|
<script>
|
|
|
|
|
var map = new mapboxgl.Map({
|
|
|
|
|
container: 'map',
|
|
|
|
|
style: 'http://osm-liberty.lukasmartinelli.ch/osm-liberty.json',
|
|
|
|
|
style: 'http://osm-liberty.lukasmartinelli.ch/style.json',
|
|
|
|
|
center: [8.538961,47.372476],
|
|
|
|
|
zoom: 5,
|
|
|
|
|
hash: true
|
|
|
|
|