Can I edit a layer in a Blueprint? Like transparency, visibility, or adding and removing layers.
I tried using the Create Arc GisImage Layer with Properties function and it didn't work.
I don't know if I'm going in the wrong direction.
ArcGis->MapComponent->GetLayers,I can get an array, but I don't know how to convert each item to get the layer I want.
Solved! Go to Solution.
If you want to modify layers instead work with the layers list on the View. In other words MapComponent->GetView()->GetMap()->GetLayers
Get the Map Component, connect the Get Map() function, and use the GetLayers() function. At this point, we can get all the layers loaded. To get a specific layer, use the GetSize() function.
My method:
All layers: GetMapComponent() -> GetMap() ->GetLayers()
One layer: GetMapComponent() -> GetMap() ->GetLayers() ->At(Position)
I also have a problem: GetMapComponent() ->GetView()-> GetMap(), which can also get layers, so what the GetView() function does, I can't understand at the moment.
My fault . The example provided was found last night
How did you solve it ? I tried to get layers from map component and it's not working
Get the Map Component, connect the Get Map() function, and use the GetLayers() function. At this point, we can get all the layers loaded. To get a specific layer, use the GetSize() function.
My method:
All layers: GetMapComponent() -> GetMap() ->GetLayers()
One layer: GetMapComponent() -> GetMap() ->GetLayers() ->At(Position)
I also have a problem: GetMapComponent() ->GetView()-> GetMap(), which can also get layers, so what the GetView() function does, I can't understand at the moment.
If you want to modify layers instead work with the layers list on the View. In other words MapComponent->GetView()->GetMap()->GetLayers
是的,你是对的。此方法将获取图层。
We will try to clean up the api so it is more obvious where it needs to be changed.