コード例 #1
0
        private void BtnMeasureClick(object sender, EventArgs e)
        {
            const string filename = GridConstants.SCRIPT_DATA + @"General\MapWindow-Projects\UnitedStates\Shapefiles\states.shp";

            MapHelper.StartMeasureingTool(optDistance.Checked ? tkMeasuringType.MeasureDistance : tkMeasuringType.MeasureArea, filename);
        }
コード例 #2
0
 private void BtnTestProjectionClick(object sender, EventArgs e)
 {
     MapHelper.CheckProjection();
 }