1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<!DOCTYPE html>
<html>
<head>
<title>Geocoding - Address search</title>
<!-- include Leaflet libraries -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
</head>
<body>
<b>Address:</b>
<div><input id="address" type="text"></input></div>
<div id="map" style="height:300px; width:700px; margin-top: 10px;"/>
<script src="index.js"></script>
</body>
</html>