Geocoder Widget Bug Fix

Discussion created by RYANBOSLEY on Apr 3, 2015
Latest reply on Apr 7, 2015 by RYANBOSLEY

Hello WAB Dev Team,


Just FYI, I think it may be necessary to modify this line in the showResults method of the Geocoder widget. A subLayerId of 0 is falsy so the feature.infoTemplate end up being null and it's infoTemplate is not recognized. As a workaround I had to change the index of the subLayer with the infoTemplate so that it's subLayerId would be 1.