2
votes

In looking through all of the Apple MapKit documentation, the only "standard" annotation Views I could find were the following:

Are there any other standard Annotation Views that Apple provides? Do they provide one with just a dot? Or a Dot with text?

1
You are totally correct there are only to annotation views, but you can easily create your own.rckoenes
Technically, MKAnnotationView is the base class and MKPinAnnotationView is the only "standard" ready-made subclass of MKAnnotationView that draws anything ready-made for you (a "pin").user467105
@Anna The MKAnnotationView, while a base class, can also be used to present a static image. So I put it in the same category as an "out-of-the-box" annotation view.John Fowler
@JohnFowler, Yes, as long as you set its image property or add some subview otherwise, it will be invisible.user467105

1 Answers

3
votes

Those are the only two provided by Apple. You can, of course, create your own. See the documentation:

Defining a Custom Annotation View

If a static image is insufficient for representing your annotation, you can subclass MKAnnotationView and draw content dynamically in one of the following two ways:

  • Continue to use the image property of MKAnnotationView, but change the image at regular intervals.
  • Override the annotation view’s drawRect: method and draw your content dynamically every time.

...