AnsweredAssumed Answered

Select event of the Geocoder dijit not triggered on mobile

Question asked by greenkarmic on Mar 18, 2015
Latest reply on Mar 23, 2015 by greenkarmic

I added a select listener for my Geocoder dijit so that when the user selects a result, an handler function is called to do some work. It works perfectly on Desktop, but on Android or iOS the event is not triggered. Should I be able to use the select event on mobile devices ? I am using version 3.13 of the API. If not, is there a workaround ?

 

Thanks

 

Code snipet:

            this.searchAddressGeocoder = new Geocoder({
               arcgisGeocoder: {
                  url: this.config.geocoderService.url,
                  outFields: "*",
                  searchExtent: new Extent(this.config.initialExtent),
                  sourceCountry: "CAN"
               },
               autoComplete: true,
               autoNavigate: false,
               geocoderMenu: true,
               map: this.map,
               maxLocations: 6,
               minCharacters: 3,
               searchDelay: 0,                                                   // milliseconds
               theme: "simpleGeocoder",
               onSelect: lang.hitch(this, this.onGeocoderAddressSelect)
            }, "searchAddress-geocoder");

Outcomes