使用偏移同步视图

问题描述 投票:1回答:1

为多个OpenLayers地图分配相同的视图会产生跨地图更新的同步视图(例如,当用户平移或缩放时)。我想让地图的视图同步,但有一个偏移量。通过在地图上重新使用视图,这仍然可以吗?或者我自己必须处理这些事件?

使用相同的视图与使用OpenLayers文档(bindTo)中描述的https://openlayersbook.github.io/ch03-charting-the-map-class/example-05.html方法有什么区别?

openlayers openlayers-3
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.