User Tools

Site Tools


crea:intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crea:intro [2018/09/05 23:37] – [Map] bblonskicrea:intro [2021/02/24 00:58] (current) – [Map] bblonski
Line 44: Line 44:
 <script type="text/javascript"> <script type="text/javascript">
     var map;     var map;
-    var extent = [0,0,1024, 968];+    var extent = [0,0,2048, 2048];
     var projection = new ol.proj.Projection({     var projection = new ol.proj.Projection({
         code: 'crea-image',         code: 'crea-image',
Line 56: Line 56:
                 new ol.layer.Image({                 new ol.layer.Image({
                     source: new ol.source.ImageStatic({                     source: new ol.source.ImageStatic({
-                        url: 'https://bblonski.no-ip.org/wiki/_media/crea/map.png',+                        url: 'https://wiki.blonski.me/_media/crea/map_slope.png',
                         projection: projection,                         projection: projection,
                         imageExtent: extent                         imageExtent: extent
Line 63: Line 63:
             ],             ],
             view: new ol.View({             view: new ol.View({
-                zoom: 2,+                zoom: 1,
                 maxZoom: 5,                 maxZoom: 5,
-                center: [500, 500], +                minZoom: 1, 
-                projection: projection+                center: [1024, 1024], 
 +                projection: projection, 
 +                extent: extent
             })             })
         });         });
     }     }
     init();     init();
 +    </script>
 </html> </html>
crea/intro.1536190663.txt.gz · Last modified: by bblonski

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki