Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 Google Maps API v3 获取点击标记的图块编号(x、y、z)。
几乎没有可用的文档讨论这个问题。我该怎么开始?
map.getProjection()
pixelCoordinateX = parseInt(worldCoordinateX * Math.pow(2, zoom), 10)
x = parseInt(pixelCoordinateX / 256, 10)
请参阅Google Maps API Reference 中的地图类型概念。