Skip to content

Instantly share code, notes, and snippets.

@iamgeoknight
Created January 9, 2021 15:33
Show Gist options
  • Select an option

  • Save iamgeoknight/2a76dc31c4cfc628e687211bf7b48a6f to your computer and use it in GitHub Desktop.

Select an option

Save iamgeoknight/2a76dc31c4cfc628e687211bf7b48a6f to your computer and use it in GitHub Desktop.
<body>
<script type="text/javascript">
var map = new ol.Map({
target: 'map',
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
view: new ol.View({
center: ol.proj.fromLonLat([37.41, 8.82]),
zoom: 4
})
});
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment