| MGMap.getMapExtent |
|
MGExtentEx getMapExtent(boolean forCurrentView, boolean useMcs)
Gets the extents for the map or current map view.
Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" chapter in the Autodesk MapGuide Developer's Guide.
forCurrentView - A boolean value representing the type of extents to return. If this value is True, getMapExtent returns the extents for the current view. If it is False, getMapExtent returns the extents for the entire map as it was created in Autodesk MapGuide Author.
useMcs - A boolean value representing the type of coordinates to be returned. If this value is True, coordinates are returned in the Mapping Coordinate System (MCS). If it is False, coordinates are returned as lat/lon values.
MGExtentEx - An MGExtentEx object containing the requested extents.
-1 (busy)