![](/img/trans.png)
[英]Cant show my features in openlayers. Does someone know how to solve this?
[英]OpenLayers. New features doesn't select (multilayer)
這是一個例子: http : //jsfiddle.net/runixer/6FDQ3/12/
要重現此問題:在底部工具欄的幫助下繪制一些功能,並嘗試突出顯示它們。 只有最后(第三個)圖層上的要素才會突出顯示。 我覺得這個bug在我的代碼中,但我無法弄明白:(
似乎只有一個SelectFeature Control可以處於活動狀態: http : //lists.osgeo.org/pipermail/openlayers-users/2012-June/025307.html
解決方案是為所有矢量圖層使用一個SelectFeature: http : //jsfiddle.net/6FDQ3/13/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.