// If MapUnit is Meter Map1.RestrictedExtent = new RectangleShape(-20037508, 20037508, 20037508, -20037508); // If MapUnit is DecimalDegree Map1.RestrictedExtent = new RectangleShape(-180, 180, 180, -180); -------------------------------------------------------------------------------