Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgMapBase
Create
Create
GetDataExtent
GetDisplayDpi
GetDisplayHeight
GetDisplayWidth
GetFiniteDisplayScaleAt
GetFiniteDisplayScaleCount
GetLayerGroups
GetLayers
GetMapDefinition
GetMapExtent
GetMapSRS
GetName
GetObjectId
GetSessionId
GetViewCenter
GetViewScale
MgMapBase
Open
virtual
MgPoint
* MgMapBase::GetViewCenter
(
)
[virtual]
Gets the current center point of the map, in the spatial reference system of the map.
.NET Syntax
MgPoint
GetViewCenter()
;
Java Syntax
MgPoint
GetViewCenter()
;
PHP Syntax
MgPoint
GetViewCenter()
;
Returns:
Returns an
MgPoint
that specifies the center of the map.
Comments or suggestions? Send us
feedback
.