Skip to content

Commit

Permalink
fix: add_marker don't default to the circle icon anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Nov 13, 2024
1 parent 3af789c commit ef7789b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- in `add_marker`, markers don't use the default icon anymore. Do
`use_marker_default_icon = True` in `add_marker` to recover the previous
behavior [#129]
- Fix wrapper `widget_should_be_loaded` that was over-writing the methods documentation
[#130]

Expand Down
1 change: 1 addition & 0 deletions js/models/message_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default class MessageHandler {
for (const marker of pythonMarkers) {
markers.push(
A.marker(marker["lon"], marker["lat"], {
useMarkerDefaultIcon: options["useMarkerDefaultIcon"] | false,
popupTitle: marker["title"],
popupDesc: marker["description"],
}),
Expand Down

0 comments on commit ef7789b

Please sign in to comment.