-
The
See moreDingiAnnotationImage
class is responsible for presenting point-based annotations visually on a map view. Annotation image objects wrapUIImage
objects and may be recycled later and put into a reuse queue that is maintained by the map view.Declaration
Objective-C
@interface DingiAnnotationImage : NSObject <NSSecureCoding>
Swift
class DingiAnnotationImage : NSObject, NSSecureCoding
-
The
DingiAnnotationView
class is responsible for marking a point annotation with a view. Annotation views represent an annotation object, which is an object that corresponds to theDingiAnnotation
protocol. When an annotation’s geographic coordinate is visible in the map view, the map view asks its delegate to a corresponding annotation view. If an annotation view is created with a reuse identifier, the map view may recycle the view when it goes offscreen.Annotation views are compatible with UIKit, Core Animation, and other Cocoa Touch frameworks. On the other hand, if you do not need animation or interactivity such as dragging, you can use an
See moreDingiAnnotationImage
instead to conserve memory and optimize drawing performance.Declaration
Objective-C
@interface DingiAnnotationView : UIView <NSSecureCoding>
Swift
class DingiAnnotationView : UIView, NSSecureCoding
-
The DingiUserLocation class defines a specific type of annotation that identifies the user’s current location. You do not create instances of this class directly. Instead, you retrieve an existing
See moreDingiUserLocation
object from theuserLocation
property of the map view displayed in your application.Declaration
Objective-C
@interface DingiUserLocation : NSObject <DingiAnnotation, NSSecureCoding>
Swift
class DingiUserLocation : NSObject, DingiAnnotation, NSSecureCoding
-
View representing an
See moreDingiUserLocation
on screen.Declaration
Objective-C
@interface DingiUserLocationAnnotationView : DingiAnnotationView
Swift
class DingiUserLocationAnnotationView : DingiAnnotationView