Can I use a browser's developer tools to see the zoom level of current map in browser?
Clash 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.
javascript openstreetmap zoom mapbox-gl-js mapbox-gl
add a comment |Â
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.
javascript openstreetmap zoom mapbox-gl-js mapbox-gl
add a comment |Â
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.
javascript openstreetmap zoom mapbox-gl-js mapbox-gl
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
javascript openstreetmap zoom mapbox-gl-js mapbox-gl
edited 11 mins ago
asked 1 hour ago
mapping dom
499312
499312
add a comment |Â
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password