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

Equivalent of SL RadMap SetView

2 Answers 37 Views
Map
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 30 Jul 2015, 04:41 PM

I'm trying to make my map automatically zoom in on the part where I'm displaying data.  

I can calculate a rectangle which contains all the points I care about.  That's what I would need for the Silverlight RadMap's SetView method, but I haven't been able to find anything equivalent to SetView for the Kendo Map.  

Is there a way to get it to zoom to a rectangle?

2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 03 Aug 2015, 08:59 AM
Hi,

The map extent method should be the equivalent method in the Kendo UI Map.

I hope this helps.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Matt
Top achievements
Rank 1
answered on 03 Aug 2015, 08:45 PM
Thanks.  That's all I needed.
Tags
Map
Asked by
Matt
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Matt
Top achievements
Rank 1
Share this question
or