vue-leaflet/Vue2Leaflet

minNativeZoom and maxNativeZoom

Offen

#389 geöffnet am 08.05.2019

 (14 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)JavaScript (380 Forks)batch import
bugconfirmedhelp wanted

Repository-Metriken

Stars
 (1.942 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide