0.3.5 • Published 4 years ago

react-leaflet-make-cluster-group v0.3.5

Weekly downloads
6
License
-
Repository
github
Last release
4 years ago

This plug-in is a library that can use clusters in react-leaflet.

This is a working version of react-leaflet-markercluster in "react-leaflet": "2.6.3", "leaflet": "1.6.0"

sample

Install "react-leaflet": "2.6.3", "leaflet": "1.6.0"

usage

import MarkerClusterGroup from 'leaflet-make-cluster-group'

import 'leaflet-make-cluster-group/LeafletMakeCluster.css'

<MarkerClusterGroup>

                            <Marker

                                position={[37.2411, 127.1776]}
                                icon={cell_phone}

                            >
                                <Popup>용인 jessica.</Popup>
                            </Marker>
                            <Marker
                                position={[37.5665, 126.9780]}
                                icon={cell_phone}
                            >
                                <Popup>seoul WeWork.</Popup>
                            </Marker>
                            <Marker

                                position={[37.3947, 127.1112]}
                                icon={cell_phone}

                            >
                                <Popup>성남 고경준.</Popup>
                            </Marker>
</MarkerClusterGroup>

made with love ❤ ^^