JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css">
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
 <div id="map" style="width: 600px; height: 400px"></div>

JavaScript

var map = L.map('map').setView([30, 118], 4);
L.tileLayer('http://webapi.amap.com/maps?v=1.4.4&key=d18b93e90e48f141c6cad87090767dc3&plugin=AMap.Geocoder', {
    subdomains: ["emap1", "emap2", "emap3"]
    }).addTo(map);