-
Notifications
You must be signed in to change notification settings - Fork 379
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
minNativeZoom and maxNativeZoom #389
Comments
@nawalnew Could you show a piece of the code on how you are passing |
@DonNicoJs Thanks for reply. Ive tried it in "l-map" options too. Both no effect
|
@nawalnew thanks for the code, will investigate this soon. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm having issues getting maxNativeZoom to be a recognized/passed parameter in Vue2Leaflet l-tile-layer object also. Seems to pass maxZoom without problem, but not maxNativeZoom. |
I had no issues with: <l-tile-layer
:url="url"
:attribution="attribution"
:options="{ maxNativeZoom: 18, maxZoom: 100 }"
/> And then setting maxZoom as an option on the |
When using these settings, the tiles disappear (grey screen) for me when zooming past the default maximum... |
I'm also blocking by this and I would like to give it a try and work in a PR, but I'm very new to Vue so any help or direction would be great. Any idea about where should I look? LMap.vue? optionsMerge? |
Ok, not a bug at all. I move To be clear: |
I've included these three settings in |
what are news to issue above |
Hi @christopherritter and @cristobalcl, Were you able to find a solution to use maxNativeZoom with Vue2Leaflet ? thanks in advance |
Hello @Mayki00, yes, as I said in my previous message the solution for me was to move that configuration inside the layer configuration ( |
Perfect, thank you, it works for me now ;-)
with mapOptions :
|
Description
I need to set a different minZoom for mobile devices. "minNativeZoom" is not working with Vue2Leaflet. Any advices?
Steps to Reproduce
Because at zomm level 3 the map shows Gray Borders left and right I had to do minZoom to 3.5.
On Mobile I need at least minZoom 2.0.
Ive ried the minNativeZoom in the options, but no success.
Expected Results
When setting minNativeZoom to 2 it should be more visible map on mobile
Actual Results
No Effect.
Browsers Affected
Chrome
Firefox
Edge
Safari 9
Safari 8
IE 11
Chrome Mobile
Safari Mobile
The text was updated successfully, but these errors were encountered: