JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>

<a href="#" class="delete">удалить маркеры</a>

<div id="map" tabindex="0" data-lat="51.67204" data-lon="39.1843" data-size="12"></div>

CSS

body {
  padding: 0;
  margin: 0;
  font-family: Helvetica;
}

html,
body,
#map {
  height: 100%;
  width: 100vw;
}

a.delete {
  display: block;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  color: #000;
  background: #fff;
}

JavaScript

$(function() {

  // Получаем данные для карты из html
  var data_lat = $('#map').data('lat');
  var data_lon = $('#map').data('lon');
  var data_size = $('#map').data('size');


  // Создаем карту
  var mymap = L.map('map').setView([data_lat, data_lon], data_size);
  L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
    maxZoom: 18,
    attribution: '<a href="https://www.openstreetmap.org/">OpenStreetMap</a>'
  }).addTo(mymap);


	// Маркеры
	var marker_1 = L.marker([51.6693, 39.2051]),
  		marker_2 = L.marker([51.6659, 39.1992]),
      marker_3 = L.marker([51.6609, 39.1902]);
  
  
  // Добавляем маркеры на карту
  L.featureGroup([marker_1, marker_2, marker_3]).addTo(mymap);


	$(document).on('click', '.delete', function(e){
		L.featureGroup([marker_1, marker_2, marker_3]).remove();
    L.featureGroup([marker_1, marker_2, marker_3]).remove(mymap);
		return false;
	});


});