This is a migrated thread and some comments may be shown as answers.

Turning on labels for a layer that has a Reader

1 Answer 56 Views
Map
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 10 Jan 2011, 09:16 PM
var reader = new MapShapeReader();
reader.Source = new Uri(string.Format(RelativeUriFormat, ShapeExtension), UriKind.Relative);
reader.DataSource = new Uri(string.Format(RelativeUriFormat, DbfExtension), UriKind.Relative);
reader.ToolTipFormat = "Name";
return reader;

I am reading a standard shape file with the MapShapeReader control onto the telerik Map with the Bing Provider. I can readily set the the tool tip for the different shapes that get read by setting it with the property name. Is there a way to readily turn on the label for said read shapes instead of just a tool tip?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 13 Jan 2011, 01:38 PM
Hello Steven,

Unfortunately the current version of the RadMap control doesn't support automatic labels (captions) for map shape objects. We are planning to add this support in the future versions of our product. You can check its availability using our PITS:

http://www.telerik.com/support/pits.aspx#/public/silverlight/4603

As workaround you can try approach which is used in this example:

http://demos.telerik.com/silverlight/#Map/Hotel

This example shows additional text over the map polygon.
I hope this information gets you started properly.

Kind regards,
Andrey Murzov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Map
Asked by
Steven
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or