Skip to content

zoomToShowLayer fails after initial spiderfy. #286

@sharkinsspatial

Description

@sharkinsspatial

As referenced in issue #203 and pull request #228, after a cluster is initially spiderfied zoomToShowLayer fails if the view extent has been changed by a method which does not collapse the cluster (such as panTo) as the layer._icon is still present due to zoomToShowLayer. You can reproduce this issue with this fiddle by clicking 'Zoom to marker', then 'Cause issue' and the 'Zoom to marker' again. There seems to be a pretty simple fix similar to that in #228 but you mentioned in #203 that we might want to look at it more deeply.

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