Error in dynamicmap.js
: this._markerClick
is not a function
#49
Labels
Bug Report
Something isn't working
dynamicmap.js
: this._markerClick
is not a function
#49
I'm trying to initialize an info window in JavaScript, but it's not working correctly. In 4.1.1, the following code worked fine (simplified to relevant parts):
While this doesn't cause any errors, the info window doesn't open when the marker is clicked. I tried to attach an event listener to open it manually using the
markerClick
option, at which point I get the following error message in the console:Indeed it looks like the
_markerClick
function doesn't exist anymore indynamicmap.js
. I checked the JS file in 4.1.1, which still includes the _markerClick function. Regression bug?In addition to this bug, what is the 'correct' way to attach simple info windows to markers in 4.1.5?
The text was updated successfully, but these errors were encountered: