Leaflet / Leaflet

🍃 JavaScript library for mobile-friendly interactive maps 🇺🇦
https://leafletjs.com
BSD 2-Clause "Simplified" License
40.62k stars 5.78k forks source link

The map has white graticule lines leaflet1.20 #5972

Closed langfengac closed 6 years ago

langfengac commented 6 years ago

System: windows 10 Enterprise Edition Browser chrome: version 63.0.3239.84 (official version) (64-bit) If the monitor is enlarged to 125% There will be white grid lines on the map The 1.2 version will have a white line of checkered lines The 0.77 version does not have white line grid lines

System:macOS Sierra 10.12.6 Browser chrome: version 65.0.32294.5 (official version) (64-bit) Some Apple computers also have problems There will be white grid lines on the map The 1.2 version will have a white line of checkered lines The 0.77 version does not have white line grid lines

But using this tile there is no white grid lines https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk .eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw Other third-party maps will have, such as the world map, Google maps, high Germany map, Baidu map, mapbox maps, etc. will have a white grid lines For example: http://t{s}.tianditu.cn/ter_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=ter&tileMatrixSet=w&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles _20171218113224 _20171218113715

If you set "zoomDelta" and "zoomSnap" Then any time chrome will appear white line Help! Thanks !

cherniavskii commented 6 years ago

Duplicate of #3575