You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Utzel-Butzel thanks for the report. You're right, the documentation does say that Marker#togglePopup should return the Marker element, and right now it's returning nothing.
When creating a new marker and setting up a popup which will be immediately enabled via
togglePopup()
the created marker returns undefined.based on the Custom Marker Icons demo
mapbox-gl-js version:
v0.37.0
Steps to Trigger Behavior
Expected Behavior
Return the
var markerEl
Actual Behavior
returns undefined if
.togglePopup()
set otherwise it returns the correct elementThe text was updated successfully, but these errors were encountered: