function zoomToFeatureByID(aqtag){
  var val = aqtag;
  var lyr = returnLayerByAttribute(lyrLocalAQ,'AQUIFER_NUMBER',val);
  if (lyr) {
      if (lyrSearch) {
          lyrSearch.remove();
      }
      lyrSearch = L.geoJSON(lyr.toGeoJSON(), {style:{color:'blue', weight:10, fillOpacity:0, opacity:0.6}}).addTo(map);
      map.fitBounds(lyr.getBounds().pad(0.05));
  } else {
      //let the user know the feature was not found somehow.
      console.log("**** Project ID not found ****");
  }
}
//function to zoom to feature when search box event fires or button event
function to zoom to feature when search box event fires or button event
function to zoom to feature when search box event fires or button event
function zoomToFeatureByID(aqtag){
  var val = aqtag;
  var lyr = returnLayerByAttribute(lyrLocalAQ,'AQUIFER_NUMBER',val);
  if (lyr) {
      if (lyrSearch) {
          lyrSearch.remove();
      }
      lyrSearch = L.geoJSON(lyr.toGeoJSON(), {style:{color:'blue', weight:10, fillOpacity:0, opacity:0.6}}).addTo(map);
      map.fitBounds(lyr.getBounds().pad(0.05));
  } else {
      console.log("**** Project ID not found ****");
  }
}
function zoomToFeatureByID ( aqtag ) { var val = aqtag ; var lyr = returnLayerByAttribute ( lyrLocalAQ , 'AQUIFER_NUMBER' , val ) ; if ( lyr ) { if ( lyrSearch ) { lyrSearch . remove ( ) ; } lyrSearch = L . geoJSON ( lyr . toGeoJSON ( ) , { style : { color : 'blue' , weight : 10 , fillOpacity : 0 , opacity : 0.6 } } ) . addTo ( map ) ; map . fitBounds ( lyr . getBounds ( ) . pad ( 0.05 ) ) ; } else { console . log ( "**** Project ID not found ****" ) ; } }
function to zoom to feature when search box event fires or button event
function to zoom to feature when search box event fires or button event
//let the user know the feature was not found somehow.