Robert Scheitlin, GISP
Hi Robert,
You helped me before with this same question for version 2.0. Now I'm trying to upgrade my app to 2.1 and the query widget doesn't look the same anymore.
_onResultsTableClicked function no longer exists in this new version for me to insert your codes in.
Could you please help me again ? Sorry I'm not much of a developer. Thank you Robert!
- /*RJS - start edits*/
- //this.map.infoWindow.show(centerPoint);
- if (this.wManager) {
- var widgetCfg = this._getWidgetConfig('Edit');
- if(widgetCfg){
- this.wManager.triggerWidgetOpen(widgetCfg.id).then(lang.hitch(this, function(widget){
- setTimeout(lang.hitch(this, function(){
- var mpPt = feature.geometry;
- var scrPt = this.map.toScreen(mpPt);
- this.map.emit("click", { bubbles: true, cancelable: true, screenPoint: scrPt, mapPoint: mpPt });
- }), 1000);
- }));
- }
- }
- /*RJS - end Edits*/