MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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.