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