RadMap shapefile

2 posts, 0 answers
  1. Karina
    Karina avatar
    1 posts
    Member since:
    Nov 2014

    Posted 25 Nov 2014 Link to this post

    After using the demo shapefiles world_continents, I ventured on using my own in my project. When I added my shapefiles the image rendered is completely different from the original. Do you know why this might be happening?    


            <telerikMap:RadMap Background="transparent">
                    <telerikMap:MapShapeLayer ShapeLabelAttributeName="ADMIN_NAME" IsSelectionEnabled="True">
                            <telerikMap:ShapefileDataSource SourceUriString="ms-appx:///Assets/MapFiles/b.shp"  DataSourceUriString="ms-appx:///Assets/MapFiles/b.dbf"/>
                    <telerikMap:MapPanAndZoomBehavior ZoomMode="ZoomToCenter" DoubleTapAction="Reset"/>

    P.S. both shapefiles are using Mercator projection and are in 2D
  2. Ivaylo Gergov
    Ivaylo Gergov avatar
    661 posts

    Posted 28 Nov 2014 Link to this post

    Hello Karina,

    Thank you for contacting us.

    It seems that your shapefile uses Spherical Mercator projection which describes its coordinates in meters while our RadMap supports Mercator Degrees coordinate system. In such you can use a converter to translate the coordinates. 

    Ivaylo Gergov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top