Hi,
My application is built on a homegrown GIS system which is slowly getting migrated over piece by piece to your control. I can rotate shape files successfully to reflect magnetic declination thanks to a previous forum answer. The problem is I have a layer which is not in the ThinkGeo control and is a WPF canvas which gets text drawn on to it. I am using the following code to get the world coordinates and then translate those to screen coordinates in order to position them properly. This has been working great up until I hit the need to apply the magnetic declination.
Dim
projCoords
As
Vertex = _projection.ConvertToExternalProjection(pd.Longitude, pd.Latitude)
Dim
screenCoordinates
As
PointShape = Map.ToScreenCoordinate(projCoords.X, projCoords.Y)
How do I go about using the rotate projection on the coordinates to get the correct position?
Thank you!
Best,
Kevin