kartena / Proj4Leaflet

Smooth Proj4js integration with Leaflet.
http://kartena.github.io/Proj4Leaflet/
BSD 2-Clause "Simplified" License
589 stars 173 forks source link

[bug] Pinch-zoom on mobile #135

Closed ktgis closed 7 years ago

ktgis commented 7 years ago

1. mobile browser

https://github.com/kartena/Proj4Leaflet/blob/master/examples/osm-tiled/index.html

2. zoom-control '-' button click

zoom

3. pinch-zoom in

Image of pinch

4.

zoom2

dekkiri commented 7 years ago

With this issue, It works fine on desktop browsers but it matters on mobile browser. You can reproduce same situation like below.

  1. Zoom out the map to the max zoom level('-' control disabled(gray))
  2. Pinch out the map again then the screen changes like picture above 4.

I've tried on device iOS, Android but the result is same.