Skip to content

iconCreateFunction does NOT work when adding Markers with leafletProxy #440

Closed

Activity

  1. jellegrammens commented on Aug 1, 2017

    @jellegrammens

    anybody knows a work-around for this? Facing the same issue.

  2. miccou commented on Oct 31, 2018

    @miccou

    +1 also faced with this issue

  3. miccou commented on Nov 29, 2018

    @miccou

    I wanted to control the iconCreateFunction to remove the colour coding from markers, so instead of green/yellow/orange, they were all grey.

    I found I could achieve this CSS:

    .marker-cluster {
    	background-color: rgba(12, 12, 12, 0.7) !important;
    	color: black;
    }
    
    .marker-cluster div {
    	background-color: rgba(255, 255, 255, 0.85) !important;
    	color: black;
    }
    

    This is for styling only, but may help some people. I'd prefer to have more control over the function still.

  4. aavanesy commented on Aug 21, 2020

    @aavanesy

    Please update us on this.

  5. jcheng5 commented on Aug 21, 2020

    @jcheng5
    Member

    Duplicate of #420

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions