Skip to content

Add colors description #3

Description

@karam-mustafa

On the map page, we want to display such as a panner to describe the meaning of each color that is mapped here

        let iconUrl ='https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png';
        let color = 'green'
        if(item.type == 1){
            iconUrl = 'https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png';
            color = 'red'
        }
        if(item.type >= 2 || item.typeKey <= 7 ){
            iconUrl = 'https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-yellow.png';
            color = 'yellow'
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions