Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetCenter
GetExpandToFit
GetExtent
GetLayout
GetMap
GetMapPlotInstruction
GetPlotSpecification
GetScale
MgMapPlot
MgMapPlot
MgMapPlot
SetCenterAndScale
SetExtent
SetLayout
SetMap
SetMapPlotInstruction
SetPlotSpecification
void MgMapPlot::SetCenterAndScale | ( | MgCoordinate * | center,
|  | double | scale |
| ) |  |  |
Set the view center and scale of the map. .NET Syntax
`void SetCenterAndScale(MgCoordinate center, double scale);`
Java Syntax
`void SetCenterAndScale(MgCoordinate center, double scale);`
PHP Syntax
`void SetCenterAndScale(MgCoordinate center, double scale);`
  Parameters:
  | center | (MgCoordinate) The coordinates of the center of the view of the map.
  | scale | (double) The scale of the view of the map.
Returns: Nothing

Comments or suggestions? Send us feedback.