各位大佬,MapControl添加对象选中监听器(addGeometrySelectedListener)后,打开矢量图层选中其中的图斑,没有进到
geometrySelected方法中,图斑无法选中,之前图斑是可以选中的,但是最近重新申请试用许可后,图斑无法选中。请问还需要做些什么配置吗?
mMapControl!!.addGeometrySelectedListener(object : GeometrySelectedListener {
override fun geometrySelected(event: GeometrySelectedEvent) {
}
// mMapControl!!.appointEditGeometry(event.geometryID, event.layer)
}
override fun geometryMultiSelected(events: ArrayList<GeometrySelectedEvent>) {
mulselect = events
}
override fun geometryMultiSelectedCount(p0: Int) {
}
})