Skip to content

Float thumbnail image over Leaflet.IconMaterial map marker #3

Description

@ModelEarth

Hi, we're using Leaflet.IconMaterial in an office map app that has images of people floating over their desk locations. For people without photos, we let them choose a Material Design icon. They also choose the color of their marker which we set with your plugin. For people with photos, we'd like to float their photo over the color marker.

Could you add a parameter for placing a div over a material marker? Or document how to float an image over a marker. Then we can include a person thumbnail in the div using ::after. We'll use border-radius: 100% to make the thumbnail round - so it fits within the inverted teardrop marker. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions