Skip to content

Commit

Permalink
Fix Map visualization: L.layerGroup cannot compute its bounds (#4573)
Browse files Browse the repository at this point in the history
  • Loading branch information
kravets-levko authored and arikfr committed Jan 22, 2020
1 parent ff0dbd5 commit c92bb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/visualizations/map/initMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function createMarkerClusterGroup(color) {
function createMarkersLayer(options, { color, points }) {
const { classify, clusterMarkers, customizeMarkers } = options;

const result = clusterMarkers ? createMarkerClusterGroup(color) : L.layerGroup();
const result = clusterMarkers ? createMarkerClusterGroup(color) : L.featureGroup();

// create markers
each(points, ({ lat, lon, row }) => {
Expand Down

0 comments on commit c92bb63

Please sign in to comment.