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
STRING
MgMap::GetMapSRS
(
)
Gets the spatial reference system used to display this map.
.Net Syntax
string
GetMapSRS()
;
Java Syntax
String
GetMapSRS()
;
PHP Syntax
string
GetMapSRS()
;
Returns:
Returns the spatial reference system in the OpenGIS
WKT
(Well Known Text) format as a string.
Example (PHP)
See
MgMap Class
.