OpenLayers经纬度投影转瓦片ID

level 精度等级

resolution 每级精度

tileSize 256×256

origin (-180,90)

tileX=(longtitude+180)/(resolution*256);

tileY=(90-latitude)/(resolution*256);

转载自:https://blog.csdn.net/yaoyutian/article/details/81029287

You may also like...