Hello there, i have a Information layer with MapPath curves and the items are drawing fine, but i can't select that, but when i change the Information Layer on Visualization Layer, i can select the objects but there are not drawing.
6 Answers, 1 is accepted
Speaking generally, the VisualizationLayer is the newest visualization engine of the RadMap and we recommend using it over the other layers.
That said, I am uncertain what you mean by " i can select the objects but there are not drawing.". Can you check out the Items Selection article in our documentation and also the VisualizationLayerItemsSelection SDK example?
If the mentioned resources prove unhelpful, can you share some sample code of how the RadMap is setup and how the layer is populated with items?
I will need some more information in order to help you out further. Can you share some sample code showing how the RadMap is defined and also the way that the VisualizationLayer is populated? Additionally, you can elaborate on which Map Shape Data objects you are using. This will hopefully allow me to reproduce the same result on my end and investigate it.
For the time being, you can compare your approach with the one demonstrated in the VisualizationLayerItemsSelection SDK example.
I commit the my test project on guthub.
(The MapPath curves are not drawing, but i need select them, need solution for that)
The VisualizationLayer doesn't draw the TechMapPath shapes because they inherit the MapShape (MapPath) object. VisualizationLayer doesn't work with MapShape objects. Instead, you will need to use MapShapeData. You can read more about this in the Map Shape Data article.
In your case, you can replace the MapPath with PathData. I've updated your project to show this approach. I hope it helps.
As a side note, I would ask you to remove the Telerik dlls from the GitHub repository or replace them with a trial version, because the repo is public and the dlls are licensed.