Web API Reference
MapGuide Open Source
Main Page
Modules
Namespaces
Classes
Files
MgMap
Create
Create
GetDataExtent
GetDisplayDpi
GetDisplayHeight
GetDisplayWidth
GetFiniteDisplayScaleAt
GetFiniteDisplayScaleCount
GetLayerGroups
GetLayers
GetMapDefinition
GetMapExtent
GetMapSRS
GetName
GetObjectId
GetSessionId
GetViewCenter
GetViewScale
MgMap
Open
MgEnvelope
* MgMap::GetMapExtent
(
)
Returns the the overall extent of the map.
.Net Syntax
MgEnvelope
GetMapExtent()
;
Java Syntax
MgEnvelope
GetMapExtent()
;
PHP Syntax
MgEnvelope
GetMapExtent()
;
Returns:
Returns an
MgEnvelope
that defines the overall extent of the map.
Example (PHP)
See
MgMap Class
.