Order of coordinates for extent property in layer Tile?Layer drawing orderConvert bounding box for OL2 to...

Recommendation letter by significant other if you worked with them professionally?

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

How do spaceships determine each other's mass in space?

Confusion about Complex Continued Fraction

Is it a Cyclops number? "Nobody" knows!

Plausibility of Mushroom Buildings

Why does cron require MTA for logging?

Is it safe to abruptly remove Arduino power?

Was it really inappropriate to write a pull request for the company I interviewed with?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Does "Until when" sound natural for native speakers?

Does an unused member variable take up memory?

What is the population of Romulus in the TNG era?

Gaining more land

When Schnorr signatures are part of Bitcoin will it be possible validate each block with only one signature validation?

Why is a very small peak with larger m/z not considered to be the molecular ion?

Do I really need to have a scientific explanation for my premise?

What materials can be used to make a humanoid skin warm?

Can I negotiate a patent idea for a raise, under French law?

Can the alpha, lambda values of a glmnet object output determine whether ridge or Lasso?

Is it possible to find 2014 distinct positive integers whose sum is divisible by each of them?

How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?

Professor forcing me to attend a conference, I can't afford even with 50% funding



Order of coordinates for extent property in layer Tile?


Layer drawing orderConvert bounding box for OL2 to extent for OL3?how to Zoom to max extent in openlayers3?Openlayers example not working with coordinatesOpenLayers 3 create bounding extent which includes two pointsHow to set the coordinates for a polygon in openlayers?OpenLayers - Setting View Correctly Extent GEOJSonHide old tiles while loading new ones when zooming in Openlayers













1















I was just going through the documentation for OpenLayers 3.11 and came across Tile(). Now it accepts a lot of properties: opacity, preload , map, etc.), but the one I am interested in is extent. Basically, it 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[i]
// 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. My question is about getting the correct order of the values inside the extent array.










share|improve this question




















  • 2





    MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

    – user30184
    Nov 23 '15 at 19:11






  • 2





    A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

    – Vince
    Nov 23 '15 at 20:04


















1















I was just going through the documentation for OpenLayers 3.11 and came across Tile(). Now it accepts a lot of properties: opacity, preload , map, etc.), but the one I am interested in is extent. Basically, it 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[i]
// 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. My question is about getting the correct order of the values inside the extent array.










share|improve this question




















  • 2





    MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

    – user30184
    Nov 23 '15 at 19:11






  • 2





    A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

    – Vince
    Nov 23 '15 at 20:04
















1












1








1


0






I was just going through the documentation for OpenLayers 3.11 and came across Tile(). Now it accepts a lot of properties: opacity, preload , map, etc.), but the one I am interested in is extent. Basically, it 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[i]
// 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. My question is about getting the correct order of the values inside the extent array.










share|improve this question
















I was just going through the documentation for OpenLayers 3.11 and came across Tile(). Now it accepts a lot of properties: opacity, preload , map, etc.), but the one I am interested in is extent. Basically, it 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[i]
// 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. My question is about getting the correct order of the values inside the extent array.







javascript openlayers layers coordinates extents






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 11 mins ago









Andre Silva

7,725113685




7,725113685










asked Nov 23 '15 at 18:51









Alexander SolonikAlexander Solonik

13018




13018








  • 2





    MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

    – user30184
    Nov 23 '15 at 19:11






  • 2





    A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

    – Vince
    Nov 23 '15 at 20:04
















  • 2





    MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

    – user30184
    Nov 23 '15 at 19:11






  • 2





    A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

    – Vince
    Nov 23 '15 at 20:04










2




2





MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

– user30184
Nov 23 '15 at 19:11





MinX,MinY,MaxX,MaxY where X is the axis that goes from left to right on the screen (longitude, easting) and Y from bottom to top (latitude, northing).

– user30184
Nov 23 '15 at 19:11




2




2





A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

– Vince
Nov 23 '15 at 20:04







A lot depends on context -- GIS vector folks mostly use llx,lly,urx,ury (aka minx,miny,maxx,maxy) while image folks lean toward ulx,uly,lrx,lry, and non-GIS folks gravitate toward llLat,llLon,urLat,urLon. In context, this looks like the first usage.

– Vince
Nov 23 '15 at 20:04












1 Answer
1






active

oldest

votes


















0














From ol/layer/Tile documentation, property extent is of type module:ol/extent~Extent, which reads (emphasis mine):




Extent{Array.<'number>}

An array of numbers representing an extent: [minx, miny, maxx, maxy].







share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "79"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f171258%2forder-of-coordinates-for-extent-property-in-layer-tile%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    From ol/layer/Tile documentation, property extent is of type module:ol/extent~Extent, which reads (emphasis mine):




    Extent{Array.<'number>}

    An array of numbers representing an extent: [minx, miny, maxx, maxy].







    share|improve this answer




























      0














      From ol/layer/Tile documentation, property extent is of type module:ol/extent~Extent, which reads (emphasis mine):




      Extent{Array.<'number>}

      An array of numbers representing an extent: [minx, miny, maxx, maxy].







      share|improve this answer


























        0












        0








        0







        From ol/layer/Tile documentation, property extent is of type module:ol/extent~Extent, which reads (emphasis mine):




        Extent{Array.<'number>}

        An array of numbers representing an extent: [minx, miny, maxx, maxy].







        share|improve this answer













        From ol/layer/Tile documentation, property extent is of type module:ol/extent~Extent, which reads (emphasis mine):




        Extent{Array.<'number>}

        An array of numbers representing an extent: [minx, miny, maxx, maxy].








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 11 mins ago









        Andre SilvaAndre Silva

        7,725113685




        7,725113685






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f171258%2forder-of-coordinates-for-extent-property-in-layer-tile%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Щит и меч (фильм) Содержание Названия серий | Сюжет |...

            Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

            Meter-Bus Содержание Параметры шины | Стандартизация |...