-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support maxNativeZoom #108
Comments
Support for But, this This GIS StackExchange answer looks promising to me: Can you try to use the Plugin docs: |
I'd tried this already and unfortunately no dice. What did seem to work though was overriding the request function to intercept the XHR to load the /VectorTileServer?f=json url and truncating the returned json response.tileInfo.lods down. Obviously monkeypatching the request like I resorted to is a bit iffie, but I imaging doing the same logic as it loads the metadata would be fairly straightforward. |
@nvx can you give us a public jsbin/codepen/etc. to look at this? Can you tell us more about the
|
I think this will actually be resolved by #166 when we start looking at |
Most layers in leaflet support setting maxNativeZoom to allow combining layers that have different maximum zoom levels in the one map. It looks like the L.esri.Vector.vectorTileLayer layer unfortunately doesn't support this option though.
The text was updated successfully, but these errors were encountered: