How to disable popups on query results layer?

2880
5
Jump to solution
09-28-2015 05:05 AM
MihkelMänna
Occasional Contributor

I have substantially configured the content and design of my Feature Layer popups, so I would want to disable the popups that appear after clicking on the query result symbols. I have managed to disable popups appearing when selecting a query result from the results window but I haven't figured out a way to disable them when clicking the results on the map.

Does anybody have any suggestions for me?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Mihkel,

  The query widget adds the infoTemplate to the results feature at line 1565:

feature.setInfoTemplate(infoTemplate);

View solution in original post

5 Replies
RobertScheitlin__GISP
MVP Emeritus

Mihkel,

  The query widget adds the infoTemplate to the results feature at line 1565:

feature.setInfoTemplate(infoTemplate);

MihkelMänna
Occasional Contributor

Wow! This was really easy! Thanks for the quick reply, Robert!

0 Kudos
DaveOrlando
Occasional Contributor III

Thanks for this,

Can you show how you did it when clicking in the results window.

Thanks

0 Kudos
MihkelMänna
Occasional Contributor

Dave,

The infoWindow is shown at line 1662:

this.map.infoWindow.show(centerPoint);

DaveOrlando
Occasional Contributor III

love it when it's simple,

thanks!

0 Kudos