Can I use a browser's developer tools to see the zoom level of current map in browser?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












EDIT



Many thanks to Scai for answer on raster tiles, I'm still looking for a solution when its a vector tile



What I'm looking for



Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen?



What I've tried



I can see what zoom level the map starts at (within the code for website) and could manually count the number of clicks or scrolls I make. I know there is a listener function that knows what zoom level I'm on and trying find if that is reported in the console or other part of the Developer Tools panel



Why I'm looking for it



I'm trying to get a feel for what data to show at what zoom level so looking a precedent websites.










share|improve this question



























    up vote
    1
    down vote

    favorite












    EDIT



    Many thanks to Scai for answer on raster tiles, I'm still looking for a solution when its a vector tile



    What I'm looking for



    Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen?



    What I've tried



    I can see what zoom level the map starts at (within the code for website) and could manually count the number of clicks or scrolls I make. I know there is a listener function that knows what zoom level I'm on and trying find if that is reported in the console or other part of the Developer Tools panel



    Why I'm looking for it



    I'm trying to get a feel for what data to show at what zoom level so looking a precedent websites.










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      EDIT



      Many thanks to Scai for answer on raster tiles, I'm still looking for a solution when its a vector tile



      What I'm looking for



      Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen?



      What I've tried



      I can see what zoom level the map starts at (within the code for website) and could manually count the number of clicks or scrolls I make. I know there is a listener function that knows what zoom level I'm on and trying find if that is reported in the console or other part of the Developer Tools panel



      Why I'm looking for it



      I'm trying to get a feel for what data to show at what zoom level so looking a precedent websites.










      share|improve this question















      EDIT



      Many thanks to Scai for answer on raster tiles, I'm still looking for a solution when its a vector tile



      What I'm looking for



      Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen?



      What I've tried



      I can see what zoom level the map starts at (within the code for website) and could manually count the number of clicks or scrolls I make. I know there is a listener function that knows what zoom level I'm on and trying find if that is reported in the console or other part of the Developer Tools panel



      Why I'm looking for it



      I'm trying to get a feel for what data to show at what zoom level so looking a precedent websites.







      javascript openstreetmap zoom mapbox-gl-js mapbox-gl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 11 mins ago

























      asked 1 hour ago









      mapping dom

      499312




      499312




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          With raster tiles you can usually see it on the tile URLs. For example the tile https://a.tile.openstreetmap.org/16/35270/21925.png corresponds to zoom level 16. This works for all XYZ tile servers. For details see slippy map tilenames.






          share|improve this answer




















          • Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
            – mapping dom
            13 mins ago











          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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%2f299484%2fcan-i-use-a-browsers-developer-tools-to-see-the-zoom-level-of-current-map-in-br%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          With raster tiles you can usually see it on the tile URLs. For example the tile https://a.tile.openstreetmap.org/16/35270/21925.png corresponds to zoom level 16. This works for all XYZ tile servers. For details see slippy map tilenames.






          share|improve this answer




















          • Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
            – mapping dom
            13 mins ago















          up vote
          2
          down vote



          accepted










          With raster tiles you can usually see it on the tile URLs. For example the tile https://a.tile.openstreetmap.org/16/35270/21925.png corresponds to zoom level 16. This works for all XYZ tile servers. For details see slippy map tilenames.






          share|improve this answer




















          • Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
            – mapping dom
            13 mins ago













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          With raster tiles you can usually see it on the tile URLs. For example the tile https://a.tile.openstreetmap.org/16/35270/21925.png corresponds to zoom level 16. This works for all XYZ tile servers. For details see slippy map tilenames.






          share|improve this answer












          With raster tiles you can usually see it on the tile URLs. For example the tile https://a.tile.openstreetmap.org/16/35270/21925.png corresponds to zoom level 16. This works for all XYZ tile servers. For details see slippy map tilenames.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          scai

          3,995821




          3,995821











          • Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
            – mapping dom
            13 mins ago

















          • Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
            – mapping dom
            13 mins ago
















          Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
          – mapping dom
          13 mins ago





          Thanks for that, a useful answer but I'm dealing with vector tiles so have edited question to that affect.
          – mapping dom
          13 mins ago


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f299484%2fcan-i-use-a-browsers-developer-tools-to-see-the-zoom-level-of-current-map-in-br%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What does second last employer means? [closed]

          List of Gilmore Girls characters

          One-line joke