执行以下代码报错 DatasetVector datasetvector = (DatasetVector) layer.getDataset();
报错:java.lang.ClassCastException: com.supermap.data.DatasetImage cannot be cast to com.supermap.data.DatasetVector