MapPolygon ZoomRange

2 posts, 0 answers
  1. Hans
    Hans avatar
    1 posts
    Member since:
    Mar 2012

    Posted 10 Mar 2012 Link to this post


    I'm try to customize salesdashboard demo.

    i want to set zone areas zoom works on ellipse but it doesnt work on mappolygon. Is it possible to do this ? if possible where i'm doing wrong.

    <DataTemplate x:Key="AreaTemplate">
                        <telerik:MapPolygon Fill="{Binding Fill}"
                                            Stroke="{Binding Stroke}"
                                            StrokeThickness="{Binding StrokeThickness}"
                                            Points="{Binding Points}"
                                            telerik:MapLayer.Location="{Binding Center}"

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 14 Mar 2012 Link to this post

    Hi Hans,

    1. You can not use the telerik:MapLayer.Location property with map shape objects (MapPolygon, MapPolyline and so on). It will not work. Coordinates of the map shape object are controlled by its properties like Points for MapPolygon.

    2. The telerik:MapLayer.ZoomRange property is currently not supported when the map shape (MapPolygon, MapPolyline, and so on) is used as data template. We will change it in the future releases of the RadMap control. You can check when this feature will be available using our PITS:

    Andrey Murzov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top