• Hi,

    We want to be able to show and hide leaflet markers using their CSS classname however the iconClass shortcode attribute only adds the marker CSS class to markers using SVG icons, not markers using iconUrl attribute.

    Can you please add functionality to allow the iconClass attribute when using iconUrl attribute (or when using the default icon).

    Furthermore, when using the iconUrl or svg attribute, the leaflet-shadow-pane layer does not contain the corresponding shadow effect. Our pins are the same size as the default pin so we would very much like an option to allow the default shadow to still be rendered with the marker.

    Please advise.

    Many thanks,

    Oliver

  • The topic ‘Marker Class and Shadow’ is closed to new replies.