Search and Default Editor

4888
22
Jump to solution
12-04-2015 08:36 AM
RickeyFight
MVP Regular Contributor

I am getting a weird result when I search for a location.

I have the Editor widget  and Search basic combined.

When I search for a location, I can zoom to it. Then when I click on any other point to edit it, I get this result:

Has anyone dealt with this?

i think I am looking for a way to clear search when I click anywhere not the search point.

Even when I clear the search bar I still cannot click on a point to edit:

0 Kudos
22 Replies
RobertScheitlin__GISP
MVP Emeritus

Rickey,

  This is the only error I get (you must have changed something):

Also the refresh interval on your layers is overkill and is impacting the apps performance.

example.jpg

RickeyFight
MVP Regular Contributor

Robert,

I just recopied the code you provided into the link above.

I am still getting the same error.

Thank you for looking at this.

0 Kudos
RickeyFight
MVP Regular Contributor

Robert!

I figured out a way around it!!!!!

      var search = new Search({ 
        map: map,
  enableButtonMode: true,
  enableInfoWindow: false,
  enableHighlight: false,
  enableLabel: false
      }, "search"); 
      search.startup(); 

I stopped the Infowindow from opening which is why it was not working in the first place.

Since I answered the question I will make mine as correct but thank you so much for the help through this process!

0 Kudos