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

MapShape.Shape is internal.

2 Answers 56 Views
Map
This is a migrated thread and some comments may be shown as answers.
Clint Singer
Top achievements
Rank 1
Clint Singer asked on 24 Nov 2009, 07:03 PM
Hi,

I am trying to make my own MapLayer derived class (bypassing InformationLayer and DynamicLayer) and I would like to use the MapShapes in the toolkit.  Unfortunately I can't access the MapShape.Shape property because it is internal which makes it difficult to work with.  Ideally it should be at least public readonly.

Cheers,
Clint

2 Answers, 1 is accepted

Sort by
0
Clint Singer
Top achievements
Rank 1
answered on 24 Nov 2009, 07:34 PM
I also noticed that MapControl is a internal property on the MapShape control but I am not sure why that is nor what is used for.

It appears that these methods are necessary for custom layers to resolve what they are trying to arrange.

Cheers,
Clint
0
Andrey
Telerik team
answered on 26 Nov 2009, 11:35 AM
Hi Clint Singer,

Unfortunately you can't use MapShapes OUTSIDE the InformationLayer. If you'd like use them in your own layer then you MUST inherit from InformationLayer. MapShapes are configured by the InformationLayer.

The MapControl property is used for internal calculation purposes. It is set by the InformationLayer.

I am afraid we do not plan to expose MapShape.Shape property publicly, because it would caused a lot of misunderstanding and problems.

Sincerely,
Andre Murzov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Map
Asked by
Clint Singer
Top achievements
Rank 1
Answers by
Clint Singer
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or