Skip to content

Add stylable marker view - #563

Merged
bsudekum merged 1 commit into
masterfrom
fred-stylable-markerview
Aug 30, 2017
Merged

bsudekum merged 1 commit into
masterfrom
fred-stylable-markerview

Conversation

@frederoni

Copy link
Copy Markdown
Contributor

Added a stylable marker view. This view is not yet being used.

screenshot 2017-08-29 19 22 20

@bsudekum @mayagao 👀

@bsudekum bsudekum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is then consumed via annotation viewFor? Why not have this live one level up in the project consuming navigation?

@bsudekum

Copy link
Copy Markdown
Contributor

@1ec5 how do you feel about this? The goal here is to move more into the Style class.

@mayagao

mayagao commented Aug 30, 2017

Copy link
Copy Markdown

screen shot 2017-08-30 at 12 56 30 pm

@frederoni could we add a little white circle in the middle?

@frederoni

Copy link
Copy Markdown
Contributor Author

@1ec5 @bsudekum
If you want animations or a completely different marker view, you'd still want to implement viewFor:. This is just a convenient way to change the tint color, stroke color and shadow of the default marker.

@frederoni
frederoni force-pushed the fred-stylable-markerview branch from de8d1da to a034acb Compare August 30, 2017 17:46
@frederoni

Copy link
Copy Markdown
Contributor Author

@mayagao

Here's the most recent with the inner circle:

screenshot 2017-08-30 13 47 10

@bsudekum
bsudekum merged commit 622dc4c into master Aug 30, 2017
@bsudekum
bsudekum deleted the fred-stylable-markerview branch August 30, 2017 20:42
@1ec5

1ec5 commented Aug 31, 2017

Copy link
Copy Markdown
Contributor

@frederoni, would you mind upstreaming this work to the map SDK? mapbox/mapbox-gl-native#2250

@ericrwolfe ericrwolfe modified the milestone: v0.7.0-5 Sep 6, 2017
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.

5 participants