Newer
Older
2021-yuuji / popup-click.html
@HIROSE Yuuji HIROSE Yuuji on 27 Aug 2021 594 bytes Add fetch() sample
<!DOCTYPE html>
<html lang="ja">
<head>
<link rel="stylesheet" href="https://www.yatex.org/libcache/leaflet-1.7.1/leaflet.css" />
<script src="https://www.yatex.org/libcache/leaflet-1.7.1/leaflet.js"></script>
<style>
div#hogemap {width: 90vw; height: 80vh; margin: 0 auto;}
</style>
</head>
<body>
<h1>Map</h1>
<p>クリックすると足される地点の情報: <input id="foo" name="foo"></p>
<p>SHIFT押しマーカークリックで削除</p>
<pre id="json"></pre>
<div id="hogemap">
	
</div>
<script type="text/javascript" src="popup-click.js" charset="utf-8">
</script>
</body>
</html>