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 double MgMapBase::GetViewScale
(
)
[virtual]
Gets the current scale of the map.
.NET Syntax
double
GetViewScale()
;
Java Syntax
double
GetViewScale()
;
PHP Syntax
double
GetViewScale()
;
Returns:
Returns a double that specifies the scale of the map.
Comments or suggestions? Send us
feedback
.