[mapguide-users] Map Extents

Andy Morsell amorsell at spatialgis.com
Thu Jun 8 13:19:48 EDT 2006


Using the viewer API, could you use a combination of GetCenter() and
GetMapWidth() and GetMapHeight() and then calculate it?  It would be nice if
there was a GetMapBounds() or something that returned an array of the 4
corner coordinates. 


Andy 

-----Original Message-----
From: Juan Butler [mailto:jpbutler at pinellascounty.org] 
Sent: Thursday, June 08, 2006 9:49 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Map Extents


Sorry if this is a repost, but I didn't see it appear in the list.  
Something is going on with my email system here at work.

 Has anyone been able to grab the CURRENT map extent of the map window?  
I've tried multiple ways, but it comes back with the full extent of the map
each time and not getting the current coordinates.   Any help is
appreciated.

- Juan

--
View this message in context:
http://www.nabble.com/Map-Extents-t1756260.html#a4776283
Sent from the OSGeo MapGuide forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org







More information about the Mapguide-users mailing list