src/sidebar/Layers.js
// Sends call to Sidebar to delete selected layer, when delete button is clicked.
Sends call to Sidebar to delete selected layer, when delete button is clicked.
Sends call to Sidebar to delete selected layer when delete button is clicked .
deleteLayer(){
    var delete_layer_key= ($('li.active').attr('id'));
    deleteLayerCall(delete_layer_key)
    this.setState({
      selected_layer: null
    })
  }
deleteLayer ( ) { var delete_layer_key = ( $ ( 'li.active' ) . attr ( 'id' ) ) ; deleteLayerCall ( delete_layer_key ) this . setState ( { selected_layer : null } ) }
Sends call to Sidebar to delete selected layer, when delete button is clicked.
Sends call to Sidebar to delete selected layer when delete button is clicked .