htoooth / Leaflet.ChineseTmsProviders

Provider for Chinese Tms Service
https://htoooth.github.io/Leaflet.ChineseTmsProviders/
MIT License
1.02k stars 303 forks source link

One row of tiles doesn't display every 16 rows on Tencent Satellite map #54

Open rppan opened 2 years ago

rppan commented 2 years ago
  1. Open the page https://htoooth.github.io/Leaflet.ChineseTmsProviders/examples/indexTencent.html
  2. The Tencent Satellite map is shown, leave all the settings as default,
  3. Do not change the default zoom level also,
  4. Hold down the left mouse button and pan the map one page up.

Then you will see one gray row on the map, the tiles on the row does't display correctly, by continue to pan the map up or down, you will see more gray rows, it seems that there have one row of tiles doesn't display every 16 rows. This issure only occurs on the Tentcent Satellite map.

Q910265444 commented 1 year ago

data.sy = (( 1 << data.z) - data.y - 1) >> 4 ; 修改这里