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

Clear InformationLayer.Items before adding MapShapes problem.

3 Answers 71 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, 08:00 PM
Hi,

I have run into an issue when using the InformationLayer.  I am adding some MapPolygons to the the InformationLayer object and I noticed that if I call .Items.Clear() before adding new MapShapes to the .Items collection, they won't draw on the screen until I interactive with the map like pan or zoom.

If I don't call .Items.Clear() before adding my MapShapes the control properly redraws and the shapes show up without having to pan or zoom the map.

Cheers,
Clint

3 Answers, 1 is accepted

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

Thank you for the information. We were able to reproduce the problem. We will fix it in the Q3 SP1 release.

Regards,
Andrey 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.
0
Clint Singer
Top achievements
Rank 1
answered on 28 Nov 2009, 12:31 AM
Hi,

In your 11.27 release notes it states "Fixed an issue when dynamically adding MapShape objects to the InformationLayer" and I was wondering if it was related the issue that I raised in this thread.  If it is then I will have to report that the problem doesn't appear to be fixed.  When I call clear before adding polygons to my .Items collection they won't show up until I pan or zoom the map.

Cheers,
Clint
0
Andrey
Telerik team
answered on 01 Dec 2009, 11:39 AM
Hi Clint Singer,

The 11.27 internal build fixes other type of problem with dynamic adding MapShape objects to the InformationLayer. The problem you described will be fixed in the next internal build.

Kind regards,
Andrey 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
Andrey
Telerik team
Clint Singer
Top achievements
Rank 1
Share this question
or