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

Display custom map and set custom coordinate system

1 Answer 84 Views
Map
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 14 Oct 2019, 08:49 AM

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?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 17 Oct 2019, 08:21 AM

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.
Tags
Map
Asked by
Andy
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or