Select to view content in your preferred language

Highlight and show infoTemplate at the same time how please?

1978
11
05-13-2014 06:31 PM
ryannz
by
Deactivated User
Hello everyone, I am new to this ArcGIS api, so please be patient. I am trying to create a search functionality with the popup. Something similar to this post:

http://forums.arcgis.com/threads/95347-InfoTemplate

I downloaded this but the code doesn't work. Not sure why. So here is what I want to achieve. I have set up the map and add featurelayer to the map. I have a search textbox and when I searched, the line is highlighted however, the infotemplate doesn't show up until I clicked on the line. How can I highlight the line and show the infoTemplate popup at the same time when I click on search button (without clicking on the map)?

If you have links that I could refer to, please share with me.

Thanks
0 Kudos
11 Replies
ryannz
by
Deactivated User
Your hypothetical use case is exactly what I am trying to do. Lol. He would be pissed off. Haha.

Will come back and mark this as answer when I found a solution.

Thanks
0 Kudos
JonathanUihlein
Esri Regular Contributor
Your hypothetical use case is exactly what I am trying to do. Lol. He would be pissed off. Haha.

Will come back and mark this as answer when I found a solution.

Thanks


No problem and no worries! That developer probably doesn't work directly on the API 😉

If you are still having trouble with your application after a few days, make a detailed post with as much information as you can and I will do my best to help, time permitting.

Best wishes!
0 Kudos