0
A
回答
0
您可以創建一個託管總覽圖另一個HTML元素,把它無論你想,並創建一個新的地圖,將與同中心的視圖,但不同的縮放級別。
那麼你會聽的第一張地圖上的事件moveend並更改第二個它後面的觀點:
yourFirstMap.on('moveend', function(evt){
yourSecondMap.getView().setCenter(yourFirstMap.getView().getCenter());
});
相關問題
- 1. Openlayers 3:添加文本標籤功能
- 2. 將圖像添加到概覽
- 3. 使用TurfJS「合併」功能在OpenLayers 3中添加GeoJSON圖層
- 4. 在使用500個功能進行平移時,OpenLayers 3中的性能下降
- 5. 的OpenLayers 3 - 刪除功能
- 6. 的OpenLayers 3高亮功能
- 7. 將FixedZoomLevels圖層OpenLayers 2.13.1遷移到OpenLayers 3
- 8. OpenLayers 3:平鋪圖像層的每層平移
- 9. Openlayers 3 + GeoJson選擇功能
- 10. Openlayers 3:動畫點功能
- 11. 在OpenLayers中將功能從一個位置移動到另一個位置3
- 12. 將SQL形狀添加到OpenLayers 3地圖
- 13. 獲取功能陣列中的OpenLayers 3
- 14. 更新OpenLayers中的功能樣式3
- 15. 概述sublimetext的功能3
- 16. D3將懸停功能添加到平面圖層
- 17. 向drupal 7 openlayers添加更多功能
- 18. 使用Openlayers 3刷新功能3
- 19. 在OpenLayers中關閉圖像平滑3
- 20. 添加圖片到Openlayers中的問題
- 21. 試圖將功能添加到MvcHandler
- 22. 將自動完成功能添加到Bootstrap中的Wide Searchbar 3
- 23. 加載和解析geojson多點功能到openlayers 3
- 24. OpenLayers 3 - 將選擇功能綁定到複選框
- 25. 將功能添加到ToggleButton,
- 26. 將功能添加到servlet
- 27. 的OpenLayers 3移除繪製的地圖
- 28. 添加JavaScript功能到Rails 3
- 29. openlayers在矢量圖層上添加最新功能
- 30. Openlayers 3功能標籤背景
尚未。我打算爲此功能創建一個插件。 –