Display custom map and set custom coordinate system

2 posts, 0 answers
  1. Andy
    Andy avatar
    9 posts
    Member since:
    Sep 2019

    Posted 14 Oct Link to this post

    We are currently using a simple map component which allows us to load our "map" as a picture (.png). I would like to use the Telerik RadMap instead because you provide several features (virtualization, zooming, layers) which are only supported in a basic way by our current component. We are displaying industrial plant maps which could be represented in "GPS" coordinates however our systems are built to use a different coordinate system. The problem is that we do NOT use shape files, a global coordinate system or such things however the RadMap component is mostly built to be used like that. I tried to use the UriImageProvider which displays my map however I don't know how to configure my coordinate system.

    Our map has the following data:

    - map image (.png)

    - defined coordinate origin (-> e.g. bottom right of the image)

    - 1 Pixel = 20mm

    - drawings (polylines) based on coordinates located in a SQL DB

     

    Is it possible to use the RadMap for our purposes and if so how?
  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2240 posts

    Posted 17 Oct Link to this post

    Hello Andy,

    There are two approaches to achieve your requirement. The first one is to convert the coordinates of the elements (from your SQL DB) to Standard Mercator coordinates. 

    The second approach is to create a custom spatial reference by implementing the ISpatialReference interface and applying it to the SpatialReference property of RadMap.

    Regards,
    Martin Ivanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top