CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/neilang/NAMapKit/v3.2.0/NAMapKit/NAPinAnnotation.h
accept-ranges: bytes
age: 0
date: Sun, 12 Oct 2025 13:47:59 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210088-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760276878.983362,VS0,VE1437
vary: Accept-Encoding
x-fastly-request-id: b7b6e98a945b7b4cdff123f841a59ffc07979eae
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"cacadefc4415117c667264b29e4f283ee8314b6f374573b8388988ba48021feb"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 6D5F:160514:269963:6118CA:68EBB18E
content-encoding: gzip
accept-ranges: bytes
date: Sun, 12 Oct 2025 13:47:59 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210043-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760276879.475148,VS0,VE329
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 5d77ea9985eaf1d2e2f855f63d0c6c803247cbc0
expires: Sun, 12 Oct 2025 13:52:59 GMT
source-age: 0
content-length: 412
//
// NAPinAnnotation.h
// NAMapKit
//
// Created by Neil Ang on 21/07/10.
// Copyright (c) 2010-14 neilang.com. All rights reserved.
//
#import "NAAnnotation.h"
typedef enum {
NAPinColorRed,
NAPinColorGreen,
NAPinColorPurple
} NAPinColor;
/**
* An annotation that looks like a pin.
*/
@interface NAPinAnnotation : NAAnnotation
/// Pin color.
@property (nonatomic, assign) NAPinColor color;
/// Pin title.
@property (nonatomic, copy) NSString *title;
/// Pin subtitle.
@property (nonatomic, copy) NSString *subtitle;
/// Callout view that appears when the pin is tapped.
@property (nonatomic, strong) UIButton *rightCalloutAccessoryView;
/// Create a new pin at a point on a map.
- (id)initWithPoint:(CGPoint)point;
@end