Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Icon; where other properties? #10

@Daniil-Pabolkov

Description

@Daniil-Pabolkov

I look it: https://github.com/2gis/2gis-maps-react/blob/master/src/Icon.js
In the setIcon method I see the next code:

DG.icon({
    iconUrl: this.props.iconUrl,
    iconSize: this.props.iconSize
})

Where other properties? For example: I don't see iconAnchor property, but it's so much important.

Maybe, have make sense change setIcon method body to this.props.element.setIcon(DG.icon({...this.props}));

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