I am working on projections with my map application.
Now that I know how to convert to the correct Lat/Lon coordinates when in meters for map units things are getting closer.
However I am still having issues when zooming in (always zooms in to 0,0 no matter where I want to zoom in.
I do not have this issue when the map is in degrees, and as far as I can tell none of the zooming happens in my code. I do have some extra custom zoom levels setup.
Here is my code for when I enable zoom mode:
Map.ExtentOverlay.DoubleLeftClickMode = MapDoubleClickMode.ZoomIn;
OnyxMap.ExtentOverlay.TrackZoomInKey = (Key)MapMouseButton.Left;
Map panning also has some issues where I cannot pan the map either, maybe my restrict extent is the cause since I set it in degrees? Should I reset to Meters values in this case and flip everytime the projection changes or is there an easier way?