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