I have a RadMap with many ellipse (created from EllipseData) and I would like to display text beside the left border of these ellipse.
I have been able to do something like this with a MapEllipseGeometry (that have a CaptionLocation) in an InformationLayer, but I wonder if it's possible to do this with ShapeData in VisualizationLayer.
4 Answers, 1 is accepted
Hi Abder Rezak,
The map shape data objects like the EllipseData do not support captions. You can use additional VisualizationLayer to display text over the ellipses.
I have attached a sample solution.
I hope it helps.
Thanks for the quick reply, I will try your solution.
I tried your solution but I think I have a problem with the bindings, they don't seems to work when I use ElementName.
I did some changes to your sample that represent what I'm trying to do :
I have also add the property "NiceRadius" in code behind and set the window name to "TheWindow".
Do you have any idea of what I did wrong ?
In fact the MapPathView class is the wrapper for the MapShapeData. Because of its specifics it does not support the binding of this type. You can use data binding to properties of your data item only.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.