AnsweredAssumed Answered

Leaflet Esri Geocoding search w/ GeoJSON layers

Question asked by on Mar 13, 2017
Latest reply on Mar 13, 2017 by JGravois-esristaff

I'm updating a leaflet app, it uses the L.esri.Geocoding.geosearch control, and beyond the geocoding it searches two featureServices. Now I have the requirement to search a geoJson layer. I've been unable to find a method to do this. The leaflet search works well for the GeoJson but not the featureLayers. Any ideas to avoid having two search controls on my map?