[mapguide-users] Re: ZOOM To Full Extent Of Layer

SriRam007 binod_tripathy at yahoo.co.in
Thu May 13 03:34:35 EDT 2010


Hi,

As Kenneth has said 
-->by getting the extent, we can zoom to the extent. 
OR
-->Another solution is to select all the features in the temp layer (if they
are selectable), 
and the execute zoomToSelection. 

I have already done the second one.

I have selected all the features in the temp layer and then using the below
line i m zooming

parent.parent.SetSelectionXML('<%=Session["selectionXML"]%>'); 
parent.parent.mapFrame.ExecuteMapAction(10);

BUT

My Layer is not zooming to the full extent.
All the features are displaying within the mapframe but still so many space
are there around.
It is not using the whole mapframe.


thanks





-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ZOOM-To-Full-Extent-Of-Layer-tp5039820p5045056.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list