[mapguide-users] Session Extents

Scott Hameister ScottH at mPower-tech.com
Fri Mar 2 15:48:44 EST 2007


Same extent as MapExtent

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Robert Bray
Sent: Friday, March 02, 2007 2:45 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Session Extents

Yes in theory, but I have not looked deeply enough into the code to see 
how it gets set. Initially it is set to the Map extent. Try it and see 
what you get back.

I guess a better name for this method would have been GetViewExtent()...

Bob

Scott Hameister wrote:
> Yes...is that what GetDataExtent is?
> 
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Robert Bray
> Sent: Friday, March 02, 2007 2:01 PM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] Session Extents
> 
> Scott,
> 
> What do you mean by session extents? E.g. do you mean the current 
> visible extent of the users map?
> 
> Bob
> 
> Scott Hameister wrote:
>> Isnt that the Overall Extents of the MapDefinition?
>>
>> -----Original Message-----
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul Spencer
>> Sent: Friday, March 02, 2007 1:39 PM
>> To: MapGuide Users Mail List
>> Subject: Re: [mapguide-users] Session Extents
>>
>> In php, I'm using:
>>
>> $extents = $map->GetMapExtent();
>> $oMin = $extents->GetLowerLeftCoordinate();
>> $oMax = $extents->GetUpperRightCoordinate();
>>
>> Cheers
>>
>> Paul
>>
>> On 2-Mar-07, at 2:13 PM, Scott Hameister wrote:
>>
>>> Help I'm having brain Blockage (I think)..
>>>
>>> ..I know how to get the extents of a map definition with the  
>>> WebServer API.
>>>
>>> .I want to know how to get the Current Sessions Extents instead  
>>> using the WebServer API.
>>>
>>> .I know I can do this with an FCGI call and reaching into the  
>>> ajaxviewer.but I really prefer to do this ServerSide..
>>>
>>> Anybody got help?
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> +-----------------------------------------------------------------+
>> |Paul Spencer                          pspencer at dmsolutions.ca    |
>> +-----------------------------------------------------------------+
>> |Chief Technology Officer                                         |
>> |DM Solutions Group Inc                http://www.dmsolutions.ca/ |
>> +-----------------------------------------------------------------+
>>
>>
>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list