[mapguide-users] Re: help with Getmapimage

Jackie Ng jumpinjackie at gmail.com
Mon Feb 21 06:04:12 EST 2011


The MgSelection class representing your selection has a GetExtents() method.

This returns the bounding box of your selection. Do some math involving the
width/height of this bbox with your MgMap's display parameters (sorry the
math to convert map space to screen space escapes me at the moment. Somebody
else could chime in here) to get the correct parameters to send to your
GETMAPIMAGE call.

- Jackie
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/help-with-Getmapimage-tp6048188p6048290.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list