Select to view content in your preferred language

How to disable popups on query results layer?

3109
5
Jump to solution
09-28-2015 05:05 AM
MihkelMänna
Frequent 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
Frequent Contributor

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

0 Kudos
DaveOrlando
Frequent Contributor

Thanks for this,

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

Thanks

0 Kudos
MihkelMänna
Frequent Contributor

Dave,

The infoWindow is shown at line 1662:

this.map.infoWindow.show(centerPoint);

DaveOrlando
Frequent Contributor

love it when it's simple,

thanks!

0 Kudos