mapbox / mapbox/mapbox-annotation-extension

Relationship between AnnotationController and StyleAnnotations.

Open
#56 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Objective-C
Stars
11
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I have a question regarding the relationship between a controller and its annotations. Does every annotation need its own controller or is it best practice to manage multiple annotation using one controller?

In case of the latter how do we group the annotations for a controller? Of course you should create a MGLSymbolStyleAnnotation for a MGLSymbolAnnotationController but do you add all symbols to one controller (even if you want to display different types of symbols)?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Review the annotation controller and style annotation API documentation, then clarify whether annotations should be grouped by controller and whether different symbol types can share one controller; done means publishing an unambiguous answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.