如何在 d3-geo-tile 和 ArcGIS 中将地图从 256 块大小迁移到 512 块
How to migrate map from tile size 256 to 512 in d3-geo-tile and ArcGIS
我们使用 d3-map-tile 和 ArcGIS 服务开发了一张地图,其瓦片大小为 256X256。我们能够渲染地图并正确绘制经纬度。
现在我们必须移动到 service,其中图块大小为 512X512。仅通过更改服务,lat-long 的渲染无法正常工作。
谁能告诉我如何在我现有的代码中做到这一点。除了服务我还需要改变什么?
严格来说(截至 2017 年 8 月),没有。大小在 tile 模块中是固定的:
Computes the set of 256x256 quadtree tiles to display given the
current layout extent, scale and translate. (API docs)
迈克说:
It currently is limited to 256 [px] (discussion)
然而,巧合的是,正在努力解决多种磁贴尺寸的问题。
有关使用可能实现的示例,请参阅讨论 here. In fact, it seems that a possible implementation has been developed, see this thread, and this block。
我们使用 d3-map-tile 和 ArcGIS 服务开发了一张地图,其瓦片大小为 256X256。我们能够渲染地图并正确绘制经纬度。
现在我们必须移动到 service,其中图块大小为 512X512。仅通过更改服务,lat-long 的渲染无法正常工作。
谁能告诉我如何在我现有的代码中做到这一点。除了服务我还需要改变什么?
严格来说(截至 2017 年 8 月),没有。大小在 tile 模块中是固定的:
Computes the set of 256x256 quadtree tiles to display given the current layout extent, scale and translate. (API docs)
迈克说:
It currently is limited to 256 [px] (discussion)
然而,巧合的是,正在努力解决多种磁贴尺寸的问题。
有关使用可能实现的示例,请参阅讨论 here. In fact, it seems that a possible implementation has been developed, see this thread, and this block。