Questions tagged «select»

根据某些条件从数据库中选择数据。

2
如何取消选择Openlayers中的功能?
我可以使用以下几行来识别地图上的选定要素: vector_layer.selectedFeatures 我希望能够使用独立功能(而不是事件处理程序)取消选择此功能。我尝试使用函数unselect(),unselectAll()但未成功,找不到此方法的任何示例。 我知道单击所选对象可以用来unselect。在这种情况下,我需要一个编程解决方案。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.