react-leaflet-cluster-layer
Version:
A custom layer for react-leaflet that makes plotting and clustering react components simple
24 lines (23 loc) • 582 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>React-Leaflet examples</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.2/normalize.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css">
<style>
h1, h2, p {
text-align: center;
}
.leaflet-container {
height: 500px;
width: 80%;
margin: 0 auto;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="/build/app.js"></script>
</body>
</html>