Skip to content

Commit

Permalink
enable icon overlapping
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeZ123 committed Aug 19, 2024
1 parent 353c829 commit 902f590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/map/addClusters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const addClusters = (map: Map, geoJsonUsers: GeoJsonUsers) => {
layout: {
"icon-image": "rider-marker",
"icon-size": 0.35,
"icon-allow-overlap": true,
},
});
// Layer for Driver markers
Expand All @@ -93,6 +94,7 @@ const addClusters = (map: Map, geoJsonUsers: GeoJsonUsers) => {
layout: {
"icon-image": "driver-marker",
"icon-size": 1,
"icon-allow-overlap": true,
},
});
});
Expand Down

0 comments on commit 902f590

Please sign in to comment.