vue-leaflet/Vue2Leaflet

minNativeZoom and maxNativeZoom

开放

#389 创建于 2019年5月8日

 (14 条评论) (3 个反应) (0 位负责人)JavaScript (380 个派生)batch import
bugconfirmedhelp wanted

仓库指标

星标
 (1,942 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南