Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Lib doesn't allow to add any other custom views to map #26

Open
gerchicov-bp opened this issue Dec 9, 2019 · 0 comments
Open

Lib doesn't allow to add any other custom views to map #26

gerchicov-bp opened this issue Dec 9, 2019 · 0 comments
Assignees

Comments

@gerchicov-bp
Copy link

https://github.com/okhanokbay/MapViewPlus/blob/72a7f331e42d539eef0b3b40016e2f8400d495e4/MapViewPlus/Classes/Source/MapViewPlus.swift

guard subview is CalloutAndAnchorView else { return }

You should replace return with continue otherwise it sometimes doesn't deselect the annotation views if sees any other type of subviews.

P.S. Decided to rewrite your library because 50% of it meet our customer requirements only. Starting with removing of protocols with extra obligated methods.

@okhanokbay okhanokbay self-assigned this Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants