Order of coordinates for extent parameter

المشرف العام

Administrator
طاقم الإدارة
I was just going through the documentation for openlayers 3.11 and came across the Tiles() , Now it accepts a lot of properties(opacity, preload , map ... etc) , but the one i am interested in is extent , basically this allows me to set an extent of which tiles i would like to load, so an initialization with the extent parameter might look like as follows:

new ol.layer.Tile({ visible: false, preload: Infinity, extent: [-16655.5402445057125, 6609968.258934638,0,6809968], source: new ol.source.BingMaps({ key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3', imagerySet: styles // use maxZoom 19 to see stretched tiles instead of the BingMaps // "no photos at this zoom level" tiles // maxZoom: 19 }) }) Notice how the extent , parameter accepts an array with 4 values in it, now my question is about getting the order right of the values inside the extent array, so suppose i am given THESE coordinates for the extent parameter, how do i know in what order do i put the coordinates? Can anybody guide me?



أكثر...
 
أعلى