[mapguide-internals] DWF viewer legend access

doggybs james.slater at keynetix.com
Thu Sep 11 12:46:36 EDT 2008


Hi,

I've managed to work around this problem by finding current width / hight of
the visible map area, using MgMap.DataExtent.Width, MgMap.DataExtent.Height.

But it would still be useful to know if there is anyway of getting a handle
on map legend?

Thanks.


doggybs wrote:
> 
> Hi There,
> 
> Basically I'm trying to zoom the map to a set width, but to calculate this
> correctly so my target width is scaled in the viewable map area I need to
> know the width of the legend.
> 
> Does anyone know how I can get the current width of the legend from the
> DWF viewer. 
> 
> Thanks.
> 

-- 
View this message in context: http://www.nabble.com/DWF-viewer-legend-access-tp19436610p19439256.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.



More information about the mapguide-internals mailing list