diff --git a/CHANGELOG.md b/CHANGELOG.md index c8c82a0..173ec1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/js/models/message_handler.js b/js/models/message_handler.js index 748b19d..97f30e4 100644 --- a/js/models/message_handler.js +++ b/js/models/message_handler.js @@ -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"], }),