@octane-xplat/macos-renderer 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,2125 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./AppKit.d.ts" />
|
|
3
|
+
/// <reference path="./Runtime.d.ts" />
|
|
4
|
+
/// <reference path="./Foundation.d.ts" />
|
|
5
|
+
/// <reference path="./CoreLocation.d.ts" />
|
|
6
|
+
|
|
7
|
+
declare const MKMapViewDefaultClusterAnnotationViewReuseIdentifier: string
|
|
8
|
+
|
|
9
|
+
declare const MKMapViewDefaultAnnotationViewReuseIdentifier: string
|
|
10
|
+
|
|
11
|
+
declare const MKAnnotationViewZPriorityDefaultSelected: number
|
|
12
|
+
|
|
13
|
+
declare const MKAnnotationViewZPriorityMax: number
|
|
14
|
+
|
|
15
|
+
declare const MKFeatureDisplayPriorityDefaultLow: number
|
|
16
|
+
|
|
17
|
+
declare const MKFeatureDisplayPriorityRequired: number
|
|
18
|
+
|
|
19
|
+
declare const MKPointsOfInterestRequestMaxRadius: number
|
|
20
|
+
|
|
21
|
+
declare const MKLaunchOptionsCameraKey: string
|
|
22
|
+
|
|
23
|
+
declare const MKLaunchOptionsMapSpanKey: string
|
|
24
|
+
|
|
25
|
+
declare const MKLaunchOptionsDirectionsModeTransit: string
|
|
26
|
+
|
|
27
|
+
declare const MKLaunchOptionsDirectionsModeWalking: string
|
|
28
|
+
|
|
29
|
+
declare const MKLaunchOptionsDirectionsModeDriving: string
|
|
30
|
+
|
|
31
|
+
declare const MKLaunchOptionsDirectionsModeDefault: string
|
|
32
|
+
|
|
33
|
+
declare const MKLaunchOptionsShowsTrafficKey: string
|
|
34
|
+
|
|
35
|
+
declare const MKLaunchOptionsMapTypeKey: string
|
|
36
|
+
|
|
37
|
+
declare const MKPointOfInterestCategoryZoo: string
|
|
38
|
+
|
|
39
|
+
declare const MKPointOfInterestCategoryWinery: string
|
|
40
|
+
|
|
41
|
+
declare const MKPointOfInterestCategoryTheater: string
|
|
42
|
+
|
|
43
|
+
declare const MKPointOfInterestCategorySchool: string
|
|
44
|
+
|
|
45
|
+
declare const MKPointOfInterestCategoryRestaurant: string
|
|
46
|
+
|
|
47
|
+
declare const MKPointOfInterestCategoryPolice: string
|
|
48
|
+
|
|
49
|
+
declare const MKPointOfInterestCategoryPark: string
|
|
50
|
+
|
|
51
|
+
declare const MKPointOfInterestCategoryNightlife: string
|
|
52
|
+
|
|
53
|
+
declare const MKPointOfInterestCategoryNationalPark: string
|
|
54
|
+
|
|
55
|
+
declare const MKPointOfInterestCategoryGasStation: string
|
|
56
|
+
|
|
57
|
+
declare const MKPointOfInterestCategoryFoodMarket: string
|
|
58
|
+
|
|
59
|
+
declare const MKPointOfInterestCategoryCampground: string
|
|
60
|
+
|
|
61
|
+
declare const MKPointOfInterestCategoryCafe: string
|
|
62
|
+
|
|
63
|
+
declare const MKPointOfInterestCategoryBrewery: string
|
|
64
|
+
|
|
65
|
+
declare const MKPointOfInterestCategoryBeach: string
|
|
66
|
+
|
|
67
|
+
declare const MKPointOfInterestCategoryAquarium: string
|
|
68
|
+
|
|
69
|
+
declare const MKMapRectWorld: MKMapRect
|
|
70
|
+
|
|
71
|
+
declare const MKErrorDomain: string
|
|
72
|
+
|
|
73
|
+
declare const MKPointOfInterestCategoryLibrary: string
|
|
74
|
+
|
|
75
|
+
declare const MKPointOfInterestCategoryHospital: string
|
|
76
|
+
|
|
77
|
+
declare const MKPointOfInterestCategoryMarina: string
|
|
78
|
+
|
|
79
|
+
declare const MKPointOfInterestCategoryHotel: string
|
|
80
|
+
|
|
81
|
+
declare const MKPointOfInterestCategoryMuseum: string
|
|
82
|
+
|
|
83
|
+
declare const MKMapRectNull: MKMapRect
|
|
84
|
+
|
|
85
|
+
declare const MKMapItemTypeIdentifier: string
|
|
86
|
+
|
|
87
|
+
declare const MKPointOfInterestCategoryStore: string
|
|
88
|
+
|
|
89
|
+
declare const MKPointOfInterestCategoryAmusementPark: string
|
|
90
|
+
|
|
91
|
+
declare const MKLaunchOptionsDirectionsModeKey: string
|
|
92
|
+
|
|
93
|
+
declare const MKPointOfInterestCategoryAirport: string
|
|
94
|
+
|
|
95
|
+
declare const MKPointOfInterestCategoryStadium: string
|
|
96
|
+
|
|
97
|
+
declare const MKPointOfInterestCategoryPostOffice: string
|
|
98
|
+
|
|
99
|
+
declare const MKPointOfInterestCategoryPublicTransport: string
|
|
100
|
+
|
|
101
|
+
declare const MKLaunchOptionsMapCenterKey: string
|
|
102
|
+
|
|
103
|
+
declare const MKLaunchOptionsDirectionsModeCycling: string
|
|
104
|
+
|
|
105
|
+
declare const MKAnnotationViewZPriorityDefaultUnselected: number
|
|
106
|
+
|
|
107
|
+
declare const MKMapSizeWorld: MKMapSize
|
|
108
|
+
|
|
109
|
+
declare const MKFeatureDisplayPriorityDefaultHigh: number
|
|
110
|
+
|
|
111
|
+
declare const MKMapCameraZoomDefault: number
|
|
112
|
+
|
|
113
|
+
declare const MKPointOfInterestCategoryCarRental: string
|
|
114
|
+
|
|
115
|
+
declare const MKPointOfInterestCategoryRestroom: string
|
|
116
|
+
|
|
117
|
+
declare const MKPointOfInterestCategoryBakery: string
|
|
118
|
+
|
|
119
|
+
declare const MKPointOfInterestCategoryEVCharger: string
|
|
120
|
+
|
|
121
|
+
declare const MKAnnotationCalloutInfoDidChangeNotification: string
|
|
122
|
+
|
|
123
|
+
declare const MKPointOfInterestCategoryPharmacy: string
|
|
124
|
+
|
|
125
|
+
declare const MKPointOfInterestCategoryMovieTheater: string
|
|
126
|
+
|
|
127
|
+
declare const MKPointOfInterestCategoryLaundry: string
|
|
128
|
+
|
|
129
|
+
declare const MKPointOfInterestCategoryBank: string
|
|
130
|
+
|
|
131
|
+
declare const MKAnnotationViewZPriorityMin: number
|
|
132
|
+
|
|
133
|
+
declare const MKPointOfInterestCategoryATM: string
|
|
134
|
+
|
|
135
|
+
declare const MKPointOfInterestCategoryUniversity: string
|
|
136
|
+
|
|
137
|
+
declare const MKPointOfInterestCategoryFireStation: string
|
|
138
|
+
|
|
139
|
+
declare const MKPointOfInterestCategoryFitnessCenter: string
|
|
140
|
+
|
|
141
|
+
declare const MKPointOfInterestCategoryParking: string
|
|
142
|
+
|
|
143
|
+
declare const MKPinAnnotationColor: {
|
|
144
|
+
Red: 0
|
|
145
|
+
Green: 1
|
|
146
|
+
Purple: 2
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare const MKStandardMapEmphasisStyle: {
|
|
150
|
+
Default: 0
|
|
151
|
+
Muted: 1
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare const MKUserTrackingMode: {
|
|
155
|
+
None: 0
|
|
156
|
+
Follow: 1
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare const MKOverlayLevel: {
|
|
160
|
+
Roads: 0
|
|
161
|
+
Labels: 1
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare const MKMapElevationStyle: {
|
|
165
|
+
Flat: 0
|
|
166
|
+
Realistic: 1
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare const MKLocalSearchResultType: {
|
|
170
|
+
Address: 1
|
|
171
|
+
PointOfInterest: 2
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare const MKFeatureVisibility: {
|
|
175
|
+
Adaptive: 0
|
|
176
|
+
Hidden: 1
|
|
177
|
+
Visible: 2
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
declare const MKErrorCode: {
|
|
181
|
+
Unknown: 1
|
|
182
|
+
ServerFailure: 2
|
|
183
|
+
LoadingThrottled: 3
|
|
184
|
+
PlacemarkNotFound: 4
|
|
185
|
+
DirectionsNotFound: 5
|
|
186
|
+
DecodingFailed: 6
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
declare const MKMapType: {
|
|
190
|
+
Standard: 0
|
|
191
|
+
Satellite: 1
|
|
192
|
+
Hybrid: 2
|
|
193
|
+
SatelliteFlyover: 3
|
|
194
|
+
HybridFlyover: 4
|
|
195
|
+
MutedStandard: 5
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
declare const MKLocalSearchCompleterResultType: {
|
|
199
|
+
Address: 1
|
|
200
|
+
PointOfInterest: 2
|
|
201
|
+
Query: 4
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare const MKDistanceFormatterUnitStyle: {
|
|
205
|
+
Default: 0
|
|
206
|
+
Abbreviated: 1
|
|
207
|
+
Full: 2
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare const MKAnnotationViewCollisionMode: {
|
|
211
|
+
Rectangle: 0
|
|
212
|
+
Circle: 1
|
|
213
|
+
None: 2
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare const MKDirectionsTransportType: {
|
|
217
|
+
Automobile: 1
|
|
218
|
+
Walking: 2
|
|
219
|
+
Transit: 4
|
|
220
|
+
Cycling: 8
|
|
221
|
+
Any: 268435455
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
declare const MKSearchCompletionFilterType: {
|
|
225
|
+
AndQueries: 0
|
|
226
|
+
Only: 1
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare const MKDirectionsRoutePreference: {
|
|
230
|
+
Any: 0
|
|
231
|
+
Avoid: 1
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare const MKAnnotationViewDragState: {
|
|
235
|
+
None: 0
|
|
236
|
+
Starting: 1
|
|
237
|
+
Dragging: 2
|
|
238
|
+
Canceling: 3
|
|
239
|
+
Ending: 4
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
declare const MKDistanceFormatterUnits: {
|
|
243
|
+
Default: 0
|
|
244
|
+
Metric: 1
|
|
245
|
+
Imperial: 2
|
|
246
|
+
ImperialWithYards: 3
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare class MKMapRect {
|
|
250
|
+
constructor(init?: MKMapRect)
|
|
251
|
+
origin: MKMapPoint
|
|
252
|
+
size: MKMapSize
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare class MKMapPoint {
|
|
256
|
+
constructor(init?: MKMapPoint)
|
|
257
|
+
x: number
|
|
258
|
+
y: number
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class MKTileOverlayPath {
|
|
262
|
+
constructor(init?: MKTileOverlayPath)
|
|
263
|
+
x: number
|
|
264
|
+
y: number
|
|
265
|
+
z: number
|
|
266
|
+
contentScaleFactor: number
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
declare class MKMapSize {
|
|
270
|
+
constructor(init?: MKMapSize)
|
|
271
|
+
width: number
|
|
272
|
+
height: number
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
declare class MKCoordinateSpan {
|
|
276
|
+
constructor(init?: MKCoordinateSpan)
|
|
277
|
+
latitudeDelta: number
|
|
278
|
+
longitudeDelta: number
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
declare class MKCoordinateRegion {
|
|
282
|
+
constructor(init?: MKCoordinateRegion)
|
|
283
|
+
center: CLLocationCoordinate2D
|
|
284
|
+
span: MKCoordinateSpan
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare function MKCoordinateRegionMakeWithDistance(
|
|
288
|
+
centerCoordinate: CLLocationCoordinate2D,
|
|
289
|
+
latitudinalMeters: number,
|
|
290
|
+
longitudinalMeters: number,
|
|
291
|
+
): MKCoordinateRegion
|
|
292
|
+
|
|
293
|
+
declare function MKMapPointForCoordinate(coordinate: CLLocationCoordinate2D): MKMapPoint
|
|
294
|
+
|
|
295
|
+
declare function MKCoordinateForMapPoint(mapPoint: MKMapPoint): CLLocationCoordinate2D
|
|
296
|
+
|
|
297
|
+
declare function MKMetersPerMapPointAtLatitude(latitude: number): number
|
|
298
|
+
|
|
299
|
+
declare function MKMapPointsPerMeterAtLatitude(latitude: number): number
|
|
300
|
+
|
|
301
|
+
declare function MKMetersBetweenMapPoints(a: MKMapPoint, b: MKMapPoint): number
|
|
302
|
+
|
|
303
|
+
declare function MKMapRectUnion(rect1: MKMapRect, rect2: MKMapRect): MKMapRect
|
|
304
|
+
|
|
305
|
+
declare function MKMapRectIntersection(rect1: MKMapRect, rect2: MKMapRect): MKMapRect
|
|
306
|
+
|
|
307
|
+
declare function MKMapRectInset(rect: MKMapRect, dx: number, dy: number): MKMapRect
|
|
308
|
+
|
|
309
|
+
declare function MKMapRectOffset(rect: MKMapRect, dx: number, dy: number): MKMapRect
|
|
310
|
+
|
|
311
|
+
declare function MKMapRectDivide(
|
|
312
|
+
rect: MKMapRect,
|
|
313
|
+
slice: interop.PointerConvertible,
|
|
314
|
+
remainder: interop.PointerConvertible,
|
|
315
|
+
amount: number,
|
|
316
|
+
edge: interop.Enum<typeof CGRectEdge>,
|
|
317
|
+
): void
|
|
318
|
+
|
|
319
|
+
declare function MKMapRectContainsPoint(rect: MKMapRect, point: MKMapPoint): boolean
|
|
320
|
+
|
|
321
|
+
declare function MKMapRectContainsRect(rect1: MKMapRect, rect2: MKMapRect): boolean
|
|
322
|
+
|
|
323
|
+
declare function MKMapRectIntersectsRect(rect1: MKMapRect, rect2: MKMapRect): boolean
|
|
324
|
+
|
|
325
|
+
declare function MKCoordinateRegionForMapRect(rect: MKMapRect): MKCoordinateRegion
|
|
326
|
+
|
|
327
|
+
declare function MKMapRectSpans180thMeridian(rect: MKMapRect): boolean
|
|
328
|
+
|
|
329
|
+
declare function MKMapRectRemainder(rect: MKMapRect): MKMapRect
|
|
330
|
+
|
|
331
|
+
declare function MKRoadWidthAtZoomScale(zoomScale: number): number
|
|
332
|
+
|
|
333
|
+
declare interface MKAnnotation extends NSObjectProtocol {
|
|
334
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
335
|
+
|
|
336
|
+
readonly title?: string
|
|
337
|
+
|
|
338
|
+
readonly subtitle?: string
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare class MKAnnotation extends NativeObject implements MKAnnotation {}
|
|
342
|
+
|
|
343
|
+
declare interface MKLocalSearchCompleterDelegate extends NSObjectProtocol {
|
|
344
|
+
completerDidUpdateResults?(completer: MKLocalSearchCompleter): void
|
|
345
|
+
|
|
346
|
+
completerDidFailWithError?(completer: MKLocalSearchCompleter, error: NSError): void
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
declare class MKLocalSearchCompleterDelegate
|
|
350
|
+
extends NativeObject
|
|
351
|
+
implements MKLocalSearchCompleterDelegate {}
|
|
352
|
+
|
|
353
|
+
declare interface MKGeoJSONObject extends NSObjectProtocol {}
|
|
354
|
+
|
|
355
|
+
declare class MKGeoJSONObject extends NativeObject implements MKGeoJSONObject {}
|
|
356
|
+
|
|
357
|
+
declare interface MKOverlay extends MKAnnotation {
|
|
358
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
359
|
+
|
|
360
|
+
readonly boundingMapRect: MKMapRect
|
|
361
|
+
|
|
362
|
+
intersectsMapRect?(mapRect: MKMapRect): boolean
|
|
363
|
+
|
|
364
|
+
canReplaceMapContent?: boolean
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare class MKOverlay extends NativeObject implements MKOverlay {}
|
|
368
|
+
|
|
369
|
+
declare interface MKMapViewDelegate extends NSObjectProtocol {
|
|
370
|
+
mapViewRegionWillChangeAnimated?(mapView: MKMapView, animated: boolean): void
|
|
371
|
+
|
|
372
|
+
mapViewRegionDidChangeAnimated?(mapView: MKMapView, animated: boolean): void
|
|
373
|
+
|
|
374
|
+
mapViewDidChangeVisibleRegion?(mapView: MKMapView): void
|
|
375
|
+
|
|
376
|
+
mapViewWillStartLoadingMap?(mapView: MKMapView): void
|
|
377
|
+
|
|
378
|
+
mapViewDidFinishLoadingMap?(mapView: MKMapView): void
|
|
379
|
+
|
|
380
|
+
mapViewDidFailLoadingMapWithError?(mapView: MKMapView, error: NSError): void
|
|
381
|
+
|
|
382
|
+
mapViewWillStartRenderingMap?(mapView: MKMapView): void
|
|
383
|
+
|
|
384
|
+
mapViewDidFinishRenderingMapFullyRendered?(mapView: MKMapView, fullyRendered: boolean): void
|
|
385
|
+
|
|
386
|
+
mapViewViewForAnnotation?(mapView: MKMapView, annotation: MKAnnotation): MKAnnotationView
|
|
387
|
+
|
|
388
|
+
mapViewDidAddAnnotationViews?(
|
|
389
|
+
mapView: MKMapView,
|
|
390
|
+
views: NSArray<interop.Object> | Array<interop.Object>,
|
|
391
|
+
): void
|
|
392
|
+
|
|
393
|
+
mapViewDidSelectAnnotationView?(mapView: MKMapView, view: MKAnnotationView): void
|
|
394
|
+
|
|
395
|
+
mapViewDidDeselectAnnotationView?(mapView: MKMapView, view: MKAnnotationView): void
|
|
396
|
+
|
|
397
|
+
mapViewWillStartLocatingUser?(mapView: MKMapView): void
|
|
398
|
+
|
|
399
|
+
mapViewDidStopLocatingUser?(mapView: MKMapView): void
|
|
400
|
+
|
|
401
|
+
mapViewDidUpdateUserLocation?(mapView: MKMapView, userLocation: MKUserLocation): void
|
|
402
|
+
|
|
403
|
+
mapViewDidFailToLocateUserWithError?(mapView: MKMapView, error: NSError): void
|
|
404
|
+
|
|
405
|
+
mapViewAnnotationViewDidChangeDragStateFromOldState?(
|
|
406
|
+
mapView: MKMapView,
|
|
407
|
+
view: MKAnnotationView,
|
|
408
|
+
newState: interop.Enum<typeof MKAnnotationViewDragState>,
|
|
409
|
+
oldState: interop.Enum<typeof MKAnnotationViewDragState>,
|
|
410
|
+
): void
|
|
411
|
+
|
|
412
|
+
mapViewDidChangeUserTrackingModeAnimated?(
|
|
413
|
+
mapView: MKMapView,
|
|
414
|
+
mode: interop.Enum<typeof MKUserTrackingMode>,
|
|
415
|
+
animated: boolean,
|
|
416
|
+
): void
|
|
417
|
+
|
|
418
|
+
mapViewRendererForOverlay?(mapView: MKMapView, overlay: MKOverlay): MKOverlayRenderer
|
|
419
|
+
|
|
420
|
+
mapViewDidAddOverlayRenderers?(
|
|
421
|
+
mapView: MKMapView,
|
|
422
|
+
renderers: NSArray<interop.Object> | Array<interop.Object>,
|
|
423
|
+
): void
|
|
424
|
+
|
|
425
|
+
mapViewClusterAnnotationForMemberAnnotations?(
|
|
426
|
+
mapView: MKMapView,
|
|
427
|
+
memberAnnotations: NSArray<interop.Object> | Array<interop.Object>,
|
|
428
|
+
): MKClusterAnnotation
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare class MKMapViewDelegate extends NativeObject implements MKMapViewDelegate {}
|
|
432
|
+
|
|
433
|
+
declare class MKPitchControl extends NSView {
|
|
434
|
+
static pitchControlWithMapView<This extends abstract new (...args: any) => any>(
|
|
435
|
+
this: This,
|
|
436
|
+
mapView: MKMapView | null,
|
|
437
|
+
): InstanceType<This>
|
|
438
|
+
|
|
439
|
+
mapView: MKMapView
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
declare class MKMapCameraZoomRange extends NSObject implements NSSecureCoding, NSCopying {
|
|
443
|
+
initWithMinCenterCoordinateDistanceMaxCenterCoordinateDistance(
|
|
444
|
+
minDistance: number,
|
|
445
|
+
maxDistance: number,
|
|
446
|
+
): this
|
|
447
|
+
|
|
448
|
+
initWithMinCenterCoordinateDistance(minDistance: number): this
|
|
449
|
+
|
|
450
|
+
initWithMaxCenterCoordinateDistance(maxDistance: number): this
|
|
451
|
+
|
|
452
|
+
readonly minCenterCoordinateDistance: number
|
|
453
|
+
|
|
454
|
+
readonly maxCenterCoordinateDistance: number
|
|
455
|
+
|
|
456
|
+
static readonly supportsSecureCoding: boolean
|
|
457
|
+
|
|
458
|
+
encodeWithCoder(coder: NSCoder): void
|
|
459
|
+
|
|
460
|
+
initWithCoder(coder: NSCoder): this
|
|
461
|
+
|
|
462
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare class MKTileOverlay extends NSObject implements MKOverlay {
|
|
466
|
+
initWithURLTemplate(URLTemplate: string | null): this
|
|
467
|
+
|
|
468
|
+
tileSize: CGSize
|
|
469
|
+
|
|
470
|
+
geometryFlipped: boolean
|
|
471
|
+
|
|
472
|
+
minimumZ: number
|
|
473
|
+
|
|
474
|
+
maximumZ: number
|
|
475
|
+
|
|
476
|
+
readonly URLTemplate: string
|
|
477
|
+
|
|
478
|
+
canReplaceMapContent: boolean
|
|
479
|
+
|
|
480
|
+
isGeometryFlipped(): boolean
|
|
481
|
+
|
|
482
|
+
URLForTilePath(path: MKTileOverlayPath): NSURL
|
|
483
|
+
|
|
484
|
+
loadTileAtPathResult(
|
|
485
|
+
path: MKTileOverlayPath,
|
|
486
|
+
result: (p1: NSData, p2: NSError) => void | null,
|
|
487
|
+
): void
|
|
488
|
+
|
|
489
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
490
|
+
|
|
491
|
+
readonly boundingMapRect: MKMapRect
|
|
492
|
+
|
|
493
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
494
|
+
|
|
495
|
+
readonly title: string
|
|
496
|
+
|
|
497
|
+
readonly subtitle: string
|
|
498
|
+
|
|
499
|
+
isEqual(object: interop.Object): boolean
|
|
500
|
+
|
|
501
|
+
readonly hash: number
|
|
502
|
+
|
|
503
|
+
readonly superclass: interop.Pointer
|
|
504
|
+
|
|
505
|
+
class(): interop.Pointer
|
|
506
|
+
|
|
507
|
+
self(): this
|
|
508
|
+
|
|
509
|
+
performSelector(aSelector: string): interop.Object
|
|
510
|
+
|
|
511
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
512
|
+
|
|
513
|
+
performSelectorWithObjectWithObject(
|
|
514
|
+
aSelector: string,
|
|
515
|
+
object1: interop.Object,
|
|
516
|
+
object2: interop.Object,
|
|
517
|
+
): interop.Object
|
|
518
|
+
|
|
519
|
+
readonly isProxy: boolean
|
|
520
|
+
|
|
521
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
522
|
+
|
|
523
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
524
|
+
|
|
525
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
526
|
+
|
|
527
|
+
respondsToSelector(aSelector: string): boolean
|
|
528
|
+
|
|
529
|
+
retain(): this
|
|
530
|
+
|
|
531
|
+
release(): void
|
|
532
|
+
|
|
533
|
+
autorelease(): this
|
|
534
|
+
|
|
535
|
+
retainCount(): number
|
|
536
|
+
|
|
537
|
+
readonly zone: interop.Pointer
|
|
538
|
+
|
|
539
|
+
readonly description: string
|
|
540
|
+
|
|
541
|
+
readonly debugDescription: string
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare class MKCircleRenderer extends MKOverlayPathRenderer {
|
|
545
|
+
initWithCircle(circle: MKCircle): this
|
|
546
|
+
|
|
547
|
+
readonly circle: MKCircle
|
|
548
|
+
|
|
549
|
+
strokeStart: number
|
|
550
|
+
|
|
551
|
+
strokeEnd: number
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare class MKMultiPolylineRenderer extends MKOverlayPathRenderer {
|
|
555
|
+
initWithMultiPolyline(multiPolyline: MKMultiPolyline): this
|
|
556
|
+
|
|
557
|
+
readonly multiPolyline: MKMultiPolyline
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
declare class MKMultiPolygonRenderer extends MKOverlayPathRenderer {
|
|
561
|
+
initWithMultiPolygon(multiPolygon: MKMultiPolygon): this
|
|
562
|
+
|
|
563
|
+
readonly multiPolygon: MKMultiPolygon
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
declare class MKOverlayPathRenderer extends MKOverlayRenderer {
|
|
567
|
+
fillColor: NSColor
|
|
568
|
+
|
|
569
|
+
strokeColor: NSColor
|
|
570
|
+
|
|
571
|
+
lineWidth: number
|
|
572
|
+
|
|
573
|
+
lineJoin: interop.Enum<typeof CGLineJoin>
|
|
574
|
+
|
|
575
|
+
lineCap: interop.Enum<typeof CGLineCap>
|
|
576
|
+
|
|
577
|
+
miterLimit: number
|
|
578
|
+
|
|
579
|
+
lineDashPhase: number
|
|
580
|
+
|
|
581
|
+
get lineDashPattern(): NSArray
|
|
582
|
+
set lineDashPattern(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
583
|
+
|
|
584
|
+
shouldRasterize: boolean
|
|
585
|
+
|
|
586
|
+
createPath(): void
|
|
587
|
+
|
|
588
|
+
path: interop.Object
|
|
589
|
+
|
|
590
|
+
invalidatePath(): void
|
|
591
|
+
|
|
592
|
+
applyStrokePropertiesToContextAtZoomScale(context: interop.Object, zoomScale: number): void
|
|
593
|
+
|
|
594
|
+
applyFillPropertiesToContextAtZoomScale(context: interop.Object, zoomScale: number): void
|
|
595
|
+
|
|
596
|
+
strokePathInContext(path: interop.Object, context: interop.Object): void
|
|
597
|
+
|
|
598
|
+
fillPathInContext(path: interop.Object, context: interop.Object): void
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
declare class MKClusterAnnotation extends NSObject implements MKAnnotation {
|
|
602
|
+
title: string
|
|
603
|
+
|
|
604
|
+
subtitle: string
|
|
605
|
+
|
|
606
|
+
readonly memberAnnotations: NSArray
|
|
607
|
+
|
|
608
|
+
initWithMemberAnnotations(
|
|
609
|
+
memberAnnotations: NSArray<interop.Object> | Array<interop.Object>,
|
|
610
|
+
): this
|
|
611
|
+
|
|
612
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
613
|
+
|
|
614
|
+
isEqual(object: interop.Object): boolean
|
|
615
|
+
|
|
616
|
+
readonly hash: number
|
|
617
|
+
|
|
618
|
+
readonly superclass: interop.Pointer
|
|
619
|
+
|
|
620
|
+
class(): interop.Pointer
|
|
621
|
+
|
|
622
|
+
self(): this
|
|
623
|
+
|
|
624
|
+
performSelector(aSelector: string): interop.Object
|
|
625
|
+
|
|
626
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
627
|
+
|
|
628
|
+
performSelectorWithObjectWithObject(
|
|
629
|
+
aSelector: string,
|
|
630
|
+
object1: interop.Object,
|
|
631
|
+
object2: interop.Object,
|
|
632
|
+
): interop.Object
|
|
633
|
+
|
|
634
|
+
readonly isProxy: boolean
|
|
635
|
+
|
|
636
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
637
|
+
|
|
638
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
639
|
+
|
|
640
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
641
|
+
|
|
642
|
+
respondsToSelector(aSelector: string): boolean
|
|
643
|
+
|
|
644
|
+
retain(): this
|
|
645
|
+
|
|
646
|
+
release(): void
|
|
647
|
+
|
|
648
|
+
autorelease(): this
|
|
649
|
+
|
|
650
|
+
retainCount(): number
|
|
651
|
+
|
|
652
|
+
readonly zone: interop.Pointer
|
|
653
|
+
|
|
654
|
+
readonly description: string
|
|
655
|
+
|
|
656
|
+
readonly debugDescription: string
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class MKUserLocation extends NSObject implements MKAnnotation {
|
|
660
|
+
readonly updating: boolean
|
|
661
|
+
|
|
662
|
+
readonly location: CLLocation
|
|
663
|
+
|
|
664
|
+
readonly heading: CLHeading
|
|
665
|
+
|
|
666
|
+
title: string
|
|
667
|
+
|
|
668
|
+
subtitle: string
|
|
669
|
+
|
|
670
|
+
isUpdating(): boolean
|
|
671
|
+
|
|
672
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
673
|
+
|
|
674
|
+
isEqual(object: interop.Object): boolean
|
|
675
|
+
|
|
676
|
+
readonly hash: number
|
|
677
|
+
|
|
678
|
+
readonly superclass: interop.Pointer
|
|
679
|
+
|
|
680
|
+
class(): interop.Pointer
|
|
681
|
+
|
|
682
|
+
self(): this
|
|
683
|
+
|
|
684
|
+
performSelector(aSelector: string): interop.Object
|
|
685
|
+
|
|
686
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
687
|
+
|
|
688
|
+
performSelectorWithObjectWithObject(
|
|
689
|
+
aSelector: string,
|
|
690
|
+
object1: interop.Object,
|
|
691
|
+
object2: interop.Object,
|
|
692
|
+
): interop.Object
|
|
693
|
+
|
|
694
|
+
readonly isProxy: boolean
|
|
695
|
+
|
|
696
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
697
|
+
|
|
698
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
699
|
+
|
|
700
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
701
|
+
|
|
702
|
+
respondsToSelector(aSelector: string): boolean
|
|
703
|
+
|
|
704
|
+
retain(): this
|
|
705
|
+
|
|
706
|
+
release(): void
|
|
707
|
+
|
|
708
|
+
autorelease(): this
|
|
709
|
+
|
|
710
|
+
retainCount(): number
|
|
711
|
+
|
|
712
|
+
readonly zone: interop.Pointer
|
|
713
|
+
|
|
714
|
+
readonly description: string
|
|
715
|
+
|
|
716
|
+
readonly debugDescription: string
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
declare class MKMarkerAnnotationView extends MKAnnotationView {
|
|
720
|
+
titleVisibility: interop.Enum<typeof MKFeatureVisibility>
|
|
721
|
+
|
|
722
|
+
subtitleVisibility: interop.Enum<typeof MKFeatureVisibility>
|
|
723
|
+
|
|
724
|
+
markerTintColor: NSColor
|
|
725
|
+
|
|
726
|
+
glyphTintColor: NSColor
|
|
727
|
+
|
|
728
|
+
glyphText: string
|
|
729
|
+
|
|
730
|
+
glyphImage: NSImage
|
|
731
|
+
|
|
732
|
+
selectedGlyphImage: NSImage
|
|
733
|
+
|
|
734
|
+
animatesWhenAdded: boolean
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
declare class MKMapSnapshotter extends NSObject {
|
|
738
|
+
initWithOptions(options: MKMapSnapshotOptions): this
|
|
739
|
+
|
|
740
|
+
startWithCompletionHandler(completionHandler: (p1: MKMapSnapshot, p2: NSError) => void): void
|
|
741
|
+
|
|
742
|
+
startWithQueueCompletionHandler(
|
|
743
|
+
queue: NSObject,
|
|
744
|
+
completionHandler: (p1: MKMapSnapshot, p2: NSError) => void,
|
|
745
|
+
): void
|
|
746
|
+
|
|
747
|
+
cancel(): void
|
|
748
|
+
|
|
749
|
+
readonly loading: boolean
|
|
750
|
+
|
|
751
|
+
isLoading(): boolean
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
declare class MKMapSnapshotOptions extends NSObject implements NSCopying {
|
|
755
|
+
camera: MKMapCamera
|
|
756
|
+
|
|
757
|
+
mapRect: MKMapRect
|
|
758
|
+
|
|
759
|
+
region: MKCoordinateRegion
|
|
760
|
+
|
|
761
|
+
mapType: interop.Enum<typeof MKMapType>
|
|
762
|
+
|
|
763
|
+
pointOfInterestFilter: MKPointOfInterestFilter
|
|
764
|
+
|
|
765
|
+
showsPointsOfInterest: boolean
|
|
766
|
+
|
|
767
|
+
showsBuildings: boolean
|
|
768
|
+
|
|
769
|
+
size: CGSize
|
|
770
|
+
|
|
771
|
+
appearance: NSAppearance
|
|
772
|
+
|
|
773
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
declare class MKMapView extends NSView implements NSCoding {
|
|
777
|
+
delegate: MKMapViewDelegate
|
|
778
|
+
|
|
779
|
+
mapType: interop.Enum<typeof MKMapType>
|
|
780
|
+
|
|
781
|
+
region: MKCoordinateRegion
|
|
782
|
+
|
|
783
|
+
setRegionAnimated(region: MKCoordinateRegion, animated: boolean): void
|
|
784
|
+
|
|
785
|
+
centerCoordinate: CLLocationCoordinate2D
|
|
786
|
+
|
|
787
|
+
setCenterCoordinateAnimated(coordinate: CLLocationCoordinate2D, animated: boolean): void
|
|
788
|
+
|
|
789
|
+
regionThatFits(region: MKCoordinateRegion): MKCoordinateRegion
|
|
790
|
+
|
|
791
|
+
visibleMapRect: MKMapRect
|
|
792
|
+
|
|
793
|
+
setVisibleMapRectAnimated(mapRect: MKMapRect, animate: boolean): void
|
|
794
|
+
|
|
795
|
+
mapRectThatFits(mapRect: MKMapRect): MKMapRect
|
|
796
|
+
|
|
797
|
+
setVisibleMapRectEdgePaddingAnimated(
|
|
798
|
+
mapRect: MKMapRect,
|
|
799
|
+
insets: NSEdgeInsets,
|
|
800
|
+
animate: boolean,
|
|
801
|
+
): void
|
|
802
|
+
|
|
803
|
+
mapRectThatFitsEdgePadding(mapRect: MKMapRect, insets: NSEdgeInsets): MKMapRect
|
|
804
|
+
|
|
805
|
+
camera: MKMapCamera
|
|
806
|
+
|
|
807
|
+
setCameraAnimated(camera: MKMapCamera, animated: boolean): void
|
|
808
|
+
|
|
809
|
+
cameraZoomRange: MKMapCameraZoomRange
|
|
810
|
+
|
|
811
|
+
setCameraZoomRangeAnimated(cameraZoomRange: MKMapCameraZoomRange | null, animated: boolean): void
|
|
812
|
+
|
|
813
|
+
cameraBoundary: MKMapCameraBoundary
|
|
814
|
+
|
|
815
|
+
setCameraBoundaryAnimated(cameraBoundary: MKMapCameraBoundary | null, animated: boolean): void
|
|
816
|
+
|
|
817
|
+
convertCoordinateToPointToView(coordinate: CLLocationCoordinate2D, view: NSView | null): CGPoint
|
|
818
|
+
|
|
819
|
+
convertPointToCoordinateFromView(point: CGPoint, view: NSView | null): CLLocationCoordinate2D
|
|
820
|
+
|
|
821
|
+
convertRegionToRectToView(region: MKCoordinateRegion, view: NSView | null): CGRect
|
|
822
|
+
|
|
823
|
+
convertRectToRegionFromView(rect: CGRect, view: NSView | null): MKCoordinateRegion
|
|
824
|
+
|
|
825
|
+
zoomEnabled: boolean
|
|
826
|
+
|
|
827
|
+
scrollEnabled: boolean
|
|
828
|
+
|
|
829
|
+
rotateEnabled: boolean
|
|
830
|
+
|
|
831
|
+
pitchEnabled: boolean
|
|
832
|
+
|
|
833
|
+
showsPitchControl: boolean
|
|
834
|
+
|
|
835
|
+
showsZoomControls: boolean
|
|
836
|
+
|
|
837
|
+
showsCompass: boolean
|
|
838
|
+
|
|
839
|
+
showsScale: boolean
|
|
840
|
+
|
|
841
|
+
pointOfInterestFilter: MKPointOfInterestFilter
|
|
842
|
+
|
|
843
|
+
showsPointsOfInterest: boolean
|
|
844
|
+
|
|
845
|
+
showsBuildings: boolean
|
|
846
|
+
|
|
847
|
+
showsTraffic: boolean
|
|
848
|
+
|
|
849
|
+
showsUserLocation: boolean
|
|
850
|
+
|
|
851
|
+
readonly userLocation: MKUserLocation
|
|
852
|
+
|
|
853
|
+
userTrackingMode: interop.Enum<typeof MKUserTrackingMode>
|
|
854
|
+
|
|
855
|
+
setUserTrackingModeAnimated(
|
|
856
|
+
mode: interop.Enum<typeof MKUserTrackingMode>,
|
|
857
|
+
animated: boolean,
|
|
858
|
+
): void
|
|
859
|
+
|
|
860
|
+
readonly userLocationVisible: boolean
|
|
861
|
+
|
|
862
|
+
addAnnotation(annotation: MKAnnotation): void
|
|
863
|
+
|
|
864
|
+
addAnnotations(annotations: NSArray<interop.Object> | Array<interop.Object>): void
|
|
865
|
+
|
|
866
|
+
removeAnnotation(annotation: MKAnnotation): void
|
|
867
|
+
|
|
868
|
+
removeAnnotations(annotations: NSArray<interop.Object> | Array<interop.Object>): void
|
|
869
|
+
|
|
870
|
+
readonly annotations: NSArray
|
|
871
|
+
|
|
872
|
+
annotationsInMapRect(mapRect: MKMapRect): NSSet
|
|
873
|
+
|
|
874
|
+
viewForAnnotation(annotation: MKAnnotation): MKAnnotationView
|
|
875
|
+
|
|
876
|
+
dequeueReusableAnnotationViewWithIdentifier(identifier: string): MKAnnotationView
|
|
877
|
+
|
|
878
|
+
dequeueReusableAnnotationViewWithIdentifierForAnnotation(
|
|
879
|
+
identifier: string,
|
|
880
|
+
annotation: MKAnnotation,
|
|
881
|
+
): MKAnnotationView
|
|
882
|
+
|
|
883
|
+
registerClassForAnnotationViewWithReuseIdentifier(
|
|
884
|
+
viewClass: interop.PointerConvertible,
|
|
885
|
+
identifier: string,
|
|
886
|
+
): void
|
|
887
|
+
|
|
888
|
+
selectAnnotationAnimated(annotation: MKAnnotation, animated: boolean): void
|
|
889
|
+
|
|
890
|
+
deselectAnnotationAnimated(annotation: MKAnnotation | null, animated: boolean): void
|
|
891
|
+
|
|
892
|
+
get selectedAnnotations(): NSArray
|
|
893
|
+
set selectedAnnotations(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
894
|
+
|
|
895
|
+
readonly annotationVisibleRect: CGRect
|
|
896
|
+
|
|
897
|
+
showAnnotationsAnimated(
|
|
898
|
+
annotations: NSArray<interop.Object> | Array<interop.Object>,
|
|
899
|
+
animated: boolean,
|
|
900
|
+
): void
|
|
901
|
+
|
|
902
|
+
isZoomEnabled(): boolean
|
|
903
|
+
|
|
904
|
+
isScrollEnabled(): boolean
|
|
905
|
+
|
|
906
|
+
isRotateEnabled(): boolean
|
|
907
|
+
|
|
908
|
+
isPitchEnabled(): boolean
|
|
909
|
+
|
|
910
|
+
isUserLocationVisible(): boolean
|
|
911
|
+
|
|
912
|
+
addOverlayLevel(overlay: MKOverlay, level: interop.Enum<typeof MKOverlayLevel>): void
|
|
913
|
+
|
|
914
|
+
addOverlaysLevel(
|
|
915
|
+
overlays: NSArray<interop.Object> | Array<interop.Object>,
|
|
916
|
+
level: interop.Enum<typeof MKOverlayLevel>,
|
|
917
|
+
): void
|
|
918
|
+
|
|
919
|
+
removeOverlay(overlay: MKOverlay): void
|
|
920
|
+
|
|
921
|
+
removeOverlays(overlays: NSArray<interop.Object> | Array<interop.Object>): void
|
|
922
|
+
|
|
923
|
+
insertOverlayAtIndexLevel(
|
|
924
|
+
overlay: MKOverlay,
|
|
925
|
+
index: number,
|
|
926
|
+
level: interop.Enum<typeof MKOverlayLevel>,
|
|
927
|
+
): void
|
|
928
|
+
|
|
929
|
+
insertOverlayAboveOverlay(overlay: MKOverlay, sibling: MKOverlay): void
|
|
930
|
+
|
|
931
|
+
insertOverlayBelowOverlay(overlay: MKOverlay, sibling: MKOverlay): void
|
|
932
|
+
|
|
933
|
+
exchangeOverlayWithOverlay(overlay1: MKOverlay, overlay2: MKOverlay): void
|
|
934
|
+
|
|
935
|
+
readonly overlays: NSArray
|
|
936
|
+
|
|
937
|
+
overlaysInLevel(level: interop.Enum<typeof MKOverlayLevel>): NSArray
|
|
938
|
+
|
|
939
|
+
rendererForOverlay(overlay: MKOverlay): MKOverlayRenderer
|
|
940
|
+
|
|
941
|
+
addOverlay(overlay: MKOverlay): void
|
|
942
|
+
|
|
943
|
+
addOverlays(overlays: NSArray<interop.Object> | Array<interop.Object>): void
|
|
944
|
+
|
|
945
|
+
insertOverlayAtIndex(overlay: MKOverlay, index: number): void
|
|
946
|
+
|
|
947
|
+
exchangeOverlayAtIndexWithOverlayAtIndex(index1: number, index2: number): void
|
|
948
|
+
|
|
949
|
+
encodeWithCoder(coder: NSCoder): void
|
|
950
|
+
|
|
951
|
+
initWithCoder(coder: NSCoder): this
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
declare class MKOverlayRenderer extends NSObject {
|
|
955
|
+
initWithOverlay(overlay: MKOverlay): this
|
|
956
|
+
|
|
957
|
+
readonly overlay: MKOverlay
|
|
958
|
+
|
|
959
|
+
pointForMapPoint(mapPoint: MKMapPoint): CGPoint
|
|
960
|
+
|
|
961
|
+
mapPointForPoint(point: CGPoint): MKMapPoint
|
|
962
|
+
|
|
963
|
+
rectForMapRect(mapRect: MKMapRect): CGRect
|
|
964
|
+
|
|
965
|
+
mapRectForRect(rect: CGRect): MKMapRect
|
|
966
|
+
|
|
967
|
+
canDrawMapRectZoomScale(mapRect: MKMapRect, zoomScale: number): boolean
|
|
968
|
+
|
|
969
|
+
drawMapRectZoomScaleInContext(
|
|
970
|
+
mapRect: MKMapRect,
|
|
971
|
+
zoomScale: number,
|
|
972
|
+
context: interop.Object,
|
|
973
|
+
): void
|
|
974
|
+
|
|
975
|
+
setNeedsDisplay(): void
|
|
976
|
+
|
|
977
|
+
setNeedsDisplayInMapRect(mapRect: MKMapRect): void
|
|
978
|
+
|
|
979
|
+
setNeedsDisplayInMapRectZoomScale(mapRect: MKMapRect, zoomScale: number): void
|
|
980
|
+
|
|
981
|
+
alpha: number
|
|
982
|
+
|
|
983
|
+
readonly contentScaleFactor: number
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
declare class MKLocalSearchCompleter extends NSObject {
|
|
987
|
+
queryFragment: string
|
|
988
|
+
|
|
989
|
+
region: MKCoordinateRegion
|
|
990
|
+
|
|
991
|
+
filterType: interop.Enum<typeof MKSearchCompletionFilterType>
|
|
992
|
+
|
|
993
|
+
resultTypes: interop.Enum<typeof MKLocalSearchCompleterResultType>
|
|
994
|
+
|
|
995
|
+
pointOfInterestFilter: MKPointOfInterestFilter
|
|
996
|
+
|
|
997
|
+
delegate: MKLocalSearchCompleterDelegate
|
|
998
|
+
|
|
999
|
+
readonly results: NSArray
|
|
1000
|
+
|
|
1001
|
+
readonly searching: boolean
|
|
1002
|
+
|
|
1003
|
+
cancel(): void
|
|
1004
|
+
|
|
1005
|
+
isSearching(): boolean
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
declare class MKLocalPointsOfInterestRequest extends NSObject implements NSCopying {
|
|
1009
|
+
initWithCenterCoordinateRadius(coordinate: CLLocationCoordinate2D, radius: number): this
|
|
1010
|
+
|
|
1011
|
+
initWithCoordinateRegion(region: MKCoordinateRegion): this
|
|
1012
|
+
|
|
1013
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1014
|
+
|
|
1015
|
+
readonly radius: number
|
|
1016
|
+
|
|
1017
|
+
readonly region: MKCoordinateRegion
|
|
1018
|
+
|
|
1019
|
+
pointOfInterestFilter: MKPointOfInterestFilter
|
|
1020
|
+
|
|
1021
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
declare class MKPointOfInterestFilter extends NSObject implements NSSecureCoding, NSCopying {
|
|
1025
|
+
static readonly filterIncludingAllCategories: MKPointOfInterestFilter
|
|
1026
|
+
|
|
1027
|
+
static readonly filterExcludingAllCategories: MKPointOfInterestFilter
|
|
1028
|
+
|
|
1029
|
+
initIncludingCategories(categories: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1030
|
+
|
|
1031
|
+
initExcludingCategories(categories: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1032
|
+
|
|
1033
|
+
includesCategory(category: string): boolean
|
|
1034
|
+
|
|
1035
|
+
excludesCategory(category: string): boolean
|
|
1036
|
+
|
|
1037
|
+
static readonly supportsSecureCoding: boolean
|
|
1038
|
+
|
|
1039
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1040
|
+
|
|
1041
|
+
initWithCoder(coder: NSCoder): this
|
|
1042
|
+
|
|
1043
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
declare class MKGeoJSONFeature extends NSObject implements MKGeoJSONObject {
|
|
1047
|
+
readonly identifier: string
|
|
1048
|
+
|
|
1049
|
+
readonly properties: NSData
|
|
1050
|
+
|
|
1051
|
+
readonly geometry: NSArray
|
|
1052
|
+
|
|
1053
|
+
isEqual(object: interop.Object): boolean
|
|
1054
|
+
|
|
1055
|
+
readonly hash: number
|
|
1056
|
+
|
|
1057
|
+
readonly superclass: interop.Pointer
|
|
1058
|
+
|
|
1059
|
+
class(): interop.Pointer
|
|
1060
|
+
|
|
1061
|
+
self(): this
|
|
1062
|
+
|
|
1063
|
+
performSelector(aSelector: string): interop.Object
|
|
1064
|
+
|
|
1065
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1066
|
+
|
|
1067
|
+
performSelectorWithObjectWithObject(
|
|
1068
|
+
aSelector: string,
|
|
1069
|
+
object1: interop.Object,
|
|
1070
|
+
object2: interop.Object,
|
|
1071
|
+
): interop.Object
|
|
1072
|
+
|
|
1073
|
+
readonly isProxy: boolean
|
|
1074
|
+
|
|
1075
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1076
|
+
|
|
1077
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1078
|
+
|
|
1079
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1080
|
+
|
|
1081
|
+
respondsToSelector(aSelector: string): boolean
|
|
1082
|
+
|
|
1083
|
+
retain(): this
|
|
1084
|
+
|
|
1085
|
+
release(): void
|
|
1086
|
+
|
|
1087
|
+
autorelease(): this
|
|
1088
|
+
|
|
1089
|
+
retainCount(): number
|
|
1090
|
+
|
|
1091
|
+
readonly zone: interop.Pointer
|
|
1092
|
+
|
|
1093
|
+
readonly description: string
|
|
1094
|
+
|
|
1095
|
+
readonly debugDescription: string
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
1099
|
+
declare class MKMultiPolygon extends MKShape implements MKOverlay, MKGeoJSONObject {
|
|
1100
|
+
initWithPolygons(polygons: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1101
|
+
|
|
1102
|
+
readonly polygons: NSArray
|
|
1103
|
+
|
|
1104
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1105
|
+
|
|
1106
|
+
readonly boundingMapRect: MKMapRect
|
|
1107
|
+
|
|
1108
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
1109
|
+
|
|
1110
|
+
canReplaceMapContent: boolean
|
|
1111
|
+
|
|
1112
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1113
|
+
readonly title: string
|
|
1114
|
+
|
|
1115
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1116
|
+
readonly subtitle: string
|
|
1117
|
+
|
|
1118
|
+
isEqual(object: interop.Object): boolean
|
|
1119
|
+
|
|
1120
|
+
readonly hash: number
|
|
1121
|
+
|
|
1122
|
+
readonly superclass: interop.Pointer
|
|
1123
|
+
|
|
1124
|
+
class(): interop.Pointer
|
|
1125
|
+
|
|
1126
|
+
self(): this
|
|
1127
|
+
|
|
1128
|
+
performSelector(aSelector: string): interop.Object
|
|
1129
|
+
|
|
1130
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1131
|
+
|
|
1132
|
+
performSelectorWithObjectWithObject(
|
|
1133
|
+
aSelector: string,
|
|
1134
|
+
object1: interop.Object,
|
|
1135
|
+
object2: interop.Object,
|
|
1136
|
+
): interop.Object
|
|
1137
|
+
|
|
1138
|
+
readonly isProxy: boolean
|
|
1139
|
+
|
|
1140
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1141
|
+
|
|
1142
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1143
|
+
|
|
1144
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1145
|
+
|
|
1146
|
+
respondsToSelector(aSelector: string): boolean
|
|
1147
|
+
|
|
1148
|
+
retain(): this
|
|
1149
|
+
|
|
1150
|
+
release(): void
|
|
1151
|
+
|
|
1152
|
+
autorelease(): this
|
|
1153
|
+
|
|
1154
|
+
retainCount(): number
|
|
1155
|
+
|
|
1156
|
+
readonly zone: interop.Pointer
|
|
1157
|
+
|
|
1158
|
+
readonly description: string
|
|
1159
|
+
|
|
1160
|
+
readonly debugDescription: string
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
1164
|
+
declare class MKPolygon extends MKMultiPoint implements MKOverlay, MKGeoJSONObject {
|
|
1165
|
+
static polygonWithPointsCount<This extends abstract new (...args: any) => any>(
|
|
1166
|
+
this: This,
|
|
1167
|
+
points: interop.PointerConvertible,
|
|
1168
|
+
count: number,
|
|
1169
|
+
): InstanceType<This>
|
|
1170
|
+
|
|
1171
|
+
static polygonWithPointsCountInteriorPolygons<This extends abstract new (...args: any) => any>(
|
|
1172
|
+
this: This,
|
|
1173
|
+
points: interop.PointerConvertible,
|
|
1174
|
+
count: number,
|
|
1175
|
+
interiorPolygons: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
1176
|
+
): InstanceType<This>
|
|
1177
|
+
|
|
1178
|
+
static polygonWithCoordinatesCount<This extends abstract new (...args: any) => any>(
|
|
1179
|
+
this: This,
|
|
1180
|
+
coords: interop.PointerConvertible,
|
|
1181
|
+
count: number,
|
|
1182
|
+
): InstanceType<This>
|
|
1183
|
+
|
|
1184
|
+
static polygonWithCoordinatesCountInteriorPolygons<
|
|
1185
|
+
This extends abstract new (...args: any) => any,
|
|
1186
|
+
>(
|
|
1187
|
+
this: This,
|
|
1188
|
+
coords: interop.PointerConvertible,
|
|
1189
|
+
count: number,
|
|
1190
|
+
interiorPolygons: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
1191
|
+
): InstanceType<This>
|
|
1192
|
+
|
|
1193
|
+
readonly interiorPolygons: NSArray
|
|
1194
|
+
|
|
1195
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1196
|
+
|
|
1197
|
+
readonly boundingMapRect: MKMapRect
|
|
1198
|
+
|
|
1199
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
1200
|
+
|
|
1201
|
+
canReplaceMapContent: boolean
|
|
1202
|
+
|
|
1203
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1204
|
+
readonly title: string
|
|
1205
|
+
|
|
1206
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1207
|
+
readonly subtitle: string
|
|
1208
|
+
|
|
1209
|
+
isEqual(object: interop.Object): boolean
|
|
1210
|
+
|
|
1211
|
+
readonly hash: number
|
|
1212
|
+
|
|
1213
|
+
readonly superclass: interop.Pointer
|
|
1214
|
+
|
|
1215
|
+
class(): interop.Pointer
|
|
1216
|
+
|
|
1217
|
+
self(): this
|
|
1218
|
+
|
|
1219
|
+
performSelector(aSelector: string): interop.Object
|
|
1220
|
+
|
|
1221
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1222
|
+
|
|
1223
|
+
performSelectorWithObjectWithObject(
|
|
1224
|
+
aSelector: string,
|
|
1225
|
+
object1: interop.Object,
|
|
1226
|
+
object2: interop.Object,
|
|
1227
|
+
): interop.Object
|
|
1228
|
+
|
|
1229
|
+
readonly isProxy: boolean
|
|
1230
|
+
|
|
1231
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1232
|
+
|
|
1233
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1234
|
+
|
|
1235
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1236
|
+
|
|
1237
|
+
respondsToSelector(aSelector: string): boolean
|
|
1238
|
+
|
|
1239
|
+
retain(): this
|
|
1240
|
+
|
|
1241
|
+
release(): void
|
|
1242
|
+
|
|
1243
|
+
autorelease(): this
|
|
1244
|
+
|
|
1245
|
+
retainCount(): number
|
|
1246
|
+
|
|
1247
|
+
readonly zone: interop.Pointer
|
|
1248
|
+
|
|
1249
|
+
readonly description: string
|
|
1250
|
+
|
|
1251
|
+
readonly debugDescription: string
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
1255
|
+
declare class MKMultiPolyline extends MKShape implements MKOverlay, MKGeoJSONObject {
|
|
1256
|
+
initWithPolylines(polylines: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1257
|
+
|
|
1258
|
+
readonly polylines: NSArray
|
|
1259
|
+
|
|
1260
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1261
|
+
|
|
1262
|
+
readonly boundingMapRect: MKMapRect
|
|
1263
|
+
|
|
1264
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
1265
|
+
|
|
1266
|
+
canReplaceMapContent: boolean
|
|
1267
|
+
|
|
1268
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1269
|
+
readonly title: string
|
|
1270
|
+
|
|
1271
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1272
|
+
readonly subtitle: string
|
|
1273
|
+
|
|
1274
|
+
isEqual(object: interop.Object): boolean
|
|
1275
|
+
|
|
1276
|
+
readonly hash: number
|
|
1277
|
+
|
|
1278
|
+
readonly superclass: interop.Pointer
|
|
1279
|
+
|
|
1280
|
+
class(): interop.Pointer
|
|
1281
|
+
|
|
1282
|
+
self(): this
|
|
1283
|
+
|
|
1284
|
+
performSelector(aSelector: string): interop.Object
|
|
1285
|
+
|
|
1286
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1287
|
+
|
|
1288
|
+
performSelectorWithObjectWithObject(
|
|
1289
|
+
aSelector: string,
|
|
1290
|
+
object1: interop.Object,
|
|
1291
|
+
object2: interop.Object,
|
|
1292
|
+
): interop.Object
|
|
1293
|
+
|
|
1294
|
+
readonly isProxy: boolean
|
|
1295
|
+
|
|
1296
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1297
|
+
|
|
1298
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1299
|
+
|
|
1300
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1301
|
+
|
|
1302
|
+
respondsToSelector(aSelector: string): boolean
|
|
1303
|
+
|
|
1304
|
+
retain(): this
|
|
1305
|
+
|
|
1306
|
+
release(): void
|
|
1307
|
+
|
|
1308
|
+
autorelease(): this
|
|
1309
|
+
|
|
1310
|
+
retainCount(): number
|
|
1311
|
+
|
|
1312
|
+
readonly zone: interop.Pointer
|
|
1313
|
+
|
|
1314
|
+
readonly description: string
|
|
1315
|
+
|
|
1316
|
+
readonly debugDescription: string
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
1320
|
+
declare class MKPolyline extends MKMultiPoint implements MKOverlay, MKGeoJSONObject {
|
|
1321
|
+
static polylineWithPointsCount<This extends abstract new (...args: any) => any>(
|
|
1322
|
+
this: This,
|
|
1323
|
+
points: interop.PointerConvertible,
|
|
1324
|
+
count: number,
|
|
1325
|
+
): InstanceType<This>
|
|
1326
|
+
|
|
1327
|
+
static polylineWithCoordinatesCount<This extends abstract new (...args: any) => any>(
|
|
1328
|
+
this: This,
|
|
1329
|
+
coords: interop.PointerConvertible,
|
|
1330
|
+
count: number,
|
|
1331
|
+
): InstanceType<This>
|
|
1332
|
+
|
|
1333
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1334
|
+
|
|
1335
|
+
readonly boundingMapRect: MKMapRect
|
|
1336
|
+
|
|
1337
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
1338
|
+
|
|
1339
|
+
canReplaceMapContent: boolean
|
|
1340
|
+
|
|
1341
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1342
|
+
readonly title: string
|
|
1343
|
+
|
|
1344
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1345
|
+
readonly subtitle: string
|
|
1346
|
+
|
|
1347
|
+
isEqual(object: interop.Object): boolean
|
|
1348
|
+
|
|
1349
|
+
readonly hash: number
|
|
1350
|
+
|
|
1351
|
+
readonly superclass: interop.Pointer
|
|
1352
|
+
|
|
1353
|
+
class(): interop.Pointer
|
|
1354
|
+
|
|
1355
|
+
self(): this
|
|
1356
|
+
|
|
1357
|
+
performSelector(aSelector: string): interop.Object
|
|
1358
|
+
|
|
1359
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1360
|
+
|
|
1361
|
+
performSelectorWithObjectWithObject(
|
|
1362
|
+
aSelector: string,
|
|
1363
|
+
object1: interop.Object,
|
|
1364
|
+
object2: interop.Object,
|
|
1365
|
+
): interop.Object
|
|
1366
|
+
|
|
1367
|
+
readonly isProxy: boolean
|
|
1368
|
+
|
|
1369
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1370
|
+
|
|
1371
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1372
|
+
|
|
1373
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1374
|
+
|
|
1375
|
+
respondsToSelector(aSelector: string): boolean
|
|
1376
|
+
|
|
1377
|
+
retain(): this
|
|
1378
|
+
|
|
1379
|
+
release(): void
|
|
1380
|
+
|
|
1381
|
+
autorelease(): this
|
|
1382
|
+
|
|
1383
|
+
retainCount(): number
|
|
1384
|
+
|
|
1385
|
+
readonly zone: interop.Pointer
|
|
1386
|
+
|
|
1387
|
+
readonly description: string
|
|
1388
|
+
|
|
1389
|
+
readonly debugDescription: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
1393
|
+
declare class MKPointAnnotation extends MKShape implements MKGeoJSONObject {
|
|
1394
|
+
init(): this
|
|
1395
|
+
|
|
1396
|
+
initWithCoordinate(coordinate: CLLocationCoordinate2D): this
|
|
1397
|
+
|
|
1398
|
+
initWithCoordinateTitleSubtitle(
|
|
1399
|
+
coordinate: CLLocationCoordinate2D,
|
|
1400
|
+
title: string | null,
|
|
1401
|
+
subtitle: string | null,
|
|
1402
|
+
): this
|
|
1403
|
+
|
|
1404
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
1405
|
+
coordinate: CLLocationCoordinate2D
|
|
1406
|
+
|
|
1407
|
+
isEqual(object: interop.Object): boolean
|
|
1408
|
+
|
|
1409
|
+
readonly hash: number
|
|
1410
|
+
|
|
1411
|
+
readonly superclass: interop.Pointer
|
|
1412
|
+
|
|
1413
|
+
class(): interop.Pointer
|
|
1414
|
+
|
|
1415
|
+
self(): this
|
|
1416
|
+
|
|
1417
|
+
performSelector(aSelector: string): interop.Object
|
|
1418
|
+
|
|
1419
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1420
|
+
|
|
1421
|
+
performSelectorWithObjectWithObject(
|
|
1422
|
+
aSelector: string,
|
|
1423
|
+
object1: interop.Object,
|
|
1424
|
+
object2: interop.Object,
|
|
1425
|
+
): interop.Object
|
|
1426
|
+
|
|
1427
|
+
readonly isProxy: boolean
|
|
1428
|
+
|
|
1429
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1430
|
+
|
|
1431
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1432
|
+
|
|
1433
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1434
|
+
|
|
1435
|
+
respondsToSelector(aSelector: string): boolean
|
|
1436
|
+
|
|
1437
|
+
retain(): this
|
|
1438
|
+
|
|
1439
|
+
release(): void
|
|
1440
|
+
|
|
1441
|
+
autorelease(): this
|
|
1442
|
+
|
|
1443
|
+
retainCount(): number
|
|
1444
|
+
|
|
1445
|
+
readonly zone: interop.Pointer
|
|
1446
|
+
|
|
1447
|
+
readonly description: string
|
|
1448
|
+
|
|
1449
|
+
readonly debugDescription: string
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
declare class MKDistanceFormatter extends NSFormatter {
|
|
1453
|
+
stringFromDistance(distance: number): string
|
|
1454
|
+
|
|
1455
|
+
distanceFromString(distance: string): number
|
|
1456
|
+
|
|
1457
|
+
locale: NSLocale
|
|
1458
|
+
|
|
1459
|
+
units: interop.Enum<typeof MKDistanceFormatterUnits>
|
|
1460
|
+
|
|
1461
|
+
unitStyle: interop.Enum<typeof MKDistanceFormatterUnitStyle>
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
declare class MKETAResponse extends NSObject {
|
|
1465
|
+
readonly source: MKMapItem
|
|
1466
|
+
|
|
1467
|
+
readonly destination: MKMapItem
|
|
1468
|
+
|
|
1469
|
+
readonly expectedTravelTime: number
|
|
1470
|
+
|
|
1471
|
+
readonly distance: number
|
|
1472
|
+
|
|
1473
|
+
readonly expectedArrivalDate: NSDate
|
|
1474
|
+
|
|
1475
|
+
readonly expectedDepartureDate: NSDate
|
|
1476
|
+
|
|
1477
|
+
readonly transportType: interop.Enum<typeof MKDirectionsTransportType>
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
declare class MKRouteStep extends NSObject {
|
|
1481
|
+
readonly instructions: string
|
|
1482
|
+
|
|
1483
|
+
readonly notice: string
|
|
1484
|
+
|
|
1485
|
+
readonly polyline: MKPolyline
|
|
1486
|
+
|
|
1487
|
+
readonly distance: number
|
|
1488
|
+
|
|
1489
|
+
readonly transportType: interop.Enum<typeof MKDirectionsTransportType>
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
declare class MKRoute extends NSObject {
|
|
1493
|
+
readonly name: string
|
|
1494
|
+
|
|
1495
|
+
readonly advisoryNotices: NSArray
|
|
1496
|
+
|
|
1497
|
+
readonly distance: number
|
|
1498
|
+
|
|
1499
|
+
readonly expectedTravelTime: number
|
|
1500
|
+
|
|
1501
|
+
readonly transportType: interop.Enum<typeof MKDirectionsTransportType>
|
|
1502
|
+
|
|
1503
|
+
readonly polyline: MKPolyline
|
|
1504
|
+
|
|
1505
|
+
readonly steps: NSArray
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
declare class MKDirectionsRequest extends NSObject {
|
|
1509
|
+
source: MKMapItem
|
|
1510
|
+
|
|
1511
|
+
destination: MKMapItem
|
|
1512
|
+
|
|
1513
|
+
transportType: interop.Enum<typeof MKDirectionsTransportType>
|
|
1514
|
+
|
|
1515
|
+
requestsAlternateRoutes: boolean
|
|
1516
|
+
|
|
1517
|
+
departureDate: NSDate
|
|
1518
|
+
|
|
1519
|
+
arrivalDate: NSDate
|
|
1520
|
+
|
|
1521
|
+
initWithContentsOfURL(url: NSURL): this
|
|
1522
|
+
|
|
1523
|
+
static isDirectionsRequestURL(url: NSURL): boolean
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
declare class MKMapItem extends NSObject implements NSSecureCoding {
|
|
1527
|
+
readonly placemark: MKPlacemark
|
|
1528
|
+
|
|
1529
|
+
readonly isCurrentLocation: boolean
|
|
1530
|
+
|
|
1531
|
+
name: string
|
|
1532
|
+
|
|
1533
|
+
phoneNumber: string
|
|
1534
|
+
|
|
1535
|
+
url: NSURL
|
|
1536
|
+
|
|
1537
|
+
timeZone: NSTimeZone
|
|
1538
|
+
|
|
1539
|
+
pointOfInterestCategory: string
|
|
1540
|
+
|
|
1541
|
+
static mapItemForCurrentLocation(): MKMapItem
|
|
1542
|
+
|
|
1543
|
+
initWithPlacemark(placemark: MKPlacemark): this
|
|
1544
|
+
|
|
1545
|
+
openInMapsWithLaunchOptions(
|
|
1546
|
+
launchOptions:
|
|
1547
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1548
|
+
| Record<interop.Object, interop.Object>
|
|
1549
|
+
| null,
|
|
1550
|
+
): boolean
|
|
1551
|
+
|
|
1552
|
+
static openMapsWithItemsLaunchOptions(
|
|
1553
|
+
mapItems: NSArray<interop.Object> | Array<interop.Object>,
|
|
1554
|
+
launchOptions:
|
|
1555
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1556
|
+
| Record<interop.Object, interop.Object>
|
|
1557
|
+
| null,
|
|
1558
|
+
): boolean
|
|
1559
|
+
|
|
1560
|
+
static readonly supportsSecureCoding: boolean
|
|
1561
|
+
|
|
1562
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1563
|
+
|
|
1564
|
+
initWithCoder(coder: NSCoder): this
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
declare class MKPlacemark extends CLPlacemark implements MKAnnotation {
|
|
1568
|
+
initWithCoordinate(coordinate: CLLocationCoordinate2D): this
|
|
1569
|
+
|
|
1570
|
+
initWithCoordinateAddressDictionary(
|
|
1571
|
+
coordinate: CLLocationCoordinate2D,
|
|
1572
|
+
addressDictionary:
|
|
1573
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1574
|
+
| Record<interop.Object, interop.Object>
|
|
1575
|
+
| null,
|
|
1576
|
+
): this
|
|
1577
|
+
|
|
1578
|
+
initWithCoordinatePostalAddress(
|
|
1579
|
+
coordinate: CLLocationCoordinate2D,
|
|
1580
|
+
postalAddress: CNPostalAddress,
|
|
1581
|
+
): this
|
|
1582
|
+
|
|
1583
|
+
readonly countryCode: string
|
|
1584
|
+
|
|
1585
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1586
|
+
|
|
1587
|
+
readonly title: string
|
|
1588
|
+
|
|
1589
|
+
readonly subtitle: string
|
|
1590
|
+
|
|
1591
|
+
isEqual(object: interop.Object): boolean
|
|
1592
|
+
|
|
1593
|
+
readonly hash: number
|
|
1594
|
+
|
|
1595
|
+
readonly superclass: interop.Pointer
|
|
1596
|
+
|
|
1597
|
+
class(): interop.Pointer
|
|
1598
|
+
|
|
1599
|
+
self(): this
|
|
1600
|
+
|
|
1601
|
+
performSelector(aSelector: string): interop.Object
|
|
1602
|
+
|
|
1603
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1604
|
+
|
|
1605
|
+
performSelectorWithObjectWithObject(
|
|
1606
|
+
aSelector: string,
|
|
1607
|
+
object1: interop.Object,
|
|
1608
|
+
object2: interop.Object,
|
|
1609
|
+
): interop.Object
|
|
1610
|
+
|
|
1611
|
+
readonly isProxy: boolean
|
|
1612
|
+
|
|
1613
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1614
|
+
|
|
1615
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1616
|
+
|
|
1617
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1618
|
+
|
|
1619
|
+
respondsToSelector(aSelector: string): boolean
|
|
1620
|
+
|
|
1621
|
+
retain(): this
|
|
1622
|
+
|
|
1623
|
+
release(): void
|
|
1624
|
+
|
|
1625
|
+
autorelease(): this
|
|
1626
|
+
|
|
1627
|
+
retainCount(): number
|
|
1628
|
+
|
|
1629
|
+
readonly zone: interop.Pointer
|
|
1630
|
+
|
|
1631
|
+
readonly description: string
|
|
1632
|
+
|
|
1633
|
+
readonly debugDescription: string
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
declare class MKShape extends NSObject implements MKAnnotation {
|
|
1637
|
+
title: string
|
|
1638
|
+
|
|
1639
|
+
subtitle: string
|
|
1640
|
+
|
|
1641
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
1642
|
+
|
|
1643
|
+
isEqual(object: interop.Object): boolean
|
|
1644
|
+
|
|
1645
|
+
readonly hash: number
|
|
1646
|
+
|
|
1647
|
+
readonly superclass: interop.Pointer
|
|
1648
|
+
|
|
1649
|
+
class(): interop.Pointer
|
|
1650
|
+
|
|
1651
|
+
self(): this
|
|
1652
|
+
|
|
1653
|
+
performSelector(aSelector: string): interop.Object
|
|
1654
|
+
|
|
1655
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1656
|
+
|
|
1657
|
+
performSelectorWithObjectWithObject(
|
|
1658
|
+
aSelector: string,
|
|
1659
|
+
object1: interop.Object,
|
|
1660
|
+
object2: interop.Object,
|
|
1661
|
+
): interop.Object
|
|
1662
|
+
|
|
1663
|
+
readonly isProxy: boolean
|
|
1664
|
+
|
|
1665
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1666
|
+
|
|
1667
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1668
|
+
|
|
1669
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1670
|
+
|
|
1671
|
+
respondsToSelector(aSelector: string): boolean
|
|
1672
|
+
|
|
1673
|
+
retain(): this
|
|
1674
|
+
|
|
1675
|
+
release(): void
|
|
1676
|
+
|
|
1677
|
+
autorelease(): this
|
|
1678
|
+
|
|
1679
|
+
retainCount(): number
|
|
1680
|
+
|
|
1681
|
+
readonly zone: interop.Pointer
|
|
1682
|
+
|
|
1683
|
+
readonly description: string
|
|
1684
|
+
|
|
1685
|
+
readonly debugDescription: string
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
declare class MKMapCamera extends NSObject implements NSSecureCoding, NSCopying {
|
|
1689
|
+
centerCoordinate: CLLocationCoordinate2D
|
|
1690
|
+
|
|
1691
|
+
centerCoordinateDistance: number
|
|
1692
|
+
|
|
1693
|
+
heading: number
|
|
1694
|
+
|
|
1695
|
+
pitch: number
|
|
1696
|
+
|
|
1697
|
+
altitude: number
|
|
1698
|
+
|
|
1699
|
+
static camera<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
|
|
1700
|
+
|
|
1701
|
+
static cameraLookingAtCenterCoordinateFromEyeCoordinateEyeAltitude<
|
|
1702
|
+
This extends abstract new (...args: any) => any,
|
|
1703
|
+
>(
|
|
1704
|
+
this: This,
|
|
1705
|
+
centerCoordinate: CLLocationCoordinate2D,
|
|
1706
|
+
eyeCoordinate: CLLocationCoordinate2D,
|
|
1707
|
+
eyeAltitude: number,
|
|
1708
|
+
): InstanceType<This>
|
|
1709
|
+
|
|
1710
|
+
static cameraLookingAtCenterCoordinateFromDistancePitchHeading<
|
|
1711
|
+
This extends abstract new (...args: any) => any,
|
|
1712
|
+
>(
|
|
1713
|
+
this: This,
|
|
1714
|
+
centerCoordinate: CLLocationCoordinate2D,
|
|
1715
|
+
distance: number,
|
|
1716
|
+
pitch: number,
|
|
1717
|
+
heading: number,
|
|
1718
|
+
): InstanceType<This>
|
|
1719
|
+
|
|
1720
|
+
static readonly supportsSecureCoding: boolean
|
|
1721
|
+
|
|
1722
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1723
|
+
|
|
1724
|
+
initWithCoder(coder: NSCoder): this
|
|
1725
|
+
|
|
1726
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
declare class MKDirectionsResponse extends NSObject {
|
|
1730
|
+
readonly source: MKMapItem
|
|
1731
|
+
|
|
1732
|
+
readonly destination: MKMapItem
|
|
1733
|
+
|
|
1734
|
+
readonly routes: NSArray
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
declare class MKGradientPolylineRenderer extends MKPolylineRenderer {
|
|
1738
|
+
readonly locations: NSArray
|
|
1739
|
+
|
|
1740
|
+
readonly colors: NSArray
|
|
1741
|
+
|
|
1742
|
+
setColorsAtLocations(
|
|
1743
|
+
colors: NSArray<interop.Object> | Array<interop.Object>,
|
|
1744
|
+
locations: NSArray<interop.Object> | Array<interop.Object>,
|
|
1745
|
+
): void
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
declare class MKAnnotationView extends NSView {
|
|
1749
|
+
initWithAnnotationReuseIdentifier(
|
|
1750
|
+
annotation: MKAnnotation | null,
|
|
1751
|
+
reuseIdentifier: string | null,
|
|
1752
|
+
): this
|
|
1753
|
+
|
|
1754
|
+
initWithCoder(coder: NSCoder): this
|
|
1755
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
1756
|
+
|
|
1757
|
+
readonly reuseIdentifier: string
|
|
1758
|
+
|
|
1759
|
+
prepareForReuse(): void
|
|
1760
|
+
|
|
1761
|
+
prepareForDisplay(): void
|
|
1762
|
+
|
|
1763
|
+
annotation: MKAnnotation
|
|
1764
|
+
|
|
1765
|
+
image: NSImage
|
|
1766
|
+
|
|
1767
|
+
centerOffset: CGPoint
|
|
1768
|
+
|
|
1769
|
+
calloutOffset: CGPoint
|
|
1770
|
+
|
|
1771
|
+
leftCalloutOffset: CGPoint
|
|
1772
|
+
|
|
1773
|
+
rightCalloutOffset: CGPoint
|
|
1774
|
+
|
|
1775
|
+
enabled: boolean
|
|
1776
|
+
|
|
1777
|
+
highlighted: boolean
|
|
1778
|
+
|
|
1779
|
+
selected: boolean
|
|
1780
|
+
|
|
1781
|
+
setSelectedAnimated(selected: boolean, animated: boolean): void
|
|
1782
|
+
|
|
1783
|
+
canShowCallout: boolean
|
|
1784
|
+
|
|
1785
|
+
leftCalloutAccessoryView: NSView
|
|
1786
|
+
|
|
1787
|
+
rightCalloutAccessoryView: NSView
|
|
1788
|
+
|
|
1789
|
+
detailCalloutAccessoryView: NSView
|
|
1790
|
+
|
|
1791
|
+
draggable: boolean
|
|
1792
|
+
|
|
1793
|
+
dragState: interop.Enum<typeof MKAnnotationViewDragState>
|
|
1794
|
+
|
|
1795
|
+
setDragStateAnimated(
|
|
1796
|
+
newDragState: interop.Enum<typeof MKAnnotationViewDragState>,
|
|
1797
|
+
animated: boolean,
|
|
1798
|
+
): void
|
|
1799
|
+
|
|
1800
|
+
clusteringIdentifier: string
|
|
1801
|
+
|
|
1802
|
+
readonly clusterAnnotationView: MKAnnotationView
|
|
1803
|
+
|
|
1804
|
+
displayPriority: number
|
|
1805
|
+
|
|
1806
|
+
zPriority: number
|
|
1807
|
+
|
|
1808
|
+
selectedZPriority: number
|
|
1809
|
+
|
|
1810
|
+
collisionMode: interop.Enum<typeof MKAnnotationViewCollisionMode>
|
|
1811
|
+
|
|
1812
|
+
isEnabled(): boolean
|
|
1813
|
+
|
|
1814
|
+
isHighlighted(): boolean
|
|
1815
|
+
|
|
1816
|
+
isSelected(): boolean
|
|
1817
|
+
|
|
1818
|
+
isDraggable(): boolean
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
declare class MKCompassButton extends NSView {
|
|
1822
|
+
static compassButtonWithMapView<This extends abstract new (...args: any) => any>(
|
|
1823
|
+
this: This,
|
|
1824
|
+
mapView: MKMapView | null,
|
|
1825
|
+
): InstanceType<This>
|
|
1826
|
+
|
|
1827
|
+
mapView: MKMapView
|
|
1828
|
+
|
|
1829
|
+
compassVisibility: interop.Enum<typeof MKFeatureVisibility>
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
declare class MKMapCameraBoundary extends NSObject implements NSSecureCoding, NSCopying {
|
|
1833
|
+
initWithMapRect(mapRect: MKMapRect): this
|
|
1834
|
+
|
|
1835
|
+
initWithCoordinateRegion(region: MKCoordinateRegion): this
|
|
1836
|
+
|
|
1837
|
+
initWithCoder(coder: NSCoder): this
|
|
1838
|
+
|
|
1839
|
+
readonly mapRect: MKMapRect
|
|
1840
|
+
|
|
1841
|
+
readonly region: MKCoordinateRegion
|
|
1842
|
+
|
|
1843
|
+
static readonly supportsSecureCoding: boolean
|
|
1844
|
+
|
|
1845
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1846
|
+
|
|
1847
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
declare class MKDirections extends NSObject {
|
|
1851
|
+
initWithRequest(request: MKDirectionsRequest): this
|
|
1852
|
+
|
|
1853
|
+
calculateDirectionsWithCompletionHandler(
|
|
1854
|
+
completionHandler: (p1: MKDirectionsResponse, p2: NSError) => void,
|
|
1855
|
+
): void
|
|
1856
|
+
|
|
1857
|
+
calculateETAWithCompletionHandler(
|
|
1858
|
+
completionHandler: (p1: MKETAResponse, p2: NSError) => void,
|
|
1859
|
+
): void
|
|
1860
|
+
|
|
1861
|
+
cancel(): void
|
|
1862
|
+
|
|
1863
|
+
readonly calculating: boolean
|
|
1864
|
+
|
|
1865
|
+
isCalculating(): boolean
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare class MKMapSnapshot extends NSObject {
|
|
1869
|
+
readonly image: NSImage
|
|
1870
|
+
|
|
1871
|
+
readonly appearance: NSAppearance
|
|
1872
|
+
|
|
1873
|
+
pointForCoordinate(coordinate: CLLocationCoordinate2D): CGPoint
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
declare class MKUserLocationView extends MKAnnotationView {}
|
|
1877
|
+
|
|
1878
|
+
declare class MKLocalSearchCompletion extends NSObject {
|
|
1879
|
+
readonly title: string
|
|
1880
|
+
|
|
1881
|
+
readonly titleHighlightRanges: NSArray
|
|
1882
|
+
|
|
1883
|
+
readonly subtitle: string
|
|
1884
|
+
|
|
1885
|
+
readonly subtitleHighlightRanges: NSArray
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
declare class MKTileOverlayRenderer extends MKOverlayRenderer {
|
|
1889
|
+
initWithTileOverlay(overlay: MKTileOverlay): this
|
|
1890
|
+
|
|
1891
|
+
reloadData(): void
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
declare class MKPolylineRenderer extends MKOverlayPathRenderer {
|
|
1895
|
+
initWithPolyline(polyline: MKPolyline): this
|
|
1896
|
+
|
|
1897
|
+
readonly polyline: MKPolyline
|
|
1898
|
+
|
|
1899
|
+
strokeStart: number
|
|
1900
|
+
|
|
1901
|
+
strokeEnd: number
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
declare class MKPinAnnotationView extends MKAnnotationView {
|
|
1905
|
+
static redPinColor(): NSColor
|
|
1906
|
+
|
|
1907
|
+
static greenPinColor(): NSColor
|
|
1908
|
+
|
|
1909
|
+
static purplePinColor(): NSColor
|
|
1910
|
+
|
|
1911
|
+
pinTintColor: NSColor
|
|
1912
|
+
|
|
1913
|
+
animatesDrop: boolean
|
|
1914
|
+
|
|
1915
|
+
pinColor: interop.Enum<typeof MKPinAnnotationColor>
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare class MKZoomControl extends NSView {
|
|
1919
|
+
static zoomControlWithMapView<This extends abstract new (...args: any) => any>(
|
|
1920
|
+
this: This,
|
|
1921
|
+
mapView: MKMapView | null,
|
|
1922
|
+
): InstanceType<This>
|
|
1923
|
+
|
|
1924
|
+
mapView: MKMapView
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
declare class MKLocalSearchRequest extends NSObject implements NSCopying {
|
|
1928
|
+
init(): this
|
|
1929
|
+
|
|
1930
|
+
initWithNaturalLanguageQuery(naturalLanguageQuery: string): this
|
|
1931
|
+
|
|
1932
|
+
initWithNaturalLanguageQueryRegion(naturalLanguageQuery: string, region: MKCoordinateRegion): this
|
|
1933
|
+
|
|
1934
|
+
naturalLanguageQuery: string
|
|
1935
|
+
|
|
1936
|
+
region: MKCoordinateRegion
|
|
1937
|
+
|
|
1938
|
+
resultTypes: interop.Enum<typeof MKLocalSearchResultType>
|
|
1939
|
+
|
|
1940
|
+
pointOfInterestFilter: MKPointOfInterestFilter
|
|
1941
|
+
|
|
1942
|
+
initWithCompletion(completion: MKLocalSearchCompletion): this
|
|
1943
|
+
|
|
1944
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
declare class MKMultiPoint extends MKShape implements MKGeoJSONObject {
|
|
1948
|
+
points(): interop.Pointer
|
|
1949
|
+
|
|
1950
|
+
readonly pointCount: number
|
|
1951
|
+
|
|
1952
|
+
getCoordinatesRange(coords: interop.PointerConvertible, range: _NSRange): void
|
|
1953
|
+
|
|
1954
|
+
locationAtPointIndex(index: number): number
|
|
1955
|
+
|
|
1956
|
+
locationsAtPointIndexes(indexes: NSIndexSet): NSArray
|
|
1957
|
+
|
|
1958
|
+
isEqual(object: interop.Object): boolean
|
|
1959
|
+
|
|
1960
|
+
readonly hash: number
|
|
1961
|
+
|
|
1962
|
+
readonly superclass: interop.Pointer
|
|
1963
|
+
|
|
1964
|
+
class(): interop.Pointer
|
|
1965
|
+
|
|
1966
|
+
self(): this
|
|
1967
|
+
|
|
1968
|
+
performSelector(aSelector: string): interop.Object
|
|
1969
|
+
|
|
1970
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1971
|
+
|
|
1972
|
+
performSelectorWithObjectWithObject(
|
|
1973
|
+
aSelector: string,
|
|
1974
|
+
object1: interop.Object,
|
|
1975
|
+
object2: interop.Object,
|
|
1976
|
+
): interop.Object
|
|
1977
|
+
|
|
1978
|
+
readonly isProxy: boolean
|
|
1979
|
+
|
|
1980
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1981
|
+
|
|
1982
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1983
|
+
|
|
1984
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1985
|
+
|
|
1986
|
+
respondsToSelector(aSelector: string): boolean
|
|
1987
|
+
|
|
1988
|
+
retain(): this
|
|
1989
|
+
|
|
1990
|
+
release(): void
|
|
1991
|
+
|
|
1992
|
+
autorelease(): this
|
|
1993
|
+
|
|
1994
|
+
retainCount(): number
|
|
1995
|
+
|
|
1996
|
+
readonly zone: interop.Pointer
|
|
1997
|
+
|
|
1998
|
+
readonly description: string
|
|
1999
|
+
|
|
2000
|
+
readonly debugDescription: string
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
declare class MKLocalSearchResponse extends NSObject {
|
|
2004
|
+
readonly mapItems: NSArray
|
|
2005
|
+
|
|
2006
|
+
readonly boundingRegion: MKCoordinateRegion
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
declare class MKPolygonRenderer extends MKOverlayPathRenderer {
|
|
2010
|
+
initWithPolygon(polygon: MKPolygon): this
|
|
2011
|
+
|
|
2012
|
+
readonly polygon: MKPolygon
|
|
2013
|
+
|
|
2014
|
+
strokeStart: number
|
|
2015
|
+
|
|
2016
|
+
strokeEnd: number
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
declare class MKGeoJSONDecoder extends NSObject {
|
|
2020
|
+
geoJSONObjectsWithDataError(data: NSData, errorPtr: interop.PointerConvertible): NSArray | null
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
declare class MKLocalSearch extends NSObject {
|
|
2024
|
+
initWithRequest(request: MKLocalSearchRequest): this
|
|
2025
|
+
|
|
2026
|
+
initWithPointsOfInterestRequest(request: MKLocalPointsOfInterestRequest): this
|
|
2027
|
+
|
|
2028
|
+
startWithCompletionHandler(
|
|
2029
|
+
completionHandler: (p1: MKLocalSearchResponse, p2: NSError) => void,
|
|
2030
|
+
): void
|
|
2031
|
+
|
|
2032
|
+
cancel(): void
|
|
2033
|
+
|
|
2034
|
+
readonly searching: boolean
|
|
2035
|
+
|
|
2036
|
+
isSearching(): boolean
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
2040
|
+
declare class MKCircle extends MKShape implements MKOverlay {
|
|
2041
|
+
static circleWithCenterCoordinateRadius<This extends abstract new (...args: any) => any>(
|
|
2042
|
+
this: This,
|
|
2043
|
+
coord: CLLocationCoordinate2D,
|
|
2044
|
+
radius: number,
|
|
2045
|
+
): InstanceType<This>
|
|
2046
|
+
|
|
2047
|
+
static circleWithMapRect<This extends abstract new (...args: any) => any>(
|
|
2048
|
+
this: This,
|
|
2049
|
+
mapRect: MKMapRect,
|
|
2050
|
+
): InstanceType<This>
|
|
2051
|
+
|
|
2052
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
2053
|
+
|
|
2054
|
+
readonly radius: number
|
|
2055
|
+
|
|
2056
|
+
readonly boundingMapRect: MKMapRect
|
|
2057
|
+
|
|
2058
|
+
intersectsMapRect(mapRect: MKMapRect): boolean
|
|
2059
|
+
|
|
2060
|
+
canReplaceMapContent: boolean
|
|
2061
|
+
|
|
2062
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
2063
|
+
readonly title: string
|
|
2064
|
+
|
|
2065
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
2066
|
+
readonly subtitle: string
|
|
2067
|
+
|
|
2068
|
+
isEqual(object: interop.Object): boolean
|
|
2069
|
+
|
|
2070
|
+
readonly hash: number
|
|
2071
|
+
|
|
2072
|
+
readonly superclass: interop.Pointer
|
|
2073
|
+
|
|
2074
|
+
class(): interop.Pointer
|
|
2075
|
+
|
|
2076
|
+
self(): this
|
|
2077
|
+
|
|
2078
|
+
performSelector(aSelector: string): interop.Object
|
|
2079
|
+
|
|
2080
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
2081
|
+
|
|
2082
|
+
performSelectorWithObjectWithObject(
|
|
2083
|
+
aSelector: string,
|
|
2084
|
+
object1: interop.Object,
|
|
2085
|
+
object2: interop.Object,
|
|
2086
|
+
): interop.Object
|
|
2087
|
+
|
|
2088
|
+
readonly isProxy: boolean
|
|
2089
|
+
|
|
2090
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
2091
|
+
|
|
2092
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
2093
|
+
|
|
2094
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
2095
|
+
|
|
2096
|
+
respondsToSelector(aSelector: string): boolean
|
|
2097
|
+
|
|
2098
|
+
retain(): this
|
|
2099
|
+
|
|
2100
|
+
release(): void
|
|
2101
|
+
|
|
2102
|
+
autorelease(): this
|
|
2103
|
+
|
|
2104
|
+
retainCount(): number
|
|
2105
|
+
|
|
2106
|
+
readonly zone: interop.Pointer
|
|
2107
|
+
|
|
2108
|
+
readonly description: string
|
|
2109
|
+
|
|
2110
|
+
readonly debugDescription: string
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
declare class MKGeodesicPolyline extends MKPolyline {
|
|
2114
|
+
static polylineWithPointsCount<This extends abstract new (...args: any) => any>(
|
|
2115
|
+
this: This,
|
|
2116
|
+
points: interop.PointerConvertible,
|
|
2117
|
+
count: number,
|
|
2118
|
+
): InstanceType<This>
|
|
2119
|
+
|
|
2120
|
+
static polylineWithCoordinatesCount<This extends abstract new (...args: any) => any>(
|
|
2121
|
+
this: This,
|
|
2122
|
+
coords: interop.PointerConvertible,
|
|
2123
|
+
count: number,
|
|
2124
|
+
): InstanceType<This>
|
|
2125
|
+
}
|