Arh... you have to call mapFrame.GetLegendCtrl()

Regards, Kenneth Skovhede, GEOGRAF A/S



Tom Chadwin skrev:
Hi Kenneth

Thanks for the reply. I know the description and diagram are in the
Developers' Guide, but the Legend Palette is not present in either the list
of frames or the diagram. Is it part of mapFrame? If so, it must be a frame
within it, since I believe that mapFrame.SetScale() throws an error.

Thanks

Tom



Kenneth Skovhede, GEOGRAF A/S wrote:
The viewer frame layout is described in the "MapGuide Developers Guide" on page 19:
http://mapguide.osgeo.org/2.0/documentation.html

Regards, Kenneth Skovhede, GEOGRAF A/S



Tom Chadwin skrev:
Hello

I cannot work out which frame contains the legend palette functions. I
want
to execute the Viewer API function SetScale from a script in the
scriptFrame, but cannot seem to get the path right.

Can anyone help?

Many thanks

Tom
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to