Created
February 6, 2018 16:20
-
-
Save hpfast/c6c0f24673b2bd47781f66c9d6067f15 to your computer and use it in GitHub Desktop.
This file contains 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
<!DOCTYPE html> | |
<html lang="nl"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>VISdata - PDOK</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="shortcut icon" href="img/pdok_favicon.ico"> | |
<link rel="stylesheet" href="css/mapbox-gl.css"> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> | |
<body> | |
<div id="map"></div> | |
<script> | |
// MAP OPTIONS | |
var options = { | |
container: "map", | |
hash: true, | |
style: 'https://geodata.nationaalgeoregister.nl/beta/topotiles-viewer/styles/achtergrond.json', | |
zoom: 8, | |
pitch: 0, | |
bearing: 0, | |
center: [5.19,52.33], | |
attributionControl: false | |
} | |
// INITIALIZE MAP | |
var map = new mapboxgl.Map(options); | |
map.addControl(new mapboxgl.AttributionControl(), "bottom-left"); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment