Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap marker setIcon execute in try/catch to avoid crash in host app #529

Merged
merged 1 commit into from Aug 30, 2015

Conversation

webprofusion-chrisc
Copy link
Contributor

Markers may be invalidated and bitmaps disposed after the initial marker has been created, this can result in a fatal IllegalArgumentException. The exception can cause the host cordova app to crash therefore catching it (and warning via Log) is necessary.

Markers may be invalidated and bitmaps disposed after the initial marker has been created, this can result in a fatal IllegalArgumentException. The exception can cause the host cordova app to crash therefore catching it (and warning via Log) is necessary.
@hirbod
Copy link
Contributor

hirbod commented Jul 9, 2015

Very good. @wf9a5m75 I'd like to merge this one here.

hirbod pushed a commit that referenced this pull request Aug 30, 2015
Wrap marker setIcon execute in try/catch to avoid crash in host app
@hirbod hirbod merged commit 2d8bd04 into mapsplugin:master Aug 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants