javascript版本提供OpenLayers.Control.SelectFeature.select,但Java/GWT版本不提供。
谢谢。
发布于 2013-11-20 20:09:40
您可以查看如何进行选择in this example
点击“查看源代码”按钮来获取源代码。
要以编程方式进行选择,您可以执行以下操作:
SelectFeature programmaticallySelectFeature = new SelectFeature(layer);
programmaticallySelectFeature.select(feature);https://stackoverflow.com/questions/16738839
复制相似问题