Coordinate Converters
By default all of built-in RadMap providers (Bing Maps, OpenStreetMap) use the standard Mercator projection. When reading shape files with different projections, then you can use a coordinate converter. To do this, set the CoordinateConverter
property of MapShapeReader
.
The RadMap contains two built-in converters which convert coordinates from EPSG:27700 and EPSG:3857 to EPSG:4326 projection.
- OSGB36Converter
- EPSG900913Converter
The converter (OSGB36Converter/ EPSG900913Converter) can be specified by setting it to the MapShapeReader.CoordinateConverter property.
Example 1: Setting CoordinateConverter property
Custom Coordinate Converter
The API of the RadMap allows you to use a custom coordinate converter by implementing the ICoordinateConverter interface.