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

[core] Fix updates of line and fill annotations - #6185

Merged
jfirebaugh merged 1 commit into
masterfrom
5844
Aug 29, 2016
Merged

jfirebaugh merged 1 commit into
masterfrom
5844

Conversation

@jfirebaugh

Copy link
Copy Markdown
Contributor

Fixes #5844.

There were two issues:

  • The "remove-and-readd" logic was neglecting to account for obsoleteShapeAnnotationLayers, causing updates to remove the style layer.
  • {Fill,Line}AnnotationImpl::updateStyle did not update the properties of previously-existing style layer.

cc @tobrun

@mention-bot

Copy link
Copy Markdown

@jfirebaugh, thanks for your PR! By analyzing this pull request, we identified @boundsj, @1ec5 and @incanus to be potential reviewers.

@tobrun

tobrun commented Aug 27, 2016

Copy link
Copy Markdown
Member

Tested and works great. Removing current workaround in #6187.

@tobrun tobrun modified the milestone: android-v4.2.0 Aug 28, 2016
@jfirebaugh
jfirebaugh merged commit e126dc3 into master Aug 29, 2016
@jfirebaugh
jfirebaugh deleted the 5844 branch August 29, 2016 15:09
@friedbunny friedbunny added Core The cross-platform C++ core, aka mbgl annotations Annotations on iOS and macOS or markers on Android labels Aug 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

annotations Annotations on iOS and macOS or markers on Android Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants