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

2010-05-17 Thread Ivan Miličević
Try with google.com

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of SriRam007
Sent: Monday, May 17, 2010 11:32 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Re: ZOOM To Full Extent Of Layer


Hi,

I m using Sql Server 2008,

I dont have much knowledge about FDO.

Can u please post some useful links about FDO so that i can catch what u r
saying (ie. via FDO how can i do this)


thanks

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/ZOOM-To-Full-Extent-Of-Layer-tp5039820p5064294.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2010-05-17 Thread SriRam007

Hi,

I m using Sql Server 2008,

I dont have much knowledge about FDO.

Can u please post some useful links about FDO so that i can catch what u r
saying (ie. via FDO how can i do this)


thanks

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/ZOOM-To-Full-Extent-Of-Layer-tp5039820p5064294.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2010-05-15 Thread Zac Spitzer
sure but you can also do that via FDO which is database independant

On 15 May 2010 18:24, siva4gis  wrote:
>
> Hi,
>
>
> If you are using oracle, then oracle can give MBR value for a particular
> selection so by using that you can view extent.
>
> AppMembers.Query =
> QueryBuilder.Select("SDO_GEOM.SDO_MBR(st.geometry).Get_WKT() MBR",
> strTableName + " st", "st." + strColumnName + " ='" + strColumnValue + "'");
>
>
>
> --
> Siva
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/ZOOM-To-Full-Extent-Of-Layer-tp5039820p5058538.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2010-05-15 Thread siva4gis

Hi,


If you are using oracle, then oracle can give MBR value for a particular
selection so by using that you can view extent.

AppMembers.Query =
QueryBuilder.Select("SDO_GEOM.SDO_MBR(st.geometry).Get_WKT() MBR",
strTableName + " st", "st." + strColumnName + " ='" + strColumnValue + "'");



--
Siva
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/ZOOM-To-Full-Extent-Of-Layer-tp5039820p5058538.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2010-05-13 Thread SriRam007

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.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users