Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Converting MapwinGIS into DotSpatial

$
0
0
1 and 3 - there is only scalebar in print layout dialog. That dialog can be accessed from File -> "Print Layout..." button. In that dialog you also can view current map scale - you need to select Map element and check properties window.

2 - Check DemoMap.exe source code - StatusBarCoordinates.cs
basically code to get coordinates looks something like this:
 Map.GeoMouseMove += Map_GeoMouseMove;


    private void Map_GeoMouseMove(object sender, GeoMouseArgs e)
        {
            xPanel.Caption = String.Format("X: {0:.#####}", e.GeographicLocation.X);
            yPanel.Caption = String.Format("Y: {0:.#####}", e.GeographicLocation.Y);
        }
    }

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>