Skip to content

Increasing max zoom on 2D mode #7280

Answered by glughi
aclel asked this question in Q&A
Sep 25, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @aclel , you should edit the layerOptions in the Leaflet.ts file and add maxZoom:

const layerOptions = {
  maxZoom: 25,
  bounds: clippingRectangle && rectangleToLatLngBounds(clippingRectangle)
};

This change will be used for all layers in Leaflet.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aclel
Comment options

Answer selected by aclel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants