react-leaflet icon indicating copy to clipboard operation
react-leaflet copied to clipboard

TypeError: Cannot read properties of undefined (reading '_zoom')

Open dioggosoares opened this issue 1 year ago • 0 comments

Error on version 4

<MarkerClusterGroup removeOutsideVisibleBounds={true} maxClusterRadius={45} chunkedLoading > { units?.map((unit) => { return ( <Marker key={unit.unitId} position={[Number(unit.latitude), Number(unit.longitude)] ?? [0, 0]} icon={createMarkerCustomIcon(unit.unitStatus)} title={unit.unitStatus} /> ) }) } </MarkerClusterGroup>

dioggosoares avatar Mar 16 '23 00:03 dioggosoares