diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-22 17:35:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:56 +0200 |
commit | 5e5848c465b683136b6ee2a26a3012f83314399e (patch) | |
tree | 46831025702f9a09e179d78e918b53980ae5448e /ishtar_common/static/js | |
parent | 2af3c31880b78d1b0110a168a9809c2c48111e40 (diff) | |
download | Ishtar-5e5848c465b683136b6ee2a26a3012f83314399e.tar.bz2 Ishtar-5e5848c465b683136b6ee2a26a3012f83314399e.zip |
Add OpenLayers sources
Diffstat (limited to 'ishtar_common/static/js')
-rw-r--r-- | ishtar_common/static/js/ishtar-map.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar-map.js b/ishtar_common/static/js/ishtar-map.js new file mode 100644 index 000000000..3a0b4bd35 --- /dev/null +++ b/ishtar_common/static/js/ishtar-map.js @@ -0,0 +1,13 @@ + + +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 + }) +}); |