Our clients typically import data into our application using known coordinate systems, such as UTM. However, now we need to add support for unknown, arbitrary coordinate systems (we won't show an underlying basemap). I am struggling with this. My understanding is I should use an EmptyProvider and the EPSG900913Projection. I have several issues, but the first is the Center. In your Mercator (meters) example, the Center is set using meters:
Center="296247.258782387,426130.145788193"
However, when I create a blank project and set the Center using meters, the value contained in the center is still in decimal degrees:
moMap.Center = New Location(5643603, 2559429)
Printing moMap.Center shows the following:
{85.05112878,180}
CalculationMethod: ""
Description: ""
Empty: {-Infinity,-Infinity}
IsEmpty: False
Latitude: 85.05112878
Longitude: 180.0
What am I doing wrong? Once working, will all the other map methods and properties return values in meters instead of degrees, too?
Center="296247.258782387,426130.145788193"
However, when I create a blank project and set the Center using meters, the value contained in the center is still in decimal degrees:
moMap.Center = New Location(5643603, 2559429)
Printing moMap.Center shows the following:
{85.05112878,180}
CalculationMethod: ""
Description: ""
Empty: {-Infinity,-Infinity}
IsEmpty: False
Latitude: 85.05112878
Longitude: 180.0
What am I doing wrong? Once working, will all the other map methods and properties return values in meters instead of degrees, too?