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

LocationRect.Zoomlevel problem

1 Answer 72 Views
Map
This is a migrated thread and some comments may be shown as answers.
LE DREAU Steeve
Top achievements
Rank 1
LE DREAU Steeve asked on 24 Jun 2011, 01:43 PM
Hi,

I have a problem using LocationRect.Zoomlevel. 
When creating a LocationRect with these properties :
Northwest = {49,416667;0,233333}
Southeast = {42,702122;9,451289}
Zoom level value is always 1 instead of being about 6.

Did I forgot something or else ?

Thanks

Regards
Steeve

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 28 Jun 2011, 02:49 PM
Hello LE DREAU Steeve,

You should assign LocationRect.MapControl property. Then it will be able to calculate ZoomLevel property.

Best regards,
Andre Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
LE DREAU Steeve
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or