[mapguide-users] RE: Session Extents

David Hequet david.hequet at free.fr
Wed Apr 25 11:26:12 EDT 2007


Yes, Data extent is the current view extent of the map.
Work fine with dwf viewer, not tried with ajax.



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
> 
> 

-- 
View this message in context: http://www.nabble.com/Session-Extents-tf3335349s16610.html#a10182917
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list