Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Create
Create
GetDataExtent
GetDisplayDpi
GetDisplayHeight
GetDisplayWidth
GetFiniteDisplayScaleAt
GetFiniteDisplayScaleCount
GetLayerGroups
GetLayers
GetMapDefinition
GetMapExtent
GetMapSRS
GetName
GetObjectId
GetSessionId
GetViewCenter
GetViewScale
MgMapBase
Open
virtual INT32 MgMapBase::GetDisplayWidth | ( |  | ) | `[virtual]`
Returns the current width of the map display in pixels. Remarks: The width must be set by the client using the SETDISPLAYWIDTH command as part of a GetMap or GetMapUpdate HTTP request. .NET Syntax
`int GetDisplayWidth();`
Java Syntax
`int GetDisplayWidth();`
PHP Syntax
`int GetDisplayWidth();`
Returns: Returns the width of the map display in pixels.

Comments or suggestions? Send us feedback.