MapCtrlZoomToBoundingBox Method (BoundingBox, Int32) |
Namespace: Telogis.GeoBase
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the buffer is negative, or greater than half the map width. |
BoundingBox theBox = new BoundingBox(new LatLon(34, -118)); mapMain.ZoomToBoundingBox(theBox, 10); mapMain.Invalidate();