Web API Reference
MapGuide Open Source
Main Page
Modules
Namespaces
Classes
Files
MgMap
Create
Create
GetDataExtent
GetDisplayDpi
GetDisplayHeight
GetDisplayWidth
GetFiniteDisplayScaleAt
GetFiniteDisplayScaleCount
GetLayerGroups
GetLayers
GetMapDefinition
GetMapExtent
GetMapSRS
GetName
GetObjectId
GetSessionId
GetViewCenter
GetViewScale
MgMap
Open
double MgMap::GetViewScale
(
)
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.
Example (PHP)
See
MgMap Class
.