Skip to content

Drawing a circle doesn't show up in IE11 #612

Open

Description

Circle isn't appearing in IE11, but works in every other browser. Trying to implement a radius search feature.

Any ideas why this might be occurring? I've seen other fiddles, and they seem to implement Circle properly. I think the drawing of the circle is registered, since it shows up in my elements, but I can't actually see the circle nor does it get highlighted by the Inspect Element highlighter.

addCircle = (lat, lng, radius, map) => {
        if (this.circle) {
            map.removeLayer(this.circle);
        }
        this.circle = L.circle([lat, lng], radius, {className: 'mapSearchCircle'});
        this.circle.addTo(map);
    };
    doneDrawingCircle = () => {
        this.drawing = false;
        this.setState({alert: true});
        this.circle.on('click', this.circleClicked.bind(this));
    };

I don't believe there's nothing going on with styles or anything.

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions