lolob

Modify Identify Dijit

Discussion created by lolob on Apr 21, 2010
Latest reply on Apr 26, 2010 by gschiopu
Hope someone able to guide me on this one.

I'm trying to modify Identify Dijit (code gallery example) and add a button so that the identify dijit is activated only once a button is clicked.And deactivate identify dijit when the deactivate button is click.

I also had tried to change this line 'dojo.connect(this.map, "onClick", this._mapClickHandler')' to this line 'dojo.connect(this.toolbar, "onDrawEnd", this._mapClickHandler)'. I'm trying to use 'draw toolbar' for map point instead of 'map onclick' method.But failed.Does anyone have a good example I can follow.Thank you.

This is the link http://fmrs.remotesensing.gov.my/dev/identify/usage1.html

Outcomes