MapMouseLocationIndicator LocationFormat

3 posts, 1 answers
  1. Paul
    Paul avatar
    2 posts
    Member since:
    Aug 2011

    Posted 27 Nov 2011 Link to this post

    I want to change to format of the map mouse location indicator to decimal degrees.

    In the help it shows how to do this if the indicator is OUTSIDE the map control (

    I want to do this with the built-in indicator. How can I do this please?
  2. Answer
    Andrey avatar
    1681 posts

    Posted 30 Nov 2011 Link to this post

    Hi Paul,

    Unfortunately you can't change the format of the built-in mouse location indicator, but you can place the custom MapMouseLocationIndicator in the same location. The sample code is below:
    <UserControl x:Class="CustomMouseLocator.MainPage"
        d:DesignHeight="300" d:DesignWidth="700">
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadMap x:Name="radMap"
                    <telerik:OpenStreetMapProvider />
            <telerik:MapMouseLocationIndicator MapControl="{Binding ElementName=radMap}"
                                               HorizontalAlignment="Left" VerticalAlignment="Bottom"/>

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Luis
    Luis avatar
    4 posts
    Member since:
    Jan 2017

    Posted 08 Mar in reply to Andrey Link to this post

    And what would be the c# code behind this xaml to bind the decimal degrees?

Back to Top