IScene scene = (IScene) axGlobeControl1.Globe; ILayerDescription layerDescription = (ILayerDescription)scene.Layer[0]; layerDescription.DefinitionExpression = "locationName='bar'"; ((IGlobeDisplayLayers2)axGlobeControl1.GlobeDisplay).RefreshLayer(layerDescription as ILayer);
Refresh problem after changing DefinitionExpression in arcgis engine C#
Using arcglobe in c#, it is found that it cannot be refreshed after changing the DefinitionExpression. At this time, the RefreshLayer method needs to be called
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327039751&siteId=291194637
Recommended
Ranking