Skip to content

Commit

Permalink
feat: allow all styles in add markers (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgvozdenovic-edeja authored May 5, 2024
1 parent b3b8030 commit bb8366e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core/createMarkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function createMarkers(markers = {}, isRecentlyCreated = false) {
index,
map: this,
// Merge the `markerStyle` object with the marker config `style` if presented.
style: merge(this.params.markerStyle, { initial: config.style || {} }, true),
style: merge(this.params.markerStyle, { ...config.style || {} }, true),
label: this.params.labels && this.params.labels.markers,
labelsGroup: this._markerLabelsGroup,
cx: point.x,
Expand Down

0 comments on commit bb8366e

Please sign in to comment.