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

[ASMapNode] Toggling liveMap on does not enable touches #1753

@george-gw

Description

@george-gw

Scenario:
1- Create ASMapNode
2- At some point during the app, toggle liveMap = true
3- Map does not receive touches
Solution:
when you set liveMap = true, set mapNode.userInteractionEnabled = true

Looking at the code, I saw that self.userInteractionEnabled = YES is only enabled in didLoad of ASMapNode when the node is created with liveMap = true, was there a reason for it to be that way rather than enabling and disabling it in addLiveMap and removeLiveMap respectively?

Metadata

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