Given a new Silverlight project targeting .Net Framework 4 with references to Telerik.Windows.Controls, Telerik.Windows.Controls.DataVisualization and Telerik.Windows.Data (build 2011.1.404.1040).
MainPage.xaml:
From zoom 16..20 the rectangle is sliding across the map, leaving the road. How can i stop this?
MainPage.xaml:
<
UserControl
x:Class
=
"SilverlightMapDemoTelerikForum.MainPage"
xmlns:layer
=
"clr-namespace:Telerik.Windows.Controls.Map;assembly=Telerik.Windows.Controls.DataVisualization"
xmlns:map
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"
mc:Ignorable
=
"d"
>
<
Grid
>
<
map:RadMap
Center
=
"44.361404418945312,25.968851089477539"
ZoomLevel
=
"20"
>
<
map:RadMap.Provider
>
<
layer:OpenStreetMapProvider
/>
</
map:RadMap.Provider
>
<
layer:InformationLayer
>
<
Grid
layer:MapLayer.Location
=
"44.361404418945312,25.968851089477539"
>
<
Rectangle
x:Name
=
"PART_Frog"
Fill
=
"Blue"
Width
=
"4"
Height
=
"4"
/>
<
layer:MapLayer.HotSpot
>
<
layer:HotSpot
X
=
"0.5"
Y
=
"0.5"
ElementName
=
"PART_Frog"
/>
</
layer:MapLayer.HotSpot
>
</
Grid
>
<
layer:MapPolygon
Points
=
"44.361404418945312,25.968851089477539 45,25.968851089477539 44.361404418945312,26 "
Stroke
=
"Red"
StrokeThickness
=
"1"
/>
</
layer:InformationLayer
>
</
map:RadMap
>
</
Grid
>
</
UserControl
>
From zoom 16..20 the rectangle is sliding across the map, leaving the road. How can i stop this?