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
Similar to the L.popup class it would be nice to provide methods like setContent and getContent for L.divIcon, for better implementation of custom icons. Also it would be nice to be able to set also DOM elements, instead of only a html string in L.divIcon.
The text was updated successfully, but these errors were encountered:
I'm not really sure this is a good idea - the code for L.Icon expects to have control over the HTMLElement of the icon, so it can be repositioned. While this is a good idea, I don't think implementation would be trivial.
Similar to the
L.popup
class it would be nice to provide methods likesetContent
andgetContent
forL.divIcon
, for better implementation of custom icons. Also it would be nice to be able to set also DOM elements, instead of only a html string inL.divIcon
.The text was updated successfully, but these errors were encountered: