首页 / 浏览问题 / WebGIS / 问题详情
OpenLayers 设置multiWorld: true无效
9EXP 2023年03月13日

地图地址:https://iserver.supermap.io/iserver/services/map-world/rest/maps/World

设置multiWorld: true无效,只展示一个地图,左右拖动后边缘以外是空白;

  需求效果:

1个回答

您好!

如果需要实现图二的效果,您需要同时设置 multiWorld 和 wrapX 均为true。

示例参考:https://iclient.supermap.io/11.0.0/examples/openlayers/editor.html#01_tiledMapLayer4326

希望可以帮助到您!

李松
1
485EXP 2023年03月13日
...