Hi, if you look at GeoExt actions you can see a way to do this (i.e. the concept could be usable):
http://svn.geoext.org/core/trunk/geoext/lib/GeoExt/widgets/Action.js Best regards, Bart > Hi, > i'm working on a DojoToolkit project and i would like to have the controls > (like draw point, draw polyigon, etc) in a dojo-button. > is there an "easy" way to achieve that? > > Also i was looking for a way to "start an action programatically, that is, > somebody clicks my button and programtically i start the draw point > action. > > Thanks in advance for any ideas. > > -- > |----------------------------------------------------------- > | http://www.astracanada.net > | http://acuriousanimal.orggeo.net > |----------------------------------------------------------- > | http://acuriousanimal.blogspot.com > | http://theballoonproject.blogspot.com > |----------------------------------------------------------- > | _ __ > | /_| ( _ _/'_ _ > |( |. __)(//)//(/(/() > | _/ > |----------------------------------------------------------- > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users