Try to use ExecuteMapAction() i make like this: -> create function whit ex. ExecuteMapAction(7) --> zoom then cal it in onload event. http://mapguide.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html maciek