Skip to content

mapObject not accessible in L.GeoJson in IE11 #372

Open
@sstenn

Description

@sstenn

Description

I'm making a map with a line that changes after click. All works fine in Chrome, Safari, Firefox and Edge, but not in IE11.

The LGeoJson is stored as ref="line"

<l-geo-json ref="line" :geojson="line" :options-style="options"></l-geo-json>

In my method I want to access the line like this.$refs.line.getBounds(), the ref exists but has no .mapObject or getBounds() in IE11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmedIssue is accepted as either a bug or a valid enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions