Web API Reference MapGuide Open Source
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.