Select to view content in your preferred language

Header Controller Locator Pop Up Question

2019
6
Jump to solution
10-28-2013 09:30 AM
JamesAgidius
Occasional Contributor
I am working on an application that uses a single map service, which contains only my parcels layer.

I have configured the locator in the Header Controller to use the map service for its search, and I am using a pop up on the Parcels layer to display info on click.

I have disabled the info window on the locator, by commenting out the
"infoWindowShow(resultPoint);"
line located at line 499 of the GeocoderComponent.mxml, as indicated by this thread http://forums.arcgis.com/threads/92976-How-to-make-geocoder-pop-up-a-graphic-symbol-instead-of-an-In...


Up to this point, everything seems to be working. when I use the locator, it zooms to my parcel which is highlighted as I want it, and the info window does not pop up.

But if I click on the highlighted parcel, it opens both the locator info window and the info on click pop up.

Is it possible to completely disable the info window so that it will not appear on a click? Or, alternatively, is it possible to configure the info window to show the same information as the info on click pop up (in the same format)?

I have managed to get the Header Locator info window to display the required information, but I cannot get it to look the same as results in the info on click pop up.

[ATTACH=CONFIG]28653[/ATTACH] info window

[ATTACH=CONFIG]28654[/ATTACH] pop up on click

as you can see from the top of the pop up window, both came up at the same time.

Thanks a ton!

-James
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
James,

   Just comment out line 469.

View solution in original post

0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
James,

   Just comment out line 469.
0 Kudos
by Anonymous User
Not applicable
Original User: jagidius

Brilliant! Thanks again!

-James
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   Glad it worked.

Now if you can mark your threads as answered that would be great. See step 1 on the below graphic:

0 Kudos
by Anonymous User
Not applicable
Original User: rscheitlin

James,

   You almost got it. The answer check goes on the post that answered your question and awards the person that answered your question with MVP points. Right now you have marked your original question post as the answer.
0 Kudos
by Anonymous User
Not applicable
Original User: jagidius

Hope that fixed it 🙂

Thanks Again!

-James
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   That got it, thanks.
0 Kudos