Skip to content

Commit

Permalink
fix(markers): add markers method
Browse files Browse the repository at this point in the history
  • Loading branch information
themustafaomar committed Sep 28, 2023
1 parent e6fab94 commit a59cc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class Map {

addMarkers(config) {
config = Array.isArray(config) ? config : [config]
this._createMarkers([config], true)
this._createMarkers(config, true)
}

removeMarkers(markers) {
Expand Down

0 comments on commit a59cc39

Please sign in to comment.