Overriding drawing methods

Ryan

Greetings, we are looking to purchase Telerik and one big thing we are looking to do is override drawing methods on the map.

For instance, we have 1000 polygons with 2000 points each. I need to be able to override the draw method to make it much more efficient. (example - do not draw if boundaries are not within the viewing area or cut out points if they do not change the shape). Is this possible with the map control?

Thanks for your assistance and kudos on many well done controls.

Ryan

Andrey

Unfortunately it is not possible to override draw method on the information layer. But actually it is not necessary. The things you've described can be implemented without it. For example, using DynamicLayer you can show only shapes which are in the viewing area. You also can optimize your shapes by removing unnecessary points before passing them to the dynamic layer.
If you use a shape-file, then you might try to simplify it for improve the performance with this online tool:http://mapshaper.com/test/MapShaper.swf

I have attached a sample solution which uses the DynamicLayer with map shapes.
I hope it helps.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.