code: function(t,e){
  // Default the options
  e=e||{suppressEvents:!1,fitBounds:!1};
  // Check to see if a change is being applied
  var i=null!=this._filterState?this._getGeo(this._filterState.type,this._filterState.shape):void 0;
  // If there is no change, then we're just going to short circuit out of here
  if(!this._toolbar.equals(i,t)){if(null!=t){
  // Clear the old filter
  this._clearFilter(!0);
  // Ask the handler for the filter object
  var o=this._toolbar.setFilter(t,e.suppressEvents);
  // Create the new filter
  this._createFilter(o,e.suppressEvents),e.fitBounds&&this._map.fitBounds(o.layer.getBounds())}else this._clearFilter();return this}}
docs: Public method to programatically set the state of the filter