[mapguide-users] Custom command button behaviour (Ajax viewer)
gingerbbm
stuart.jones at jacobs.com
Fri Aug 22 10:28:14 EDT 2008
Dear all
I've successfully added a custom command to a toolbar in the Ajax Viewer
using MapGuide Studio 2009. The tool is a polygon redline tool that performs
an "Invoke Script" action: the user plots their polygon using
DigitizePolygon() and in the callback I send the points to a server script.
That all works.
I'd like the button to appear selected (as with the built-in tools such as
"Select Polygon") until a different tool is chosen, but this isn't happening
by default. Is there a JavaScript flag or something I need to set for this?
Thanks
Stuart
--
View this message in context: http://n2.nabble.com/Custom-command-button-behaviour-%28Ajax-viewer%29-tp759660p759660.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list