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

Custom pinpoint shift on higher zooms

1 Answer 31 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sorin Mecu
Top achievements
Rank 1
Sorin Mecu asked on 17 Jun 2011, 11:48 AM
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:
<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?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 21 Jun 2011, 04:41 PM
Hi Sorin Mecu,

Unfortunately we aren't able to reproduce the problem using your XAML and latest internal build of the RadMap control. We have a couple problems with HotSpot which have been fixed few weeks ago. Could you, please, test your application with latest internal build? 

Kind regards,
Andrey 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
Sorin Mecu
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or