简体   繁体   中英

Disable vector wrapping in ol3 >= v3.5.0

I just upgraded to ol3 v3.5.0 in the application I'm developing. I noticed that now, vector features are shown in each "wrapped map" (dunno how to call it), which is very nice!

Is there a way to disable this, though ? In a tool I developed, I manipulate some browser event coordinates on dragged vector features. This only works in the main "map", but not in the others.

Thanks !

在源代码上使用wrapX false请参阅: http ://openlayers.org/en/v3.5.0/apidoc/ol.source.Vector.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM