mapkit

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package mapkit provides purego-based Go bindings for the macOS MapKit framework.

Apple documentation: https://developer.apple.com/documentation/mapkit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MKAnnotationCalloutInfoDidChangeNotification

func MKAnnotationCalloutInfoDidChangeNotification() uintptr

func MKCoordinateForMapPoint

func MKCoordinateForMapPoint(mapPoint MKMapPoint) unsafe.Pointer

func MKDirectionsRequestIsDirectionsRequestURL

func MKDirectionsRequestIsDirectionsRequestURL(url *foundation.NSURL) bool

func MKErrorDomain

func MKErrorDomain() uintptr

func MKLaunchOptionsCameraKey

func MKLaunchOptionsCameraKey() uintptr

func MKLaunchOptionsDirectionsModeCycling

func MKLaunchOptionsDirectionsModeCycling() uintptr

func MKLaunchOptionsDirectionsModeDefault

func MKLaunchOptionsDirectionsModeDefault() uintptr

func MKLaunchOptionsDirectionsModeDriving

func MKLaunchOptionsDirectionsModeDriving() uintptr

func MKLaunchOptionsDirectionsModeKey

func MKLaunchOptionsDirectionsModeKey() uintptr

func MKLaunchOptionsDirectionsModeTransit

func MKLaunchOptionsDirectionsModeTransit() uintptr

func MKLaunchOptionsDirectionsModeWalking

func MKLaunchOptionsDirectionsModeWalking() uintptr

func MKLaunchOptionsMapCenterKey

func MKLaunchOptionsMapCenterKey() uintptr

func MKLaunchOptionsMapSpanKey

func MKLaunchOptionsMapSpanKey() uintptr

func MKLaunchOptionsMapTypeKey

func MKLaunchOptionsMapTypeKey() uintptr

func MKLaunchOptionsShowsTrafficKey

func MKLaunchOptionsShowsTrafficKey() uintptr

func MKMapCameraZoomDefault

func MKMapCameraZoomDefault() uintptr

func MKMapItemOpenMapsWithItemsLaunchOptions

func MKMapItemOpenMapsWithItemsLaunchOptions(mapItems *foundation.NSArray[*MKMapItem], launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID]) bool

Opens the Maps app and displays the specified map items.

func MKMapItemOpenMapsWithItemsLaunchOptionsCompletionHandler

func MKMapItemOpenMapsWithItemsLaunchOptionsCompletionHandler(mapItems *foundation.NSArray[*MKMapItem], launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(bool))

Opens the Maps app using the specified map items and options.

func MKMapItemTypeIdentifier

func MKMapItemTypeIdentifier() uintptr

func MKMapPointEqualToPoint

func MKMapPointEqualToPoint(point1 MKMapPoint, point2 MKMapPoint) bool

func MKMapPointsPerMeterAtLatitude

func MKMapPointsPerMeterAtLatitude(latitude unsafe.Pointer) float64

func MKMapRectContainsPoint

func MKMapRectContainsPoint(rect MKMapRect, point MKMapPoint) bool

func MKMapRectContainsRect

func MKMapRectContainsRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectDivide

func MKMapRectDivide(rect MKMapRect, slice *MKMapRect, remainder *MKMapRect, amount float64, edge corefoundation.CGRectEdge)

func MKMapRectEqualToRect

func MKMapRectEqualToRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectGetHeight

func MKMapRectGetHeight(rect MKMapRect) float64

func MKMapRectGetMaxX

func MKMapRectGetMaxX(rect MKMapRect) float64

func MKMapRectGetMaxY

func MKMapRectGetMaxY(rect MKMapRect) float64

func MKMapRectGetMidX

func MKMapRectGetMidX(rect MKMapRect) float64

func MKMapRectGetMidY

func MKMapRectGetMidY(rect MKMapRect) float64

func MKMapRectGetMinX

func MKMapRectGetMinX(rect MKMapRect) float64

func MKMapRectGetMinY

func MKMapRectGetMinY(rect MKMapRect) float64

func MKMapRectGetWidth

func MKMapRectGetWidth(rect MKMapRect) float64

func MKMapRectIntersectsRect

func MKMapRectIntersectsRect(rect1 MKMapRect, rect2 MKMapRect) bool

func MKMapRectIsEmpty

func MKMapRectIsEmpty(rect MKMapRect) bool

func MKMapRectIsNull

func MKMapRectIsNull(rect MKMapRect) bool

func MKMapRectSpans180thMeridian

func MKMapRectSpans180thMeridian(rect MKMapRect) bool

func MKMapSizeEqualToSize

func MKMapSizeEqualToSize(size1 MKMapSize, size2 MKMapSize) bool

func MKMapViewDefaultAnnotationViewReuseIdentifier

func MKMapViewDefaultAnnotationViewReuseIdentifier() uintptr

func MKMapViewDefaultClusterAnnotationViewReuseIdentifier

func MKMapViewDefaultClusterAnnotationViewReuseIdentifier() uintptr

func MKMetersBetweenMapPoints

func MKMetersBetweenMapPoints(a MKMapPoint, b MKMapPoint) unsafe.Pointer

func MKMetersPerMapPointAtLatitude

func MKMetersPerMapPointAtLatitude(latitude unsafe.Pointer) unsafe.Pointer

func MKPinAnnotationViewGreenPinColor

func MKPinAnnotationViewGreenPinColor() *appkit.NSColor

Returns the standard color for green pins.

func MKPinAnnotationViewPurplePinColor

func MKPinAnnotationViewPurplePinColor() *appkit.NSColor

Returns the standard color for purple pins.

func MKPinAnnotationViewRedPinColor

func MKPinAnnotationViewRedPinColor() *appkit.NSColor

Returns the standard color for red pins.

func MKPointOfInterestCategoryATM

func MKPointOfInterestCategoryATM() *foundation.NSString

func MKPointOfInterestCategoryAirport

func MKPointOfInterestCategoryAirport() *foundation.NSString

func MKPointOfInterestCategoryAmusementPark

func MKPointOfInterestCategoryAmusementPark() *foundation.NSString

func MKPointOfInterestCategoryAnimalService

func MKPointOfInterestCategoryAnimalService() *foundation.NSString

func MKPointOfInterestCategoryAquarium

func MKPointOfInterestCategoryAquarium() *foundation.NSString

func MKPointOfInterestCategoryAutomotiveRepair

func MKPointOfInterestCategoryAutomotiveRepair() *foundation.NSString

func MKPointOfInterestCategoryBakery

func MKPointOfInterestCategoryBakery() *foundation.NSString

func MKPointOfInterestCategoryBank

func MKPointOfInterestCategoryBank() *foundation.NSString

func MKPointOfInterestCategoryBaseball

func MKPointOfInterestCategoryBaseball() *foundation.NSString

func MKPointOfInterestCategoryBasketball

func MKPointOfInterestCategoryBasketball() *foundation.NSString

func MKPointOfInterestCategoryBeach

func MKPointOfInterestCategoryBeach() *foundation.NSString

func MKPointOfInterestCategoryBeauty

func MKPointOfInterestCategoryBeauty() *foundation.NSString

func MKPointOfInterestCategoryBowling

func MKPointOfInterestCategoryBowling() *foundation.NSString

func MKPointOfInterestCategoryBrewery

func MKPointOfInterestCategoryBrewery() *foundation.NSString

func MKPointOfInterestCategoryCafe

func MKPointOfInterestCategoryCafe() *foundation.NSString

func MKPointOfInterestCategoryCampground

func MKPointOfInterestCategoryCampground() *foundation.NSString

func MKPointOfInterestCategoryCarRental

func MKPointOfInterestCategoryCarRental() *foundation.NSString

func MKPointOfInterestCategoryCastle

func MKPointOfInterestCategoryCastle() *foundation.NSString

func MKPointOfInterestCategoryConventionCenter

func MKPointOfInterestCategoryConventionCenter() *foundation.NSString

func MKPointOfInterestCategoryDistillery

func MKPointOfInterestCategoryDistillery() *foundation.NSString

func MKPointOfInterestCategoryEVCharger

func MKPointOfInterestCategoryEVCharger() *foundation.NSString

func MKPointOfInterestCategoryFairground

func MKPointOfInterestCategoryFairground() *foundation.NSString

func MKPointOfInterestCategoryFireStation

func MKPointOfInterestCategoryFireStation() *foundation.NSString

func MKPointOfInterestCategoryFishing

func MKPointOfInterestCategoryFishing() *foundation.NSString

func MKPointOfInterestCategoryFitnessCenter

func MKPointOfInterestCategoryFitnessCenter() *foundation.NSString

func MKPointOfInterestCategoryFoodMarket

func MKPointOfInterestCategoryFoodMarket() *foundation.NSString

func MKPointOfInterestCategoryFortress

func MKPointOfInterestCategoryFortress() *foundation.NSString

func MKPointOfInterestCategoryGasStation

func MKPointOfInterestCategoryGasStation() *foundation.NSString

func MKPointOfInterestCategoryGoKart

func MKPointOfInterestCategoryGoKart() *foundation.NSString

func MKPointOfInterestCategoryGolf

func MKPointOfInterestCategoryGolf() *foundation.NSString

func MKPointOfInterestCategoryHiking

func MKPointOfInterestCategoryHiking() *foundation.NSString

func MKPointOfInterestCategoryHospital

func MKPointOfInterestCategoryHospital() *foundation.NSString

func MKPointOfInterestCategoryHotel

func MKPointOfInterestCategoryHotel() *foundation.NSString

func MKPointOfInterestCategoryKayaking

func MKPointOfInterestCategoryKayaking() *foundation.NSString

func MKPointOfInterestCategoryLandmark

func MKPointOfInterestCategoryLandmark() *foundation.NSString

func MKPointOfInterestCategoryLaundry

func MKPointOfInterestCategoryLaundry() *foundation.NSString

func MKPointOfInterestCategoryLibrary

func MKPointOfInterestCategoryLibrary() *foundation.NSString

func MKPointOfInterestCategoryMailbox

func MKPointOfInterestCategoryMailbox() *foundation.NSString

func MKPointOfInterestCategoryMarina

func MKPointOfInterestCategoryMarina() *foundation.NSString

func MKPointOfInterestCategoryMiniGolf

func MKPointOfInterestCategoryMiniGolf() *foundation.NSString

func MKPointOfInterestCategoryMovieTheater

func MKPointOfInterestCategoryMovieTheater() *foundation.NSString

func MKPointOfInterestCategoryMuseum

func MKPointOfInterestCategoryMuseum() *foundation.NSString

func MKPointOfInterestCategoryMusicVenue

func MKPointOfInterestCategoryMusicVenue() *foundation.NSString

func MKPointOfInterestCategoryNationalMonument

func MKPointOfInterestCategoryNationalMonument() *foundation.NSString

func MKPointOfInterestCategoryNationalPark

func MKPointOfInterestCategoryNationalPark() *foundation.NSString

func MKPointOfInterestCategoryNightlife

func MKPointOfInterestCategoryNightlife() *foundation.NSString

func MKPointOfInterestCategoryPark

func MKPointOfInterestCategoryPark() *foundation.NSString

func MKPointOfInterestCategoryParking

func MKPointOfInterestCategoryParking() *foundation.NSString

func MKPointOfInterestCategoryPharmacy

func MKPointOfInterestCategoryPharmacy() *foundation.NSString

func MKPointOfInterestCategoryPlanetarium

func MKPointOfInterestCategoryPlanetarium() *foundation.NSString

func MKPointOfInterestCategoryPolice

func MKPointOfInterestCategoryPolice() *foundation.NSString

func MKPointOfInterestCategoryPostOffice

func MKPointOfInterestCategoryPostOffice() *foundation.NSString

func MKPointOfInterestCategoryPublicTransport

func MKPointOfInterestCategoryPublicTransport() *foundation.NSString

func MKPointOfInterestCategoryRVPark

func MKPointOfInterestCategoryRVPark() *foundation.NSString

func MKPointOfInterestCategoryRestaurant

func MKPointOfInterestCategoryRestaurant() *foundation.NSString

func MKPointOfInterestCategoryRestroom

func MKPointOfInterestCategoryRestroom() *foundation.NSString

func MKPointOfInterestCategoryRockClimbing

func MKPointOfInterestCategoryRockClimbing() *foundation.NSString

func MKPointOfInterestCategorySchool

func MKPointOfInterestCategorySchool() *foundation.NSString

func MKPointOfInterestCategorySkatePark

func MKPointOfInterestCategorySkatePark() *foundation.NSString

func MKPointOfInterestCategorySkating

func MKPointOfInterestCategorySkating() *foundation.NSString

func MKPointOfInterestCategorySkiing

func MKPointOfInterestCategorySkiing() *foundation.NSString

func MKPointOfInterestCategorySoccer

func MKPointOfInterestCategorySoccer() *foundation.NSString

func MKPointOfInterestCategorySpa

func MKPointOfInterestCategorySpa() *foundation.NSString

func MKPointOfInterestCategoryStadium

func MKPointOfInterestCategoryStadium() *foundation.NSString

func MKPointOfInterestCategoryStore

func MKPointOfInterestCategoryStore() *foundation.NSString

func MKPointOfInterestCategorySurfing

func MKPointOfInterestCategorySurfing() *foundation.NSString

func MKPointOfInterestCategorySwimming

func MKPointOfInterestCategorySwimming() *foundation.NSString

func MKPointOfInterestCategoryTennis

func MKPointOfInterestCategoryTennis() *foundation.NSString

func MKPointOfInterestCategoryTheater

func MKPointOfInterestCategoryTheater() *foundation.NSString

func MKPointOfInterestCategoryUniversity

func MKPointOfInterestCategoryUniversity() *foundation.NSString

func MKPointOfInterestCategoryVolleyball

func MKPointOfInterestCategoryVolleyball() *foundation.NSString

func MKPointOfInterestCategoryWinery

func MKPointOfInterestCategoryWinery() *foundation.NSString

func MKPointOfInterestCategoryZoo

func MKPointOfInterestCategoryZoo() *foundation.NSString

func MKPointsOfInterestRequestMaxRadius

func MKPointsOfInterestRequestMaxRadius() uintptr

func MKRoadWidthAtZoomScale

func MKRoadWidthAtZoomScale(zoomScale float64) float64

func MKStringFromMapPoint

func MKStringFromMapPoint(point MKMapPoint) *foundation.NSString

func MKStringFromMapRect

func MKStringFromMapRect(rect MKMapRect) *foundation.NSString

func MKStringFromMapSize

func MKStringFromMapSize(size MKMapSize) *foundation.NSString

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int64
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type MKAddress

type MKAddress struct {
	foundation.NSObject
}

A class that contains a full address, and, optionally, a short address.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddress

func MKAddressFromID

func MKAddressFromID(id objc.ID) *MKAddress

func (*MKAddress) FullAddress

func (o *MKAddress) FullAddress() *foundation.NSString

func (*MKAddress) InitWithFullAddressShortAddress

func (o *MKAddress) InitWithFullAddressShortAddress(fullAddress *foundation.NSString, shortAddress *foundation.NSString) *MKAddress

Initializes a new address with a location’s full address using a string and a short address that provides an abbreviated form of the address such as a street address.

func (*MKAddress) ShortAddress

func (o *MKAddress) ShortAddress() *foundation.NSString

type MKAddressFilter

type MKAddressFilter struct {
	foundation.NSObject
}

An object that filters which address options to include or exclude in search results.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddressfilter

func MKAddressFilterFilterExcludingAll

func MKAddressFilterFilterExcludingAll() *MKAddressFilter

func MKAddressFilterFilterIncludingAll

func MKAddressFilterFilterIncludingAll() *MKAddressFilter

func MKAddressFilterFromID

func MKAddressFilterFromID(id objc.ID) *MKAddressFilter

func (*MKAddressFilter) ExcludesOptions

func (o *MKAddressFilter) ExcludesOptions(options MKAddressFilterOption) bool

Indicates whether options are excluded from filtering.

func (*MKAddressFilter) IncludesOptions

func (o *MKAddressFilter) IncludesOptions(options MKAddressFilterOption) bool

Indicates whether options are included for filtering.

func (*MKAddressFilter) InitExcludingOptions

func (o *MKAddressFilter) InitExcludingOptions(options MKAddressFilterOption) *MKAddressFilter

Creates an address filter with options for excluding results in a search.

func (*MKAddressFilter) InitIncludingOptions

func (o *MKAddressFilter) InitIncludingOptions(options MKAddressFilterOption) *MKAddressFilter

Creates an address filter with options for including results in a search.

type MKAddressFilterOption

type MKAddressFilterOption uint64

A structure that contains options for filtering results in a search.

const (
	MKAddressFilterOptionCountry               MKAddressFilterOption = 1
	MKAddressFilterOptionAdministrativeArea    MKAddressFilterOption = 2
	MKAddressFilterOptionSubAdministrativeArea MKAddressFilterOption = 4
	MKAddressFilterOptionLocality              MKAddressFilterOption = 8
	MKAddressFilterOptionSubLocality           MKAddressFilterOption = 16
	MKAddressFilterOptionPostalCode            MKAddressFilterOption = 32
)

func (MKAddressFilterOption) String

func (e MKAddressFilterOption) String() string

type MKAddressRepresentations

type MKAddressRepresentations struct {
	foundation.NSObject
}

A class that provides formatted address strings.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkaddressrepresentations

func MKAddressRepresentationsFromID

func MKAddressRepresentationsFromID(id objc.ID) *MKAddressRepresentations

func (*MKAddressRepresentations) CityName

func (*MKAddressRepresentations) CityWithContext

func (o *MKAddressRepresentations) CityWithContext() *foundation.NSString

func (*MKAddressRepresentations) CityWithContextUsingStyle

The city name and, optionally and if applicable, state and region to provide additional disambiguating context.

func (*MKAddressRepresentations) FullAddressIncludingRegionSingleLine

func (o *MKAddressRepresentations) FullAddressIncludingRegionSingleLine(includingRegion bool, singleLine bool) *foundation.NSString

Returns the the location’s full address, optionally including the country or on a single link without line breaks.

func (*MKAddressRepresentations) RegionCode

func (o *MKAddressRepresentations) RegionCode() *foundation.NSString

func (*MKAddressRepresentations) RegionName

func (o *MKAddressRepresentations) RegionName() *foundation.NSString

type MKAddressRepresentationsContextStyle

type MKAddressRepresentationsContextStyle int64
const (
	MKAddressRepresentationsContextStyleAutomatic MKAddressRepresentationsContextStyle = 0
	MKAddressRepresentationsContextStyleShort     MKAddressRepresentationsContextStyle = 1
	MKAddressRepresentationsContextStyleFull      MKAddressRepresentationsContextStyle = 2
)

func (MKAddressRepresentationsContextStyle) String

type MKAnnotation

type MKAnnotation interface {
}

MKAnnotation wraps the ObjC protocol MKAnnotation.

type MKAnnotationView

type MKAnnotationView struct {
	appkit.NSView
}

The visual representation of one of your annotation objects.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkannotationview

func MKAnnotationViewFromID

func MKAnnotationViewFromID(id objc.ID) *MKAnnotationView

func (*MKAnnotationView) AccessoryOffset

func (o *MKAnnotationView) AccessoryOffset() corefoundation.CGPoint

func (*MKAnnotationView) Annotation

func (o *MKAnnotationView) Annotation() MKAnnotation

func (*MKAnnotationView) CalloutOffset

func (o *MKAnnotationView) CalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) CanShowCallout

func (o *MKAnnotationView) CanShowCallout() bool

func (*MKAnnotationView) CenterOffset

func (o *MKAnnotationView) CenterOffset() corefoundation.CGPoint

func (*MKAnnotationView) ClusterAnnotationView

func (o *MKAnnotationView) ClusterAnnotationView() *MKAnnotationView

func (*MKAnnotationView) ClusteringIdentifier

func (o *MKAnnotationView) ClusteringIdentifier() *foundation.NSString

func (*MKAnnotationView) CollisionMode

func (*MKAnnotationView) DetailCalloutAccessoryView

func (o *MKAnnotationView) DetailCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) DisplayPriority

func (o *MKAnnotationView) DisplayPriority() float32

func (*MKAnnotationView) DragState

func (*MKAnnotationView) Image

func (o *MKAnnotationView) Image() *appkit.NSImage

func (*MKAnnotationView) InitWithAnnotationReuseIdentifier

func (o *MKAnnotationView) InitWithAnnotationReuseIdentifier(annotation MKAnnotation, reuseIdentifier *foundation.NSString) *MKAnnotationView

Creates and returns a new annotation view.

func (*MKAnnotationView) InitWithCoder

func (o *MKAnnotationView) InitWithCoder(aDecoder *foundation.NSCoder) *MKAnnotationView

Creates an annotation view using data from the specified unarchiver.

func (*MKAnnotationView) IsDraggable

func (o *MKAnnotationView) IsDraggable() bool

func (*MKAnnotationView) IsEnabled

func (o *MKAnnotationView) IsEnabled() bool

func (*MKAnnotationView) IsHighlighted

func (o *MKAnnotationView) IsHighlighted() bool

func (*MKAnnotationView) IsSelected

func (o *MKAnnotationView) IsSelected() bool

func (*MKAnnotationView) LeftCalloutAccessoryView

func (o *MKAnnotationView) LeftCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) LeftCalloutOffset

func (o *MKAnnotationView) LeftCalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) PrepareForDisplay

func (o *MKAnnotationView) PrepareForDisplay()

Notifies the annotation view that the map view is about to display it.

func (*MKAnnotationView) ReuseIdentifier

func (o *MKAnnotationView) ReuseIdentifier() *foundation.NSString

func (*MKAnnotationView) RightCalloutAccessoryView

func (o *MKAnnotationView) RightCalloutAccessoryView() *appkit.NSView

func (*MKAnnotationView) RightCalloutOffset

func (o *MKAnnotationView) RightCalloutOffset() corefoundation.CGPoint

func (*MKAnnotationView) SelectedZPriority

func (o *MKAnnotationView) SelectedZPriority() float32

func (*MKAnnotationView) SetAccessoryOffset

func (o *MKAnnotationView) SetAccessoryOffset(accessoryOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetAnnotation

func (o *MKAnnotationView) SetAnnotation(annotation MKAnnotation)

func (*MKAnnotationView) SetCalloutOffset

func (o *MKAnnotationView) SetCalloutOffset(calloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetCanShowCallout

func (o *MKAnnotationView) SetCanShowCallout(canShowCallout bool)

func (*MKAnnotationView) SetCenterOffset

func (o *MKAnnotationView) SetCenterOffset(centerOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetClusteringIdentifier

func (o *MKAnnotationView) SetClusteringIdentifier(clusteringIdentifier *foundation.NSString)

func (*MKAnnotationView) SetCollisionMode

func (o *MKAnnotationView) SetCollisionMode(collisionMode MKAnnotationViewCollisionMode)

func (*MKAnnotationView) SetDetailCalloutAccessoryView

func (o *MKAnnotationView) SetDetailCalloutAccessoryView(detailCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetDisplayPriority

func (o *MKAnnotationView) SetDisplayPriority(displayPriority float32)

func (*MKAnnotationView) SetDragState

func (o *MKAnnotationView) SetDragState(dragState MKAnnotationViewDragState)

func (*MKAnnotationView) SetDragStateAnimated

func (o *MKAnnotationView) SetDragStateAnimated(newDragState MKAnnotationViewDragState, animated bool)

Sets the drag state for the annotation view.

func (*MKAnnotationView) SetDraggable

func (o *MKAnnotationView) SetDraggable(draggable bool)

func (*MKAnnotationView) SetEnabled

func (o *MKAnnotationView) SetEnabled(enabled bool)

func (*MKAnnotationView) SetHighlighted

func (o *MKAnnotationView) SetHighlighted(highlighted bool)

func (*MKAnnotationView) SetImage

func (o *MKAnnotationView) SetImage(image *appkit.NSImage)

func (*MKAnnotationView) SetLeftCalloutAccessoryView

func (o *MKAnnotationView) SetLeftCalloutAccessoryView(leftCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetLeftCalloutOffset

func (o *MKAnnotationView) SetLeftCalloutOffset(leftCalloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetRightCalloutAccessoryView

func (o *MKAnnotationView) SetRightCalloutAccessoryView(rightCalloutAccessoryView *appkit.NSView)

func (*MKAnnotationView) SetRightCalloutOffset

func (o *MKAnnotationView) SetRightCalloutOffset(rightCalloutOffset corefoundation.CGPoint)

func (*MKAnnotationView) SetSelected

func (o *MKAnnotationView) SetSelected(selected bool)

func (*MKAnnotationView) SetSelectedAnimated

func (o *MKAnnotationView) SetSelectedAnimated(selected bool, animated bool)

Sets the selection state of the annotation view.

func (*MKAnnotationView) SetSelectedZPriority

func (o *MKAnnotationView) SetSelectedZPriority(selectedZPriority float32)

func (*MKAnnotationView) SetZPriority

func (o *MKAnnotationView) SetZPriority(zPriority float32)

func (*MKAnnotationView) ZPriority

func (o *MKAnnotationView) ZPriority() float32

type MKAnnotationViewCollisionMode

type MKAnnotationViewCollisionMode int64

Constants that indicates how to interpret the collision frame rectangle of an annotation view.

const (
	MKAnnotationViewCollisionModeRectangle MKAnnotationViewCollisionMode = 0
	MKAnnotationViewCollisionModeCircle    MKAnnotationViewCollisionMode = 1
	MKAnnotationViewCollisionModeNone      MKAnnotationViewCollisionMode = 2
)

func (MKAnnotationViewCollisionMode) String

type MKAnnotationViewDragState

type MKAnnotationViewDragState uint64

Constants that indicate the drag state of an annotation view.

const (
	MKAnnotationViewDragStateNone      MKAnnotationViewDragState = 0
	MKAnnotationViewDragStateStarting  MKAnnotationViewDragState = 1
	MKAnnotationViewDragStateDragging  MKAnnotationViewDragState = 2
	MKAnnotationViewDragStateCanceling MKAnnotationViewDragState = 3
	MKAnnotationViewDragStateEnding    MKAnnotationViewDragState = 4
)

func (MKAnnotationViewDragState) String

func (e MKAnnotationViewDragState) String() string

type MKCircle

type MKCircle struct {
	MKShape
}

A circular overlay with a configurable radius that you center on a geographic coordinate.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcircle

func MKCircleCircleWithCenterCoordinateRadius

func MKCircleCircleWithCenterCoordinateRadius(coord unsafe.Pointer, radius unsafe.Pointer) *MKCircle

Creates and returns a circle object using the specified coordinate and radius.

func MKCircleCircleWithMapRect

func MKCircleCircleWithMapRect(mapRect MKMapRect) *MKCircle

Creates and returns a circle object that derives the circular area from the specified rectangle.

func MKCircleFromID

func MKCircleFromID(id objc.ID) *MKCircle

func (*MKCircle) BoundingMapRect

func (o *MKCircle) BoundingMapRect() MKMapRect

func (*MKCircle) Coordinate

func (o *MKCircle) Coordinate() unsafe.Pointer

func (*MKCircle) Radius

func (o *MKCircle) Radius() unsafe.Pointer

type MKCircleRenderer

type MKCircleRenderer struct {
	MKOverlayPathRenderer
}

The visual representation of a circular overlay.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcirclerenderer

func MKCircleRendererFromID

func MKCircleRendererFromID(id objc.ID) *MKCircleRenderer

func (*MKCircleRenderer) Circle

func (o *MKCircleRenderer) Circle() *MKCircle

func (*MKCircleRenderer) InitWithCircle

func (o *MKCircleRenderer) InitWithCircle(circle *MKCircle) *MKCircleRenderer

Creates a new overlay view using the specified circle overlay object.

func (*MKCircleRenderer) SetStrokeEnd

func (o *MKCircleRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKCircleRenderer) SetStrokeStart

func (o *MKCircleRenderer) SetStrokeStart(strokeStart float64)

func (*MKCircleRenderer) StrokeEnd

func (o *MKCircleRenderer) StrokeEnd() float64

func (*MKCircleRenderer) StrokeStart

func (o *MKCircleRenderer) StrokeStart() float64

type MKClusterAnnotation

type MKClusterAnnotation struct {
	foundation.NSObject
}

An annotation that groups two or more distinct annotations into a single entity.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkclusterannotation

func MKClusterAnnotationFromID

func MKClusterAnnotationFromID(id objc.ID) *MKClusterAnnotation

func (*MKClusterAnnotation) InitWithMemberAnnotations

func (o *MKClusterAnnotation) InitWithMemberAnnotations(memberAnnotations *foundation.NSArray[MKAnnotation]) *MKClusterAnnotation

Creates a cluster annotation with the specified individual annotations.

func (*MKClusterAnnotation) MemberAnnotations

func (o *MKClusterAnnotation) MemberAnnotations() *foundation.NSArray[MKAnnotation]

func (*MKClusterAnnotation) SetSubtitle

func (o *MKClusterAnnotation) SetSubtitle(subtitle *foundation.NSString)

func (*MKClusterAnnotation) SetTitle

func (o *MKClusterAnnotation) SetTitle(title *foundation.NSString)

func (*MKClusterAnnotation) Subtitle

func (o *MKClusterAnnotation) Subtitle() *foundation.NSString

func (*MKClusterAnnotation) Title

type MKCompassButton

type MKCompassButton struct {
	appkit.NSView
}

A specialized view that displays the compass heading for its associated map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkcompassbutton

func MKCompassButtonCompassButtonWithMapView

func MKCompassButtonCompassButtonWithMapView(mapView *MKMapView) *MKCompassButton

Creates a compass button and associates it with the specified map view.

func MKCompassButtonFromID

func MKCompassButtonFromID(id objc.ID) *MKCompassButton

func (*MKCompassButton) CompassVisibility

func (o *MKCompassButton) CompassVisibility() MKFeatureVisibility

func (*MKCompassButton) MapView

func (o *MKCompassButton) MapView() *MKMapView

func (*MKCompassButton) SetCompassVisibility

func (o *MKCompassButton) SetCompassVisibility(compassVisibility MKFeatureVisibility)

func (*MKCompassButton) SetMapView

func (o *MKCompassButton) SetMapView(mapView *MKMapView)

type MKCoordinateRegion

type MKCoordinateRegion struct {
	Center unsafe.Pointer
	Span   MKCoordinateSpan
}

A rectangular geographic region that centers around a specific latitude and longitude.

func MKCoordinateRegionForMapRect

func MKCoordinateRegionForMapRect(rect MKMapRect) MKCoordinateRegion

func MKCoordinateRegionMake

func MKCoordinateRegionMake(centerCoordinate unsafe.Pointer, span MKCoordinateSpan) MKCoordinateRegion

func MKCoordinateRegionMakeWithDistance

func MKCoordinateRegionMakeWithDistance(centerCoordinate unsafe.Pointer, latitudinalMeters unsafe.Pointer, longitudinalMeters unsafe.Pointer) MKCoordinateRegion

type MKCoordinateSpan

type MKCoordinateSpan struct {
	LatitudeDelta  unsafe.Pointer
	LongitudeDelta unsafe.Pointer
}

The width and height of a map region.

func MKCoordinateSpanMake

func MKCoordinateSpanMake(latitudeDelta unsafe.Pointer, longitudeDelta unsafe.Pointer) MKCoordinateSpan

type MKDirections

type MKDirections struct {
	foundation.NSObject
}

A utility object that computes directions and travel-time information based on the route information you provide.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirections

func MKDirectionsFromID

func MKDirectionsFromID(id objc.ID) *MKDirections

func (*MKDirections) CalculateDirectionsWithCompletionHandler

func (o *MKDirections) CalculateDirectionsWithCompletionHandler(completionHandler func(*MKDirectionsResponse, unsafe.Pointer))

Begins calculating the requested route information asynchronously.

func (*MKDirections) CalculateETAWithCompletionHandler

func (o *MKDirections) CalculateETAWithCompletionHandler(completionHandler func(*MKETAResponse, unsafe.Pointer))

Begins calculating the requested travel-time information asynchronously.

func (*MKDirections) Cancel

func (o *MKDirections) Cancel()

Cancels a pending request.

func (*MKDirections) InitWithRequest

func (o *MKDirections) InitWithRequest(request *MKDirectionsRequest) *MKDirections

Creates and returns a directions object using the specified request.

func (*MKDirections) IsCalculating

func (o *MKDirections) IsCalculating() bool

type MKDirectionsRequest

type MKDirectionsRequest struct {
	foundation.NSObject
}

The start and end points of a route, along with the planned mode of transportation.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirectionsrequest

func MKDirectionsRequestFromID

func MKDirectionsRequestFromID(id objc.ID) *MKDirectionsRequest

func (*MKDirectionsRequest) ArrivalDate

func (o *MKDirectionsRequest) ArrivalDate() *foundation.NSDate

func (*MKDirectionsRequest) DepartureDate

func (o *MKDirectionsRequest) DepartureDate() *foundation.NSDate

func (*MKDirectionsRequest) Destination

func (o *MKDirectionsRequest) Destination() *MKMapItem

func (*MKDirectionsRequest) HighwayPreference

func (o *MKDirectionsRequest) HighwayPreference() MKDirectionsRoutePreference

func (*MKDirectionsRequest) InitWithContentsOfURL

func (o *MKDirectionsRequest) InitWithContentsOfURL(url *foundation.NSURL) *MKDirectionsRequest

func (*MKDirectionsRequest) RequestsAlternateRoutes

func (o *MKDirectionsRequest) RequestsAlternateRoutes() bool

func (*MKDirectionsRequest) SetArrivalDate

func (o *MKDirectionsRequest) SetArrivalDate(arrivalDate *foundation.NSDate)

func (*MKDirectionsRequest) SetDepartureDate

func (o *MKDirectionsRequest) SetDepartureDate(departureDate *foundation.NSDate)

func (*MKDirectionsRequest) SetDestination

func (o *MKDirectionsRequest) SetDestination(destination *MKMapItem)

func (*MKDirectionsRequest) SetHighwayPreference

func (o *MKDirectionsRequest) SetHighwayPreference(highwayPreference MKDirectionsRoutePreference)

func (*MKDirectionsRequest) SetRequestsAlternateRoutes

func (o *MKDirectionsRequest) SetRequestsAlternateRoutes(requestsAlternateRoutes bool)

func (*MKDirectionsRequest) SetSource

func (o *MKDirectionsRequest) SetSource(source *MKMapItem)

func (*MKDirectionsRequest) SetTollPreference

func (o *MKDirectionsRequest) SetTollPreference(tollPreference MKDirectionsRoutePreference)

func (*MKDirectionsRequest) SetTransportType

func (o *MKDirectionsRequest) SetTransportType(transportType MKDirectionsTransportType)

func (*MKDirectionsRequest) Source

func (o *MKDirectionsRequest) Source() *MKMapItem

func (*MKDirectionsRequest) TollPreference

func (*MKDirectionsRequest) TransportType

type MKDirectionsResponse

type MKDirectionsResponse struct {
	foundation.NSObject
}

The route information that Apple servers return in response to your request for directions.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdirectionsresponse

func MKDirectionsResponseFromID

func MKDirectionsResponseFromID(id objc.ID) *MKDirectionsResponse

func (*MKDirectionsResponse) Destination

func (o *MKDirectionsResponse) Destination() *MKMapItem

func (*MKDirectionsResponse) Routes

func (*MKDirectionsResponse) Source

func (o *MKDirectionsResponse) Source() *MKMapItem

type MKDirectionsRoutePreference

type MKDirectionsRoutePreference int64

Options that modify how the framework selects routes when calculating directions.

const (
	MKDirectionsRoutePreferenceAny   MKDirectionsRoutePreference = 0
	MKDirectionsRoutePreferenceAvoid MKDirectionsRoutePreference = 1
)

func (MKDirectionsRoutePreference) String

type MKDirectionsTransportType

type MKDirectionsTransportType uint64

Constants that specify the type of conveyance to use.

const (
	// Directions suitable for use while driving.
	MKDirectionsTransportTypeAutomobile MKDirectionsTransportType = 1
	// Directions suitable for a pedestrian.
	MKDirectionsTransportTypeWalking MKDirectionsTransportType = 2
	// Directions suitable for public transportation.
	MKDirectionsTransportTypeTransit MKDirectionsTransportType = 4
	// Directions suitable for use while cycling.
	MKDirectionsTransportTypeCycling MKDirectionsTransportType = 8
	// Directions suitable for any transportation option.
	MKDirectionsTransportTypeAny MKDirectionsTransportType = 268435455
)

func (MKDirectionsTransportType) String

func (e MKDirectionsTransportType) String() string

type MKDistanceFormatter

type MKDistanceFormatter struct {
	foundation.NSFormatter
}

A utility object that converts between a geographic distance and a string-based expression of that distance.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkdistanceformatter

func MKDistanceFormatterFromID

func MKDistanceFormatterFromID(id objc.ID) *MKDistanceFormatter

func (*MKDistanceFormatter) DistanceFromString

func (o *MKDistanceFormatter) DistanceFromString(distance *foundation.NSString) unsafe.Pointer

Returns the distance value parsed from the specified string.

func (*MKDistanceFormatter) Locale

func (*MKDistanceFormatter) SetLocale

func (o *MKDistanceFormatter) SetLocale(locale *foundation.NSLocale)

func (*MKDistanceFormatter) SetUnitStyle

func (o *MKDistanceFormatter) SetUnitStyle(unitStyle MKDistanceFormatterUnitStyle)

func (*MKDistanceFormatter) SetUnits

func (o *MKDistanceFormatter) SetUnits(units MKDistanceFormatterUnits)

func (*MKDistanceFormatter) StringFromDistance

func (o *MKDistanceFormatter) StringFromDistance(distance unsafe.Pointer) *foundation.NSString

Creates a string representation of the specified distance.

func (*MKDistanceFormatter) UnitStyle

func (*MKDistanceFormatter) Units

type MKDistanceFormatterUnitStyle

type MKDistanceFormatterUnitStyle uint64

The preferred style for units.

const (
	MKDistanceFormatterUnitStyleDefault     MKDistanceFormatterUnitStyle = 0
	MKDistanceFormatterUnitStyleAbbreviated MKDistanceFormatterUnitStyle = 1
	MKDistanceFormatterUnitStyleFull        MKDistanceFormatterUnitStyle = 2
)

func (MKDistanceFormatterUnitStyle) String

type MKDistanceFormatterUnits

type MKDistanceFormatterUnits uint64

Constants that reflect the type of units to use in the string.

const (
	MKDistanceFormatterUnitsDefault           MKDistanceFormatterUnits = 0
	MKDistanceFormatterUnitsMetric            MKDistanceFormatterUnits = 1
	MKDistanceFormatterUnitsImperial          MKDistanceFormatterUnits = 2
	MKDistanceFormatterUnitsImperialWithYards MKDistanceFormatterUnits = 3
)

func (MKDistanceFormatterUnits) String

func (e MKDistanceFormatterUnits) String() string

type MKETAResponse

type MKETAResponse struct {
	foundation.NSObject
}

The travel-time information that Apple servers return.

Apple documentation: https://developer.apple.com/documentation/mapkit/mketaresponse

func MKETAResponseFromID

func MKETAResponseFromID(id objc.ID) *MKETAResponse

func (*MKETAResponse) Destination

func (o *MKETAResponse) Destination() *MKMapItem

func (*MKETAResponse) Distance

func (o *MKETAResponse) Distance() unsafe.Pointer

func (*MKETAResponse) ExpectedArrivalDate

func (o *MKETAResponse) ExpectedArrivalDate() *foundation.NSDate

func (*MKETAResponse) ExpectedDepartureDate

func (o *MKETAResponse) ExpectedDepartureDate() *foundation.NSDate

func (*MKETAResponse) ExpectedTravelTime

func (o *MKETAResponse) ExpectedTravelTime() float64

func (*MKETAResponse) Source

func (o *MKETAResponse) Source() *MKMapItem

func (*MKETAResponse) TransportType

func (o *MKETAResponse) TransportType() MKDirectionsTransportType

type MKErrorCode

type MKErrorCode uint64

Error constants for the MapKit framework.

const (
	MKErrorUnknown            MKErrorCode = 1
	MKErrorServerFailure      MKErrorCode = 2
	MKErrorLoadingThrottled   MKErrorCode = 3
	MKErrorPlacemarkNotFound  MKErrorCode = 4
	MKErrorDirectionsNotFound MKErrorCode = 5
	MKErrorDecodingFailed     MKErrorCode = 6
)

func (MKErrorCode) String

func (e MKErrorCode) String() string

type MKFeatureVisibility

type MKFeatureVisibility int64

Constants that indicate the visibility of different map features.

const (
	// A constant indicating that the feature adapts to the current map state.
	MKFeatureVisibilityAdaptive MKFeatureVisibility = 0
	// A constant indicating that the feature is hidden.
	MKFeatureVisibilityHidden MKFeatureVisibility = 1
	// A constant indicating that the feature is visible.
	MKFeatureVisibilityVisible MKFeatureVisibility = 2
)

func (MKFeatureVisibility) String

func (e MKFeatureVisibility) String() string

type MKGeoJSONDecoder

type MKGeoJSONDecoder struct {
	foundation.NSObject
}

An object that decodes GeoJSON objects into MapKit types.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeojsondecoder

func MKGeoJSONDecoderFromID

func MKGeoJSONDecoderFromID(id objc.ID) *MKGeoJSONDecoder

func (*MKGeoJSONDecoder) GeoJSONObjectsWithDataError

func (o *MKGeoJSONDecoder) GeoJSONObjectsWithDataError(data *foundation.NSData) (*foundation.NSArray[MKGeoJSONObject], error)

Decodes the provided data into native MapKit types that a map can display.

type MKGeoJSONFeature

type MKGeoJSONFeature struct {
	foundation.NSObject
}

The decoded representation of a GeoJSON feature.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeojsonfeature

func MKGeoJSONFeatureFromID

func MKGeoJSONFeatureFromID(id objc.ID) *MKGeoJSONFeature

func (*MKGeoJSONFeature) Geometry

func (o *MKGeoJSONFeature) Geometry() *foundation.NSArray[*MKShape]

func (*MKGeoJSONFeature) Identifier

func (o *MKGeoJSONFeature) Identifier() *foundation.NSString

func (*MKGeoJSONFeature) Properties

func (o *MKGeoJSONFeature) Properties() *foundation.NSData

type MKGeoJSONObject

type MKGeoJSONObject interface {
}

MKGeoJSONObject wraps the ObjC protocol MKGeoJSONObject.

type MKGeocodingRequest

type MKGeocodingRequest struct {
	foundation.NSObject
}

A class that looks up a geographic coordinate using the provided string.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeocodingrequest

func MKGeocodingRequestFromID

func MKGeocodingRequestFromID(id objc.ID) *MKGeocodingRequest

func (*MKGeocodingRequest) AddressString

func (o *MKGeocodingRequest) AddressString() *foundation.NSString

func (*MKGeocodingRequest) Cancel

func (o *MKGeocodingRequest) Cancel()

A function you call to cancel a geocoding request that’s in progress.

func (*MKGeocodingRequest) GetMapItemsWithCompletionHandler

func (o *MKGeocodingRequest) GetMapItemsWithCompletionHandler(completionHandler func(*foundation.NSArray[*MKMapItem], unsafe.Pointer))

Returns the map items relevant to the geocoded location.

func (*MKGeocodingRequest) InitWithAddressString

func (o *MKGeocodingRequest) InitWithAddressString(addressString *foundation.NSString) *MKGeocodingRequest

Initializes a new geocoder request object with the provided address string.

func (*MKGeocodingRequest) IsCancelled

func (o *MKGeocodingRequest) IsCancelled() bool

func (*MKGeocodingRequest) IsLoading

func (o *MKGeocodingRequest) IsLoading() bool

func (*MKGeocodingRequest) PreferredLocale

func (o *MKGeocodingRequest) PreferredLocale() *foundation.NSLocale

func (*MKGeocodingRequest) Region

func (*MKGeocodingRequest) SetPreferredLocale

func (o *MKGeocodingRequest) SetPreferredLocale(preferredLocale *foundation.NSLocale)

func (*MKGeocodingRequest) SetRegion

func (o *MKGeocodingRequest) SetRegion(region MKCoordinateRegion)

type MKGeodesicPolyline

type MKGeodesicPolyline struct {
	MKPolyline
}

An open polygon overlay consisting of line segments that follow the contours of the Earth to create the shortest path between the specified points.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgeodesicpolyline

func MKGeodesicPolylineFromID

func MKGeodesicPolylineFromID(id objc.ID) *MKGeodesicPolyline

func MKGeodesicPolylinePolylineWithCoordinatesCount

func MKGeodesicPolylinePolylineWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKGeodesicPolyline

Creates and returns a geodesic polyline using the specified coordinates.

func MKGeodesicPolylinePolylineWithPointsCount

func MKGeodesicPolylinePolylineWithPointsCount(points *MKMapPoint, count uint) *MKGeodesicPolyline

Creates and returns a geodesic polyline using the specified map points.

type MKGradientPolylineRenderer

type MKGradientPolylineRenderer struct {
	MKPolylineRenderer
}

A visual representation of any polyline overlay object with a gradient.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkgradientpolylinerenderer

func MKGradientPolylineRendererFromID

func MKGradientPolylineRendererFromID(id objc.ID) *MKGradientPolylineRenderer

func (*MKGradientPolylineRenderer) Colors

func (*MKGradientPolylineRenderer) Locations

func (*MKGradientPolylineRenderer) SetColorsAtLocations

func (o *MKGradientPolylineRenderer) SetColorsAtLocations(colors *foundation.NSArray[*appkit.NSColor], locations *foundation.NSArray[*foundation.NSNumber])

Sets the colors and corresponding unit distance values to create gradients.

type MKHybridMapConfiguration

type MKHybridMapConfiguration struct {
	MKMapConfiguration
}

The class that represents a satellite image of the area with road and road name information layers on top.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkhybridmapconfiguration

func MKHybridMapConfigurationFromID

func MKHybridMapConfigurationFromID(id objc.ID) *MKHybridMapConfiguration

func (*MKHybridMapConfiguration) Init

Creates a new hybrid map configuration.

func (*MKHybridMapConfiguration) InitWithElevationStyle

func (o *MKHybridMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKHybridMapConfiguration

Creates a new hybrid map configuration with the specified elevation style.

func (*MKHybridMapConfiguration) PointOfInterestFilter

func (o *MKHybridMapConfiguration) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKHybridMapConfiguration) SetPointOfInterestFilter

func (o *MKHybridMapConfiguration) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKHybridMapConfiguration) SetShowsTraffic

func (o *MKHybridMapConfiguration) SetShowsTraffic(showsTraffic bool)

func (*MKHybridMapConfiguration) ShowsTraffic

func (o *MKHybridMapConfiguration) ShowsTraffic() bool

type MKImageryMapConfiguration

type MKImageryMapConfiguration struct {
	MKMapConfiguration
}

The class that represents an imagery-based map presentation, such as one using satellite imagery.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkimagerymapconfiguration

func MKImageryMapConfigurationFromID

func MKImageryMapConfigurationFromID(id objc.ID) *MKImageryMapConfiguration

func (*MKImageryMapConfiguration) Init

Creates a new imagery based map configuration.

func (*MKImageryMapConfiguration) InitWithElevationStyle

func (o *MKImageryMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKImageryMapConfiguration

Creates a new imagery based map configuration with the specified elevation style.

type MKLocalPointsOfInterestRequest

type MKLocalPointsOfInterestRequest struct {
	foundation.NSObject
}

A structured request to use when searching for points of interest.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalpointsofinterestrequest

func MKLocalPointsOfInterestRequestFromID

func MKLocalPointsOfInterestRequestFromID(id objc.ID) *MKLocalPointsOfInterestRequest

func (*MKLocalPointsOfInterestRequest) Coordinate

func (*MKLocalPointsOfInterestRequest) InitWithCenterCoordinateRadius

func (o *MKLocalPointsOfInterestRequest) InitWithCenterCoordinateRadius(coordinate unsafe.Pointer, radius unsafe.Pointer) *MKLocalPointsOfInterestRequest

Creates a points of interest search request centered on the provided coordinate with the provided radius.

func (*MKLocalPointsOfInterestRequest) InitWithCoordinateRegion

Creates a points of interest search request based on existing region.

func (*MKLocalPointsOfInterestRequest) PointOfInterestFilter

func (o *MKLocalPointsOfInterestRequest) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalPointsOfInterestRequest) Radius

func (*MKLocalPointsOfInterestRequest) Region

func (*MKLocalPointsOfInterestRequest) SetPointOfInterestFilter

func (o *MKLocalPointsOfInterestRequest) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

type MKLocalSearch

type MKLocalSearch struct {
	foundation.NSObject
}

A utility object for initiating map-based searches and processing the results.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearch

func MKLocalSearchFromID

func MKLocalSearchFromID(id objc.ID) *MKLocalSearch

func (*MKLocalSearch) Cancel

func (o *MKLocalSearch) Cancel()

Cancels an in-progress search operation.

func (*MKLocalSearch) InitWithPointsOfInterestRequest

func (o *MKLocalSearch) InitWithPointsOfInterestRequest(request *MKLocalPointsOfInterestRequest) *MKLocalSearch

Creates and returns a search object for fetching points of interest.

func (*MKLocalSearch) InitWithRequest

func (o *MKLocalSearch) InitWithRequest(request *MKLocalSearchRequest) *MKLocalSearch

Creates and returns a search object with the specified parameters.

func (*MKLocalSearch) IsSearching

func (o *MKLocalSearch) IsSearching() bool

func (*MKLocalSearch) StartWithCompletionHandler

func (o *MKLocalSearch) StartWithCompletionHandler(completionHandler func(*MKLocalSearchResponse, unsafe.Pointer))

Starts the search and delivers the results to the specified completion handler.

type MKLocalSearchCompleter

type MKLocalSearchCompleter struct {
	foundation.NSObject
}

A utility object for generating a list of completion strings based on a partial search string that you provide.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchcompleter

func MKLocalSearchCompleterFromID

func MKLocalSearchCompleterFromID(id objc.ID) *MKLocalSearchCompleter

func (*MKLocalSearchCompleter) AddressFilter

func (o *MKLocalSearchCompleter) AddressFilter() *MKAddressFilter

func (*MKLocalSearchCompleter) Cancel

func (o *MKLocalSearchCompleter) Cancel()

Cancels an in-progress search operation.

func (*MKLocalSearchCompleter) Delegate

func (*MKLocalSearchCompleter) FilterType deprecated

Deprecated: Use resultTypes

func (*MKLocalSearchCompleter) IsSearching

func (o *MKLocalSearchCompleter) IsSearching() bool

func (*MKLocalSearchCompleter) PointOfInterestFilter

func (o *MKLocalSearchCompleter) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalSearchCompleter) QueryFragment

func (o *MKLocalSearchCompleter) QueryFragment() *foundation.NSString

func (*MKLocalSearchCompleter) Region

func (*MKLocalSearchCompleter) RegionPriority

func (*MKLocalSearchCompleter) ResultTypes

func (*MKLocalSearchCompleter) Results

func (*MKLocalSearchCompleter) SetAddressFilter

func (o *MKLocalSearchCompleter) SetAddressFilter(addressFilter *MKAddressFilter)

func (*MKLocalSearchCompleter) SetDelegate

func (o *MKLocalSearchCompleter) SetDelegate(delegate MKLocalSearchCompleterDelegate)

func (*MKLocalSearchCompleter) SetFilterType deprecated

func (o *MKLocalSearchCompleter) SetFilterType(filterType MKSearchCompletionFilterType)

Deprecated: Use resultTypes

func (*MKLocalSearchCompleter) SetPointOfInterestFilter

func (o *MKLocalSearchCompleter) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLocalSearchCompleter) SetQueryFragment

func (o *MKLocalSearchCompleter) SetQueryFragment(queryFragment *foundation.NSString)

func (*MKLocalSearchCompleter) SetRegion

func (o *MKLocalSearchCompleter) SetRegion(region MKCoordinateRegion)

func (*MKLocalSearchCompleter) SetRegionPriority

func (o *MKLocalSearchCompleter) SetRegionPriority(regionPriority MKLocalSearchRegionPriority)

func (*MKLocalSearchCompleter) SetResultTypes

func (o *MKLocalSearchCompleter) SetResultTypes(resultTypes MKLocalSearchCompleterResultType)

type MKLocalSearchCompleterDelegate

type MKLocalSearchCompleterDelegate interface {
}

MKLocalSearchCompleterDelegate wraps the ObjC protocol MKLocalSearchCompleterDelegate.

type MKLocalSearchCompleterResultType

type MKLocalSearchCompleterResultType uint64

Options that indicate types of search completions.

const (
	MKLocalSearchCompleterResultTypeAddress         MKLocalSearchCompleterResultType = 1
	MKLocalSearchCompleterResultTypePointOfInterest MKLocalSearchCompleterResultType = 2
	MKLocalSearchCompleterResultTypeQuery           MKLocalSearchCompleterResultType = 4
	MKLocalSearchCompleterResultTypePhysicalFeature MKLocalSearchCompleterResultType = 8
)

func (MKLocalSearchCompleterResultType) String

type MKLocalSearchCompletion

type MKLocalSearchCompletion struct {
	foundation.NSObject
}

A fully formed string that completes a partial string.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchcompletion

func MKLocalSearchCompletionFromID

func MKLocalSearchCompletionFromID(id objc.ID) *MKLocalSearchCompletion

func (*MKLocalSearchCompletion) Subtitle

func (*MKLocalSearchCompletion) SubtitleHighlightRanges

func (o *MKLocalSearchCompletion) SubtitleHighlightRanges() *foundation.NSArray[*foundation.NSValue]

func (*MKLocalSearchCompletion) Title

func (*MKLocalSearchCompletion) TitleHighlightRanges

func (o *MKLocalSearchCompletion) TitleHighlightRanges() *foundation.NSArray[*foundation.NSValue]

type MKLocalSearchRegionPriority

type MKLocalSearchRegionPriority int64

A value that indicates the importance of the configured region.

const (
	// A value indicating that the results can originate from outside the specified region.
	MKLocalSearchRegionPriorityDefault MKLocalSearchRegionPriority = 0
	// A value indicating that no results can originate from outside the specified region.
	MKLocalSearchRegionPriorityRequired MKLocalSearchRegionPriority = 1
)

func (MKLocalSearchRegionPriority) String

type MKLocalSearchRequest

type MKLocalSearchRequest struct {
	foundation.NSObject
}

The parameters to use when searching for points of interest on the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchrequest

func MKLocalSearchRequestFromID

func MKLocalSearchRequestFromID(id objc.ID) *MKLocalSearchRequest

func (*MKLocalSearchRequest) AddressFilter

func (o *MKLocalSearchRequest) AddressFilter() *MKAddressFilter

func (*MKLocalSearchRequest) Init

func (*MKLocalSearchRequest) InitWithCompletion

func (o *MKLocalSearchRequest) InitWithCompletion(completion *MKLocalSearchCompletion) *MKLocalSearchRequest

func (*MKLocalSearchRequest) InitWithNaturalLanguageQuery

func (o *MKLocalSearchRequest) InitWithNaturalLanguageQuery(naturalLanguageQuery *foundation.NSString) *MKLocalSearchRequest

func (*MKLocalSearchRequest) InitWithNaturalLanguageQueryRegion

func (o *MKLocalSearchRequest) InitWithNaturalLanguageQueryRegion(naturalLanguageQuery *foundation.NSString, region MKCoordinateRegion) *MKLocalSearchRequest

func (*MKLocalSearchRequest) NaturalLanguageQuery

func (o *MKLocalSearchRequest) NaturalLanguageQuery() *foundation.NSString

func (*MKLocalSearchRequest) PointOfInterestFilter

func (o *MKLocalSearchRequest) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLocalSearchRequest) Region

func (*MKLocalSearchRequest) RegionPriority

func (*MKLocalSearchRequest) ResultTypes

func (*MKLocalSearchRequest) SetAddressFilter

func (o *MKLocalSearchRequest) SetAddressFilter(addressFilter *MKAddressFilter)

func (*MKLocalSearchRequest) SetNaturalLanguageQuery

func (o *MKLocalSearchRequest) SetNaturalLanguageQuery(naturalLanguageQuery *foundation.NSString)

func (*MKLocalSearchRequest) SetPointOfInterestFilter

func (o *MKLocalSearchRequest) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLocalSearchRequest) SetRegion

func (o *MKLocalSearchRequest) SetRegion(region MKCoordinateRegion)

func (*MKLocalSearchRequest) SetRegionPriority

func (o *MKLocalSearchRequest) SetRegionPriority(regionPriority MKLocalSearchRegionPriority)

func (*MKLocalSearchRequest) SetResultTypes

func (o *MKLocalSearchRequest) SetResultTypes(resultTypes MKLocalSearchResultType)

type MKLocalSearchResponse

type MKLocalSearchResponse struct {
	foundation.NSObject
}

The results from a map-based search.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklocalsearchresponse

func MKLocalSearchResponseFromID

func MKLocalSearchResponseFromID(id objc.ID) *MKLocalSearchResponse

func (*MKLocalSearchResponse) BoundingRegion

func (o *MKLocalSearchResponse) BoundingRegion() MKCoordinateRegion

func (*MKLocalSearchResponse) MapItems

type MKLocalSearchResultType

type MKLocalSearchResultType uint64

Options that indicate types of search results.

const (
	MKLocalSearchResultTypeAddress         MKLocalSearchResultType = 1
	MKLocalSearchResultTypePointOfInterest MKLocalSearchResultType = 2
	MKLocalSearchResultTypePhysicalFeature MKLocalSearchResultType = 4
)

func (MKLocalSearchResultType) String

func (e MKLocalSearchResultType) String() string

type MKLookAroundBadgePosition

type MKLookAroundBadgePosition int64

Constants that control the position of badges on LookAround views.

const (
	// The value that indicates the top-left badge position.
	MKLookAroundBadgePositionTopLeading MKLookAroundBadgePosition = 0
	// The value that indicates the top-right badge position.
	MKLookAroundBadgePositionTopTrailing MKLookAroundBadgePosition = 1
	// The value that indicates the bottom-right badge position.
	MKLookAroundBadgePositionBottomTrailing MKLookAroundBadgePosition = 2
)

func (MKLookAroundBadgePosition) String

func (e MKLookAroundBadgePosition) String() string

type MKLookAroundScene

type MKLookAroundScene struct {
	foundation.NSObject
}

A utility class that encapsulates information the framework requires to retrieve and display a specific Look Around location’s imagery.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundscene

func MKLookAroundSceneFromID

func MKLookAroundSceneFromID(id objc.ID) *MKLookAroundScene

type MKLookAroundSceneRequest

type MKLookAroundSceneRequest struct {
	foundation.NSObject
}

A class you use to request a LookAround scene at the location you specify.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundscenerequest

func MKLookAroundSceneRequestFromID

func MKLookAroundSceneRequestFromID(id objc.ID) *MKLookAroundSceneRequest

func (*MKLookAroundSceneRequest) Cancel

func (o *MKLookAroundSceneRequest) Cancel()

Cancels the pending scene request.

func (*MKLookAroundSceneRequest) Coordinate

func (o *MKLookAroundSceneRequest) Coordinate() unsafe.Pointer

func (*MKLookAroundSceneRequest) GetSceneWithCompletionHandler

func (o *MKLookAroundSceneRequest) GetSceneWithCompletionHandler(completionHandler func(unsafe.Pointer, unsafe.Pointer))

Requests a LookAround scene and calls the specified completion handler.

func (*MKLookAroundSceneRequest) InitWithCoordinate

func (o *MKLookAroundSceneRequest) InitWithCoordinate(coordinate unsafe.Pointer) *MKLookAroundSceneRequest

Creates a LookAround scene at the specified coordinates.

func (*MKLookAroundSceneRequest) InitWithMapItem

func (o *MKLookAroundSceneRequest) InitWithMapItem(mapItem *MKMapItem) *MKLookAroundSceneRequest

Creates a LookAround scene with the location described by the specified map item.

func (*MKLookAroundSceneRequest) IsCancelled

func (o *MKLookAroundSceneRequest) IsCancelled() bool

func (*MKLookAroundSceneRequest) IsLoading

func (o *MKLookAroundSceneRequest) IsLoading() bool

func (*MKLookAroundSceneRequest) MapItem

func (o *MKLookAroundSceneRequest) MapItem() *MKMapItem

type MKLookAroundSnapshot

type MKLookAroundSnapshot struct {
	foundation.NSObject
}

An object that contains a snapshot image.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshot

func MKLookAroundSnapshotFromID

func MKLookAroundSnapshotFromID(id objc.ID) *MKLookAroundSnapshot

func (*MKLookAroundSnapshot) Image

func (o *MKLookAroundSnapshot) Image() *appkit.NSImage

type MKLookAroundSnapshotOptions

type MKLookAroundSnapshotOptions struct {
	foundation.NSObject
}

Values you use to customize LookAround snapshots.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshotoptions

func MKLookAroundSnapshotOptionsFromID

func MKLookAroundSnapshotOptionsFromID(id objc.ID) *MKLookAroundSnapshotOptions

func (*MKLookAroundSnapshotOptions) PointOfInterestFilter

func (o *MKLookAroundSnapshotOptions) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLookAroundSnapshotOptions) SetPointOfInterestFilter

func (o *MKLookAroundSnapshotOptions) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLookAroundSnapshotOptions) SetSize

func (*MKLookAroundSnapshotOptions) Size

type MKLookAroundSnapshotter

type MKLookAroundSnapshotter struct {
	foundation.NSObject
}

A utility class that you use to create a static image from a LookAround scene.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundsnapshotter

func MKLookAroundSnapshotterFromID

func MKLookAroundSnapshotterFromID(id objc.ID) *MKLookAroundSnapshotter

func (*MKLookAroundSnapshotter) Cancel

func (o *MKLookAroundSnapshotter) Cancel()

Cancels an in-progress snapshot request.

func (*MKLookAroundSnapshotter) GetSnapshotWithCompletionHandler

func (o *MKLookAroundSnapshotter) GetSnapshotWithCompletionHandler(completionHandler func(*MKLookAroundSnapshot, unsafe.Pointer))

Requests a new snapshot and calls the completion handler you provide.

func (*MKLookAroundSnapshotter) InitWithSceneOptions

Create a new snapshotter object with the scene and options you specify.

func (*MKLookAroundSnapshotter) IsLoading

func (o *MKLookAroundSnapshotter) IsLoading() bool

type MKLookAroundViewController

type MKLookAroundViewController struct {
	appkit.NSViewController
}

A class that manages the presentation and display of a LookAround view.

Apple documentation: https://developer.apple.com/documentation/mapkit/mklookaroundviewcontroller

func MKLookAroundViewControllerFromID

func MKLookAroundViewControllerFromID(id objc.ID) *MKLookAroundViewController

func (*MKLookAroundViewController) BadgePosition

func (*MKLookAroundViewController) Delegate

func (*MKLookAroundViewController) InitWithCoder

Creates a new LookAround view controller object from a coder object provided by a storyboard or nib file.

func (*MKLookAroundViewController) InitWithNibNameBundle

func (o *MKLookAroundViewController) InitWithNibNameBundle(nibNameOrNil *foundation.NSString, nibBundleOrNil *foundation.NSBundle) *MKLookAroundViewController

Creates a new LookAround view controller from the specified nib and bundle.

func (*MKLookAroundViewController) InitWithScene

Creates a new LookAround view controller with the specified scene.

func (*MKLookAroundViewController) IsNavigationEnabled

func (o *MKLookAroundViewController) IsNavigationEnabled() bool

func (*MKLookAroundViewController) PointOfInterestFilter

func (o *MKLookAroundViewController) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKLookAroundViewController) Scene

func (*MKLookAroundViewController) SetBadgePosition

func (o *MKLookAroundViewController) SetBadgePosition(badgePosition MKLookAroundBadgePosition)

func (*MKLookAroundViewController) SetDelegate

func (*MKLookAroundViewController) SetNavigationEnabled

func (o *MKLookAroundViewController) SetNavigationEnabled(navigationEnabled bool)

func (*MKLookAroundViewController) SetPointOfInterestFilter

func (o *MKLookAroundViewController) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKLookAroundViewController) SetScene

func (o *MKLookAroundViewController) SetScene(scene *MKLookAroundScene)

func (*MKLookAroundViewController) SetShowsRoadLabels

func (o *MKLookAroundViewController) SetShowsRoadLabels(showsRoadLabels bool)

func (*MKLookAroundViewController) ShowsRoadLabels

func (o *MKLookAroundViewController) ShowsRoadLabels() bool

type MKLookAroundViewControllerDelegate

type MKLookAroundViewControllerDelegate interface {
}

MKLookAroundViewControllerDelegate wraps the ObjC protocol MKLookAroundViewControllerDelegate.

type MKMapCamera

type MKMapCamera struct {
	foundation.NSObject
}

A virtual camera for defining the appearance of the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcamera

func MKMapCameraCamera

func MKMapCameraCamera() *MKMapCamera

Returns a new camera object for you to configure. Deprecated: Use centerCoordinateDistance

func MKMapCameraCameraLookingAtCenterCoordinateFromDistancePitchHeading

func MKMapCameraCameraLookingAtCenterCoordinateFromDistancePitchHeading(centerCoordinate unsafe.Pointer, distance unsafe.Pointer, pitch float64, heading unsafe.Pointer) *MKMapCamera

Returns a new camera object using the specified distance, pitch, and heading information.

func MKMapCameraCameraLookingAtCenterCoordinateFromEyeCoordinateEyeAltitude

func MKMapCameraCameraLookingAtCenterCoordinateFromEyeCoordinateEyeAltitude(centerCoordinate unsafe.Pointer, eyeCoordinate unsafe.Pointer, eyeAltitude unsafe.Pointer) *MKMapCamera

Returns a new camera object using the specified viewing angle information. Deprecated: Use centerCoordinateDistance

func MKMapCameraCameraLookingAtMapItemForViewSizeAllowPitch

func MKMapCameraCameraLookingAtMapItemForViewSizeAllowPitch(mapItem *MKMapItem, viewSize corefoundation.CGSize, allowPitch bool) *MKMapCamera

Returns a new camera object using the specified map item, view size, and pitch.

func MKMapCameraFromID

func MKMapCameraFromID(id objc.ID) *MKMapCamera

func (*MKMapCamera) Altitude deprecated

func (o *MKMapCamera) Altitude() unsafe.Pointer

Deprecated: Use centerCoordinateDistance

func (*MKMapCamera) CenterCoordinate

func (o *MKMapCamera) CenterCoordinate() unsafe.Pointer

func (*MKMapCamera) CenterCoordinateDistance

func (o *MKMapCamera) CenterCoordinateDistance() unsafe.Pointer

func (*MKMapCamera) Heading

func (o *MKMapCamera) Heading() unsafe.Pointer

func (*MKMapCamera) Pitch

func (o *MKMapCamera) Pitch() float64

func (*MKMapCamera) SetAltitude deprecated

func (o *MKMapCamera) SetAltitude(altitude unsafe.Pointer)

Deprecated: Use centerCoordinateDistance

func (*MKMapCamera) SetCenterCoordinate

func (o *MKMapCamera) SetCenterCoordinate(centerCoordinate unsafe.Pointer)

func (*MKMapCamera) SetCenterCoordinateDistance

func (o *MKMapCamera) SetCenterCoordinateDistance(centerCoordinateDistance unsafe.Pointer)

func (*MKMapCamera) SetHeading

func (o *MKMapCamera) SetHeading(heading unsafe.Pointer)

func (*MKMapCamera) SetPitch

func (o *MKMapCamera) SetPitch(pitch float64)

type MKMapCameraBoundary

type MKMapCameraBoundary struct {
	foundation.NSObject
}

A boundary of an area within which the map’s center needs to remain.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcameraboundary

func MKMapCameraBoundaryFromID

func MKMapCameraBoundaryFromID(id objc.ID) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithCoder

func (o *MKMapCameraBoundary) InitWithCoder(coder *foundation.NSCoder) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithCoordinateRegion

func (o *MKMapCameraBoundary) InitWithCoordinateRegion(region MKCoordinateRegion) *MKMapCameraBoundary

func (*MKMapCameraBoundary) InitWithMapRect

func (o *MKMapCameraBoundary) InitWithMapRect(mapRect MKMapRect) *MKMapCameraBoundary

func (*MKMapCameraBoundary) MapRect

func (o *MKMapCameraBoundary) MapRect() MKMapRect

func (*MKMapCameraBoundary) Region

type MKMapCameraZoomRange

type MKMapCameraZoomRange struct {
	foundation.NSObject
}

A camera zoom range that limits the distances to which the user can zoom.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapcamerazoomrange

func MKMapCameraZoomRangeFromID

func MKMapCameraZoomRangeFromID(id objc.ID) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMaxCenterCoordinateDistance(maxDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMinCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMinCenterCoordinateDistance(minDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) InitWithMinCenterCoordinateDistanceMaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) InitWithMinCenterCoordinateDistanceMaxCenterCoordinateDistance(minDistance unsafe.Pointer, maxDistance unsafe.Pointer) *MKMapCameraZoomRange

func (*MKMapCameraZoomRange) MaxCenterCoordinateDistance

func (o *MKMapCameraZoomRange) MaxCenterCoordinateDistance() unsafe.Pointer

func (*MKMapCameraZoomRange) MinCenterCoordinateDistance

func (o *MKMapCameraZoomRange) MinCenterCoordinateDistance() unsafe.Pointer

type MKMapConfiguration

type MKMapConfiguration struct {
	foundation.NSObject
}

An abstract class that represents the shared elements of map configurations.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapconfiguration

func MKMapConfigurationFromID

func MKMapConfigurationFromID(id objc.ID) *MKMapConfiguration

func (*MKMapConfiguration) ElevationStyle

func (o *MKMapConfiguration) ElevationStyle() MKMapElevationStyle

func (*MKMapConfiguration) SetElevationStyle

func (o *MKMapConfiguration) SetElevationStyle(elevationStyle MKMapElevationStyle)

type MKMapElevationStyle

type MKMapElevationStyle int64

Values that control the map’s elevation style.

const (
	MKMapElevationStyleFlat      MKMapElevationStyle = 0
	MKMapElevationStyleRealistic MKMapElevationStyle = 1
)

func (MKMapElevationStyle) String

func (e MKMapElevationStyle) String() string

type MKMapItem

type MKMapItem struct {
	foundation.NSObject
}

A point of interest on the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitem

func MKMapItemFromID

func MKMapItemFromID(id objc.ID) *MKMapItem

func MKMapItemMapItemForCurrentLocation

func MKMapItemMapItemForCurrentLocation() *MKMapItem

Creates and returns a singleton map item object representing the user’s location.

func (*MKMapItem) Address

func (o *MKMapItem) Address() *MKAddress

func (*MKMapItem) AddressRepresentations

func (o *MKMapItem) AddressRepresentations() *MKAddressRepresentations

func (*MKMapItem) AlternateIdentifiers

func (o *MKMapItem) AlternateIdentifiers() *foundation.NSSet[*MKMapItemIdentifier]

func (*MKMapItem) Identifier

func (o *MKMapItem) Identifier() *MKMapItemIdentifier

func (*MKMapItem) InitWithLocationAddress

func (o *MKMapItem) InitWithLocationAddress(location unsafe.Pointer, address *MKAddress) *MKMapItem

Creates and returns a map item object using the specified location and address objects.

func (*MKMapItem) InitWithPlacemark

func (o *MKMapItem) InitWithPlacemark(placemark *MKPlacemark) *MKMapItem

Creates and returns a map item object using the specified placemark object. Deprecated: Use init(location:address:)

func (*MKMapItem) IsCurrentLocation deprecated

func (o *MKMapItem) IsCurrentLocation() bool

Deprecated: Use location, address and addressRepresentations instead

func (*MKMapItem) Location

func (o *MKMapItem) Location() unsafe.Pointer

func (*MKMapItem) Name

func (o *MKMapItem) Name() *foundation.NSString

func (*MKMapItem) OpenInMapsWithLaunchOptions

func (o *MKMapItem) OpenInMapsWithLaunchOptions(launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID]) bool

Opens the Maps app and displays the map item.

func (*MKMapItem) OpenInMapsWithLaunchOptionsCompletionHandler

func (o *MKMapItem) OpenInMapsWithLaunchOptionsCompletionHandler(launchOptions *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(bool))

Opens the Maps app and displays the map item.

func (*MKMapItem) PhoneNumber

func (o *MKMapItem) PhoneNumber() *foundation.NSString

func (*MKMapItem) Placemark deprecated

func (o *MKMapItem) Placemark() *MKPlacemark

Deprecated: Use location, address and addressRepresentations instead

func (*MKMapItem) PointOfInterestCategory

func (o *MKMapItem) PointOfInterestCategory() *foundation.NSString

func (*MKMapItem) SetName

func (o *MKMapItem) SetName(name *foundation.NSString)

func (*MKMapItem) SetPhoneNumber

func (o *MKMapItem) SetPhoneNumber(phoneNumber *foundation.NSString)

func (*MKMapItem) SetPointOfInterestCategory

func (o *MKMapItem) SetPointOfInterestCategory(pointOfInterestCategory *foundation.NSString)

func (*MKMapItem) SetTimeZone

func (o *MKMapItem) SetTimeZone(timeZone *foundation.NSTimeZone)

func (*MKMapItem) SetUrl

func (o *MKMapItem) SetUrl(url *foundation.NSURL)

func (*MKMapItem) TimeZone

func (o *MKMapItem) TimeZone() *foundation.NSTimeZone

func (*MKMapItem) Url

func (o *MKMapItem) Url() *foundation.NSURL

type MKMapItemAnnotation

type MKMapItemAnnotation struct {
	foundation.NSObject
}

An annotation that represents a map item

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemannotation

func MKMapItemAnnotationFromID

func MKMapItemAnnotationFromID(id objc.ID) *MKMapItemAnnotation

func (*MKMapItemAnnotation) InitWithMapItem

func (o *MKMapItemAnnotation) InitWithMapItem(mapItem *MKMapItem) *MKMapItemAnnotation

Creates a map item annotation

func (*MKMapItemAnnotation) MapItem

func (o *MKMapItemAnnotation) MapItem() *MKMapItem

type MKMapItemDetailSelectionAccessoryCalloutStyle

type MKMapItemDetailSelectionAccessoryCalloutStyle int64

The style to use for a map item detail callout presentation.

const (
	MKMapItemDetailSelectionAccessoryCalloutStyleAutomatic MKMapItemDetailSelectionAccessoryCalloutStyle = 0
	MKMapItemDetailSelectionAccessoryCalloutStyleFull      MKMapItemDetailSelectionAccessoryCalloutStyle = 1
	MKMapItemDetailSelectionAccessoryCalloutStyleCompact   MKMapItemDetailSelectionAccessoryCalloutStyle = 2
)

func (MKMapItemDetailSelectionAccessoryCalloutStyle) String

type MKMapItemDetailSelectionAccessoryPresentationStyle

type MKMapItemDetailSelectionAccessoryPresentationStyle struct {
	foundation.NSObject
}

The type of map item detail accessory presentation to use.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemdetailselectionaccessorypresentationstyle

func MKMapItemDetailSelectionAccessoryPresentationStyleAutomaticWithPresentationViewController

func MKMapItemDetailSelectionAccessoryPresentationStyleAutomaticWithPresentationViewController(presentationViewController *appkit.NSViewController) *MKMapItemDetailSelectionAccessoryPresentationStyle

An appropriate presentation style will be chosen automatically.

func MKMapItemDetailSelectionAccessoryPresentationStyleCallout

func MKMapItemDetailSelectionAccessoryPresentationStyleCallout() *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleCalloutWithCalloutStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleCalloutWithCalloutStyle(style MKMapItemDetailSelectionAccessoryCalloutStyle) *MKMapItemDetailSelectionAccessoryPresentationStyle

Show map item detail as an annotation callout on the map

func MKMapItemDetailSelectionAccessoryPresentationStyleFromID

func MKMapItemDetailSelectionAccessoryPresentationStyleFromID(id objc.ID) *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleOpenInMaps

func MKMapItemDetailSelectionAccessoryPresentationStyleOpenInMaps() *MKMapItemDetailSelectionAccessoryPresentationStyle

func MKMapItemDetailSelectionAccessoryPresentationStyleSheetPresentedFromViewController

func MKMapItemDetailSelectionAccessoryPresentationStyleSheetPresentedFromViewController(viewController *appkit.NSViewController) *MKMapItemDetailSelectionAccessoryPresentationStyle

type MKMapItemDetailViewController

type MKMapItemDetailViewController struct {
	appkit.NSViewController
}

An object that displays detailed information about a map item.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemdetailviewcontroller

func MKMapItemDetailViewControllerFromID

func MKMapItemDetailViewControllerFromID(id objc.ID) *MKMapItemDetailViewController

func (*MKMapItemDetailViewController) Delegate

func (*MKMapItemDetailViewController) InitWithMapItem

Create a map item detail view controller.

func (*MKMapItemDetailViewController) InitWithMapItemDisplaysMap

func (o *MKMapItemDetailViewController) InitWithMapItemDisplaysMap(mapItem *MKMapItem, displaysMap bool) *MKMapItemDetailViewController

Create a map item detail view controller

func (*MKMapItemDetailViewController) MapItem

func (*MKMapItemDetailViewController) SetDelegate

func (*MKMapItemDetailViewController) SetMapItem

func (o *MKMapItemDetailViewController) SetMapItem(mapItem *MKMapItem)

type MKMapItemDetailViewControllerDelegate

type MKMapItemDetailViewControllerDelegate interface {
	MapItemDetailViewControllerDidFinish(detailViewController *MKMapItemDetailViewController)
}

MKMapItemDetailViewControllerDelegate wraps the ObjC protocol MKMapItemDetailViewControllerDelegate.

type MKMapItemIdentifier

type MKMapItemIdentifier struct {
	foundation.NSObject
}

A unique identifier for a place.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemidentifier

func MKMapItemIdentifierFromID

func MKMapItemIdentifierFromID(id objc.ID) *MKMapItemIdentifier

func (*MKMapItemIdentifier) IdentifierString

func (o *MKMapItemIdentifier) IdentifierString() *foundation.NSString

func (*MKMapItemIdentifier) InitWithIdentifierString

func (o *MKMapItemIdentifier) InitWithIdentifierString(string_ *foundation.NSString) *MKMapItemIdentifier

type MKMapItemRequest

type MKMapItemRequest struct {
	foundation.NSObject
}

A utility class you use to request additional information about a map feature.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapitemrequest

func MKMapItemRequestFromID

func MKMapItemRequestFromID(id objc.ID) *MKMapItemRequest

func (*MKMapItemRequest) InitWithMapItemIdentifier

func (o *MKMapItemRequest) InitWithMapItemIdentifier(identifier *MKMapItemIdentifier) *MKMapItemRequest

Create a request with a map item identifier.

func (*MKMapItemRequest) MapItemIdentifier

func (o *MKMapItemRequest) MapItemIdentifier() *MKMapItemIdentifier

type MKMapPoint

type MKMapPoint struct {
	X float64
	Y float64
}

A point on a two-dimensional map projection.

func MKMapPointForCoordinate

func MKMapPointForCoordinate(coordinate unsafe.Pointer) MKMapPoint

func MKMapPointMake

func MKMapPointMake(x float64, y float64) MKMapPoint

type MKMapRect

type MKMapRect struct {
	Origin MKMapPoint
	Size   MKMapSize
}

A rectangular area on a two-dimensional map projection.

func MKMapRectInset

func MKMapRectInset(rect MKMapRect, dx float64, dy float64) MKMapRect

func MKMapRectIntersection

func MKMapRectIntersection(rect1 MKMapRect, rect2 MKMapRect) MKMapRect

func MKMapRectMake

func MKMapRectMake(x float64, y float64, width float64, height float64) MKMapRect

func MKMapRectNull

func MKMapRectNull() MKMapRect

func MKMapRectOffset

func MKMapRectOffset(rect MKMapRect, dx float64, dy float64) MKMapRect

func MKMapRectRemainder

func MKMapRectRemainder(rect MKMapRect) MKMapRect

func MKMapRectUnion

func MKMapRectUnion(rect1 MKMapRect, rect2 MKMapRect) MKMapRect

func MKMapRectWorld

func MKMapRectWorld() MKMapRect

type MKMapSize

type MKMapSize struct {
	Width  float64
	Height float64
}

Width and height information on a two-dimensional map projection.

func MKMapSizeMake

func MKMapSizeMake(width float64, height float64) MKMapSize

func MKMapSizeWorld

func MKMapSizeWorld() MKMapSize

type MKMapSnapshot

type MKMapSnapshot struct {
	foundation.NSObject
}

An image that a snapshotter object generates.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshot

func MKMapSnapshotFromID

func MKMapSnapshotFromID(id objc.ID) *MKMapSnapshot

func (*MKMapSnapshot) Appearance

func (o *MKMapSnapshot) Appearance() *appkit.NSAppearance

func (*MKMapSnapshot) PointForCoordinate

func (o *MKMapSnapshot) PointForCoordinate(coordinate unsafe.Pointer) corefoundation.CGPoint

type MKMapSnapshotOptions

type MKMapSnapshotOptions struct {
	foundation.NSObject
}

The options the snapshotter initializer uses to create a snapshotter to capture map-based imagery.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshotoptions

func MKMapSnapshotOptionsFromID

func MKMapSnapshotOptionsFromID(id objc.ID) *MKMapSnapshotOptions

func (*MKMapSnapshotOptions) Appearance

func (o *MKMapSnapshotOptions) Appearance() *appkit.NSAppearance

func (*MKMapSnapshotOptions) Camera

func (o *MKMapSnapshotOptions) Camera() *MKMapCamera

func (*MKMapSnapshotOptions) MapRect

func (o *MKMapSnapshotOptions) MapRect() MKMapRect

func (*MKMapSnapshotOptions) MapType deprecated

func (o *MKMapSnapshotOptions) MapType() MKMapType

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) PointOfInterestFilter deprecated

func (o *MKMapSnapshotOptions) PointOfInterestFilter() *MKPointOfInterestFilter

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) PreferredConfiguration

func (o *MKMapSnapshotOptions) PreferredConfiguration() *MKMapConfiguration

func (*MKMapSnapshotOptions) Region

func (*MKMapSnapshotOptions) SetAppearance

func (o *MKMapSnapshotOptions) SetAppearance(appearance *appkit.NSAppearance)

func (*MKMapSnapshotOptions) SetCamera

func (o *MKMapSnapshotOptions) SetCamera(camera *MKMapCamera)

func (*MKMapSnapshotOptions) SetMapRect

func (o *MKMapSnapshotOptions) SetMapRect(mapRect MKMapRect)

func (*MKMapSnapshotOptions) SetMapType deprecated

func (o *MKMapSnapshotOptions) SetMapType(mapType MKMapType)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetPointOfInterestFilter deprecated

func (o *MKMapSnapshotOptions) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetPreferredConfiguration

func (o *MKMapSnapshotOptions) SetPreferredConfiguration(preferredConfiguration *MKMapConfiguration)

func (*MKMapSnapshotOptions) SetRegion

func (o *MKMapSnapshotOptions) SetRegion(region MKCoordinateRegion)

func (*MKMapSnapshotOptions) SetShowsBuildings deprecated

func (o *MKMapSnapshotOptions) SetShowsBuildings(showsBuildings bool)

Deprecated: No longer supported.

func (*MKMapSnapshotOptions) SetShowsPointsOfInterest deprecated

func (o *MKMapSnapshotOptions) SetShowsPointsOfInterest(showsPointsOfInterest bool)

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) SetSize

func (o *MKMapSnapshotOptions) SetSize(size corefoundation.CGSize)

func (*MKMapSnapshotOptions) ShowsBuildings deprecated

func (o *MKMapSnapshotOptions) ShowsBuildings() bool

Deprecated: No longer supported.

func (*MKMapSnapshotOptions) ShowsPointsOfInterest deprecated

func (o *MKMapSnapshotOptions) ShowsPointsOfInterest() bool

Deprecated: Use preferredConfiguration

func (*MKMapSnapshotOptions) Size

type MKMapSnapshotter

type MKMapSnapshotter struct {
	foundation.NSObject
}

A utility class for capturing a map and its content into an image.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapsnapshotter

func MKMapSnapshotterFromID

func MKMapSnapshotterFromID(id objc.ID) *MKMapSnapshotter

func (*MKMapSnapshotter) Cancel

func (o *MKMapSnapshotter) Cancel()

Cancels the request to create a snapshot.

func (*MKMapSnapshotter) InitWithOptions

func (o *MKMapSnapshotter) InitWithOptions(options *MKMapSnapshotOptions) *MKMapSnapshotter

Creates and returns a snapshotter object based on the specified options.

func (*MKMapSnapshotter) IsLoading

func (o *MKMapSnapshotter) IsLoading() bool

func (*MKMapSnapshotter) StartWithCompletionHandler

func (o *MKMapSnapshotter) StartWithCompletionHandler(completionHandler func(*MKMapSnapshot, unsafe.Pointer))

Submits the request to create a snapshot and delivers the results to the specified block.

func (*MKMapSnapshotter) StartWithQueueCompletionHandler

func (o *MKMapSnapshotter) StartWithQueueCompletionHandler(queue *foundation.NSObject, completionHandler func(*MKMapSnapshot, unsafe.Pointer))

Submits the request to create a snapshot and executes the resulting block on the specified queue.

type MKMapType

type MKMapType uint64

The type of map to display.

const (
	// A street map that shows the position of all roads and some road names.
	MKMapTypeStandard MKMapType = 0
	// Satellite imagery of the area.
	MKMapTypeSatellite MKMapType = 1
	// A satellite image of the area with road and road name information layered on top.
	MKMapTypeHybrid MKMapType = 2
	// A satellite image of the area with flyover data where available.
	MKMapTypeSatelliteFlyover MKMapType = 3
	// A hybrid satellite image with flyover data where available.
	MKMapTypeHybridFlyover MKMapType = 4
	// A street map where MapKit emphasizes your data over the underlying map details.
	MKMapTypeMutedStandard MKMapType = 5
)

func (MKMapType) String

func (e MKMapType) String() string

type MKMapView

type MKMapView struct {
	appkit.NSView
}

An embeddable map interface, similar to the one that the Maps app provides.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmapview

func MKMapViewFromID

func MKMapViewFromID(id objc.ID) *MKMapView

func (*MKMapView) AddAnnotation

func (o *MKMapView) AddAnnotation(annotation MKAnnotation)

Adds the specified annotation to the map view.

func (*MKMapView) AddAnnotations

func (o *MKMapView) AddAnnotations(annotations *foundation.NSArray[MKAnnotation])

Adds an array of annotation objects to the map view.

func (*MKMapView) AddOverlay

func (o *MKMapView) AddOverlay(overlay MKOverlay)

Adds a single overlay object to the map.

func (*MKMapView) AddOverlayLevel

func (o *MKMapView) AddOverlayLevel(overlay MKOverlay, level MKOverlayLevel)

Adds the overlay object to the map at the specified level.

func (*MKMapView) AddOverlays

func (o *MKMapView) AddOverlays(overlays *foundation.NSArray[MKOverlay])

Adds an array of overlay objects to the map.

func (*MKMapView) AddOverlaysLevel

func (o *MKMapView) AddOverlaysLevel(overlays *foundation.NSArray[MKOverlay], level MKOverlayLevel)

Adds an array of overlay objects to the map at the specified level.

func (*MKMapView) AnnotationVisibleRect

func (o *MKMapView) AnnotationVisibleRect() corefoundation.CGRect

func (*MKMapView) Annotations

func (o *MKMapView) Annotations() *foundation.NSArray[MKAnnotation]

func (*MKMapView) AnnotationsInMapRect

func (o *MKMapView) AnnotationsInMapRect(mapRect MKMapRect) *foundation.NSSet[MKAnnotation]

Returns the annotation objects within the specified map rectangle.

func (*MKMapView) Camera

func (o *MKMapView) Camera() *MKMapCamera

func (*MKMapView) CameraBoundary

func (o *MKMapView) CameraBoundary() *MKMapCameraBoundary

func (*MKMapView) CameraZoomRange

func (o *MKMapView) CameraZoomRange() *MKMapCameraZoomRange

func (*MKMapView) CenterCoordinate

func (o *MKMapView) CenterCoordinate() unsafe.Pointer

func (*MKMapView) ConvertCoordinateToPointToView

func (o *MKMapView) ConvertCoordinateToPointToView(coordinate unsafe.Pointer, view *appkit.NSView) corefoundation.CGPoint

Converts a map coordinate to a point in the specified view.

func (*MKMapView) ConvertPointToCoordinateFromView

func (o *MKMapView) ConvertPointToCoordinateFromView(point corefoundation.CGPoint, view *appkit.NSView) unsafe.Pointer

Converts a point in the specified view’s coordinate system to a map coordinate.

func (*MKMapView) ConvertRectToRegionFromView

func (o *MKMapView) ConvertRectToRegionFromView(rect corefoundation.CGRect, view *appkit.NSView) MKCoordinateRegion

Converts a rectangle in the specified view’s coordinate system to a map region.

func (*MKMapView) ConvertRegionToRectToView

func (o *MKMapView) ConvertRegionToRectToView(region MKCoordinateRegion, view *appkit.NSView) corefoundation.CGRect

Converts a map region to a rectangle in the specified view.

func (*MKMapView) Delegate

func (o *MKMapView) Delegate() MKMapViewDelegate

func (*MKMapView) DequeueReusableAnnotationViewWithIdentifier

func (o *MKMapView) DequeueReusableAnnotationViewWithIdentifier(identifier *foundation.NSString) *MKAnnotationView

Returns a reusable annotation view using its identifier.

func (*MKMapView) DequeueReusableAnnotationViewWithIdentifierForAnnotation

func (o *MKMapView) DequeueReusableAnnotationViewWithIdentifierForAnnotation(identifier *foundation.NSString, annotation MKAnnotation) *MKAnnotationView

Returns a reusable annotation view using the specified identifier with a specified existing annotation view, if possible.

func (*MKMapView) DeselectAnnotationAnimated

func (o *MKMapView) DeselectAnnotationAnimated(annotation MKAnnotation, animated bool)

Deselects the specified annotation and hides its callout view.

func (*MKMapView) ExchangeOverlayAtIndexWithOverlayAtIndex

func (o *MKMapView) ExchangeOverlayAtIndexWithOverlayAtIndex(index1 uint, index2 uint)

Exchanges the position of two overlay objects at the specified index.

func (*MKMapView) ExchangeOverlayWithOverlay

func (o *MKMapView) ExchangeOverlayWithOverlay(overlay1 MKOverlay, overlay2 MKOverlay)

Exchanges the positions of two overlay objects.

func (*MKMapView) InsertOverlayAboveOverlay

func (o *MKMapView) InsertOverlayAboveOverlay(overlay MKOverlay, sibling MKOverlay)

Inserts one overlay object above another.

func (*MKMapView) InsertOverlayAtIndex

func (o *MKMapView) InsertOverlayAtIndex(overlay MKOverlay, index uint)

Inserts an overlay object into the list associated with the map.

func (*MKMapView) InsertOverlayAtIndexLevel

func (o *MKMapView) InsertOverlayAtIndexLevel(overlay MKOverlay, index uint, level MKOverlayLevel)

Inserts an overlay object into the level at the specified index.

func (*MKMapView) InsertOverlayBelowOverlay

func (o *MKMapView) InsertOverlayBelowOverlay(overlay MKOverlay, sibling MKOverlay)

Inserts one overlay object below another.

func (*MKMapView) IsPitchEnabled

func (o *MKMapView) IsPitchEnabled() bool

func (*MKMapView) IsRotateEnabled

func (o *MKMapView) IsRotateEnabled() bool

func (*MKMapView) IsScrollEnabled

func (o *MKMapView) IsScrollEnabled() bool

func (*MKMapView) IsUserLocationVisible

func (o *MKMapView) IsUserLocationVisible() bool

func (*MKMapView) IsZoomEnabled

func (o *MKMapView) IsZoomEnabled() bool

func (*MKMapView) MapRectThatFits

func (o *MKMapView) MapRectThatFits(mapRect MKMapRect) MKMapRect

Returns a centered map rectangle with the same aspect ratio as the map view’s frame.

func (*MKMapView) MapRectThatFitsEdgePadding

func (o *MKMapView) MapRectThatFitsEdgePadding(mapRect MKMapRect, insets foundation.NSEdgeInsets) MKMapRect

Returns a centered, inset map rectangle with the same aspect ratio as the map view’s frame.

func (*MKMapView) MapType deprecated

func (o *MKMapView) MapType() MKMapType

Deprecated: Use respective MKMapConfiguration

func (*MKMapView) Overlays

func (o *MKMapView) Overlays() *foundation.NSArray[MKOverlay]

func (*MKMapView) OverlaysInLevel

func (o *MKMapView) OverlaysInLevel(level MKOverlayLevel) *foundation.NSArray[MKOverlay]

Returns overlay objects in the specified level of the map.

func (*MKMapView) PitchButtonVisibility

func (o *MKMapView) PitchButtonVisibility() MKFeatureVisibility

func (*MKMapView) PointOfInterestFilter deprecated

func (o *MKMapView) PointOfInterestFilter() *MKPointOfInterestFilter

Deprecated: Use pointOfInterestFilter on respective MKMapConfiguration

func (*MKMapView) PreferredConfiguration

func (o *MKMapView) PreferredConfiguration() *MKMapConfiguration

func (*MKMapView) Region

func (o *MKMapView) Region() MKCoordinateRegion

func (*MKMapView) RegionThatFits

func (o *MKMapView) RegionThatFits(region MKCoordinateRegion) MKCoordinateRegion

Adjusts the aspect ratio of the specified region to ensure that it fits in the map view’s frame.

func (*MKMapView) RegisterClassForAnnotationViewWithReuseIdentifier

func (o *MKMapView) RegisterClassForAnnotationViewWithReuseIdentifier(viewClass objc.Class, identifier *foundation.NSString)

Registers an annotation view class that the map can create automatically.

func (*MKMapView) RemoveAnnotation

func (o *MKMapView) RemoveAnnotation(annotation MKAnnotation)

Removes the specified annotation object from the map view.

func (*MKMapView) RemoveAnnotations

func (o *MKMapView) RemoveAnnotations(annotations *foundation.NSArray[MKAnnotation])

Removes an array of annotation objects from the map view.

func (*MKMapView) RemoveOverlay

func (o *MKMapView) RemoveOverlay(overlay MKOverlay)

Removes a single overlay object from the map.

func (*MKMapView) RemoveOverlays

func (o *MKMapView) RemoveOverlays(overlays *foundation.NSArray[MKOverlay])

Removes one or more overlay objects from the map.

func (*MKMapView) RendererForOverlay

func (o *MKMapView) RendererForOverlay(overlay MKOverlay) *MKOverlayRenderer

Returns the renderer object for drawing the contents of the specified overlay object.

func (*MKMapView) SelectAnnotationAnimated

func (o *MKMapView) SelectAnnotationAnimated(annotation MKAnnotation, animated bool)

Selects the specified annotation and displays a callout view for it.

func (*MKMapView) SelectedAnnotations

func (o *MKMapView) SelectedAnnotations() *foundation.NSArray[MKAnnotation]

func (*MKMapView) SetCamera

func (o *MKMapView) SetCamera(camera *MKMapCamera)

func (*MKMapView) SetCameraAnimated

func (o *MKMapView) SetCameraAnimated(camera *MKMapCamera, animated bool)

Changes the camera to use for determining the map’s viewing parameters, and optionally animates the change.

func (*MKMapView) SetCameraBoundary

func (o *MKMapView) SetCameraBoundary(cameraBoundary *MKMapCameraBoundary)

func (*MKMapView) SetCameraBoundaryAnimated

func (o *MKMapView) SetCameraBoundaryAnimated(cameraBoundary *MKMapCameraBoundary, animated bool)

Sets the camera boundary for the map view, specifying whether to use animation.

func (*MKMapView) SetCameraZoomRange

func (o *MKMapView) SetCameraZoomRange(cameraZoomRange *MKMapCameraZoomRange)

func (*MKMapView) SetCameraZoomRangeAnimated

func (o *MKMapView) SetCameraZoomRangeAnimated(cameraZoomRange *MKMapCameraZoomRange, animated bool)

Sets the camera zoom range for the map view, specifying whether to use animation.

func (*MKMapView) SetCenterCoordinate

func (o *MKMapView) SetCenterCoordinate(centerCoordinate unsafe.Pointer)

func (*MKMapView) SetCenterCoordinateAnimated

func (o *MKMapView) SetCenterCoordinateAnimated(coordinate unsafe.Pointer, animated bool)

Changes the center coordinate of the map, and optionally animates the change.

func (*MKMapView) SetDelegate

func (o *MKMapView) SetDelegate(delegate MKMapViewDelegate)

func (*MKMapView) SetMapType deprecated

func (o *MKMapView) SetMapType(mapType MKMapType)

Deprecated: Use respective MKMapConfiguration

func (*MKMapView) SetPitchButtonVisibility

func (o *MKMapView) SetPitchButtonVisibility(pitchButtonVisibility MKFeatureVisibility)

func (*MKMapView) SetPitchEnabled

func (o *MKMapView) SetPitchEnabled(pitchEnabled bool)

func (*MKMapView) SetPointOfInterestFilter deprecated

func (o *MKMapView) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

Deprecated: Use pointOfInterestFilter on respective MKMapConfiguration

func (*MKMapView) SetPreferredConfiguration

func (o *MKMapView) SetPreferredConfiguration(preferredConfiguration *MKMapConfiguration)

func (*MKMapView) SetRegion

func (o *MKMapView) SetRegion(region MKCoordinateRegion)

func (*MKMapView) SetRegionAnimated

func (o *MKMapView) SetRegionAnimated(region MKCoordinateRegion, animated bool)

Changes the currently visible region, and optionally animates the change.

func (*MKMapView) SetRotateEnabled

func (o *MKMapView) SetRotateEnabled(rotateEnabled bool)

func (*MKMapView) SetScrollEnabled

func (o *MKMapView) SetScrollEnabled(scrollEnabled bool)

func (*MKMapView) SetSelectedAnnotations

func (o *MKMapView) SetSelectedAnnotations(selectedAnnotations *foundation.NSArray[MKAnnotation])

func (*MKMapView) SetShowsBuildings deprecated

func (o *MKMapView) SetShowsBuildings(showsBuildings bool)

Deprecated: None

func (*MKMapView) SetShowsCompass

func (o *MKMapView) SetShowsCompass(showsCompass bool)

func (*MKMapView) SetShowsPitchControl

func (o *MKMapView) SetShowsPitchControl(showsPitchControl bool)

func (*MKMapView) SetShowsPointsOfInterest deprecated

func (o *MKMapView) SetShowsPointsOfInterest(showsPointsOfInterest bool)

Deprecated: Use pointOfInterestFilter

func (*MKMapView) SetShowsScale

func (o *MKMapView) SetShowsScale(showsScale bool)

func (*MKMapView) SetShowsTraffic deprecated

func (o *MKMapView) SetShowsTraffic(showsTraffic bool)

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) SetShowsUserLocation

func (o *MKMapView) SetShowsUserLocation(showsUserLocation bool)

func (*MKMapView) SetShowsUserTrackingButton

func (o *MKMapView) SetShowsUserTrackingButton(showsUserTrackingButton bool)

func (*MKMapView) SetShowsZoomControls

func (o *MKMapView) SetShowsZoomControls(showsZoomControls bool)

func (*MKMapView) SetUserTrackingMode

func (o *MKMapView) SetUserTrackingMode(userTrackingMode MKUserTrackingMode)

func (*MKMapView) SetUserTrackingModeAnimated

func (o *MKMapView) SetUserTrackingModeAnimated(mode MKUserTrackingMode, animated bool)

Sets the mode to use for tracking the user’s location, with optional animation.

func (*MKMapView) SetVisibleMapRect

func (o *MKMapView) SetVisibleMapRect(visibleMapRect MKMapRect)

func (*MKMapView) SetVisibleMapRectAnimated

func (o *MKMapView) SetVisibleMapRectAnimated(mapRect MKMapRect, animate bool)

Changes the currently visible portion of the map, and optionally animates the change.

func (*MKMapView) SetVisibleMapRectEdgePaddingAnimated

func (o *MKMapView) SetVisibleMapRectEdgePaddingAnimated(mapRect MKMapRect, insets foundation.NSEdgeInsets, animate bool)

Changes the currently visible portion of the map, allowing you to specify additional space around the edges.

func (*MKMapView) SetZoomEnabled

func (o *MKMapView) SetZoomEnabled(zoomEnabled bool)

func (*MKMapView) ShowAnnotationsAnimated

func (o *MKMapView) ShowAnnotationsAnimated(annotations *foundation.NSArray[MKAnnotation], animated bool)

Sets the visible region so that the map displays the specified annotations.

func (*MKMapView) ShowsBuildings deprecated

func (o *MKMapView) ShowsBuildings() bool

Deprecated: None

func (*MKMapView) ShowsCompass

func (o *MKMapView) ShowsCompass() bool

func (*MKMapView) ShowsPitchControl

func (o *MKMapView) ShowsPitchControl() bool

func (*MKMapView) ShowsPointsOfInterest deprecated

func (o *MKMapView) ShowsPointsOfInterest() bool

Deprecated: Use pointOfInterestFilter

func (*MKMapView) ShowsScale

func (o *MKMapView) ShowsScale() bool

func (*MKMapView) ShowsTraffic deprecated

func (o *MKMapView) ShowsTraffic() bool

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) ShowsUserLocation deprecated

func (o *MKMapView) ShowsUserLocation() bool

Deprecated: Use showsTraffic on respective MKMapConfiguration

func (*MKMapView) ShowsUserTrackingButton

func (o *MKMapView) ShowsUserTrackingButton() bool

func (*MKMapView) ShowsZoomControls

func (o *MKMapView) ShowsZoomControls() bool

func (*MKMapView) UserLocation

func (o *MKMapView) UserLocation() *MKUserLocation

func (*MKMapView) UserTrackingMode

func (o *MKMapView) UserTrackingMode() MKUserTrackingMode

func (*MKMapView) ViewForAnnotation

func (o *MKMapView) ViewForAnnotation(annotation MKAnnotation) *MKAnnotationView

Returns the annotation view associated with the specified annotation object, if any.

func (*MKMapView) VisibleMapRect

func (o *MKMapView) VisibleMapRect() MKMapRect

type MKMapViewDelegate

type MKMapViewDelegate interface {
}

MKMapViewDelegate wraps the ObjC protocol MKMapViewDelegate.

type MKMarkerAnnotationView

type MKMarkerAnnotationView struct {
	MKAnnotationView
}

An annotation view that displays a balloon-shaped marker at the designated location.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmarkerannotationview

func MKMarkerAnnotationViewFromID

func MKMarkerAnnotationViewFromID(id objc.ID) *MKMarkerAnnotationView

func (*MKMarkerAnnotationView) AnimatesWhenAdded

func (o *MKMarkerAnnotationView) AnimatesWhenAdded() bool

func (*MKMarkerAnnotationView) GlyphImage

func (o *MKMarkerAnnotationView) GlyphImage() *appkit.NSImage

func (*MKMarkerAnnotationView) GlyphText

func (o *MKMarkerAnnotationView) GlyphText() *foundation.NSString

func (*MKMarkerAnnotationView) GlyphTintColor

func (o *MKMarkerAnnotationView) GlyphTintColor() *appkit.NSColor

func (*MKMarkerAnnotationView) MarkerTintColor

func (o *MKMarkerAnnotationView) MarkerTintColor() *appkit.NSColor

func (*MKMarkerAnnotationView) SelectedGlyphImage

func (o *MKMarkerAnnotationView) SelectedGlyphImage() *appkit.NSImage

func (*MKMarkerAnnotationView) SetAnimatesWhenAdded

func (o *MKMarkerAnnotationView) SetAnimatesWhenAdded(animatesWhenAdded bool)

func (*MKMarkerAnnotationView) SetGlyphImage

func (o *MKMarkerAnnotationView) SetGlyphImage(glyphImage *appkit.NSImage)

func (*MKMarkerAnnotationView) SetGlyphText

func (o *MKMarkerAnnotationView) SetGlyphText(glyphText *foundation.NSString)

func (*MKMarkerAnnotationView) SetGlyphTintColor

func (o *MKMarkerAnnotationView) SetGlyphTintColor(glyphTintColor *appkit.NSColor)

func (*MKMarkerAnnotationView) SetMarkerTintColor

func (o *MKMarkerAnnotationView) SetMarkerTintColor(markerTintColor *appkit.NSColor)

func (*MKMarkerAnnotationView) SetSelectedGlyphImage

func (o *MKMarkerAnnotationView) SetSelectedGlyphImage(selectedGlyphImage *appkit.NSImage)

func (*MKMarkerAnnotationView) SetSubtitleVisibility

func (o *MKMarkerAnnotationView) SetSubtitleVisibility(subtitleVisibility MKFeatureVisibility)

func (*MKMarkerAnnotationView) SetTitleVisibility

func (o *MKMarkerAnnotationView) SetTitleVisibility(titleVisibility MKFeatureVisibility)

func (*MKMarkerAnnotationView) SubtitleVisibility

func (o *MKMarkerAnnotationView) SubtitleVisibility() MKFeatureVisibility

func (*MKMarkerAnnotationView) TitleVisibility

func (o *MKMarkerAnnotationView) TitleVisibility() MKFeatureVisibility

type MKMultiPoint

type MKMultiPoint struct {
	MKShape
}

An abstract class that defines the common behavior that open and closed polygon overlays share.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipoint

func MKMultiPointFromID

func MKMultiPointFromID(id objc.ID) *MKMultiPoint

func (*MKMultiPoint) GetCoordinatesRange

func (o *MKMultiPoint) GetCoordinatesRange(coords unsafe.Pointer, range_ foundation.NSRange)

Retrieves one or more points associated with the shape and converts them to coordinate values.

func (*MKMultiPoint) LocationAtPointIndex

func (o *MKMultiPoint) LocationAtPointIndex(index uint) float64

Translates a point index into a unit distance along the shape.

func (*MKMultiPoint) LocationsAtPointIndexes

func (o *MKMultiPoint) LocationsAtPointIndexes(indexes *foundation.NSIndexSet) *foundation.NSArray[*foundation.NSNumber]

Returns a set of unit distance values that correspond to the point indexes along the shape.

func (*MKMultiPoint) PointCount

func (o *MKMultiPoint) PointCount() uint

func (*MKMultiPoint) Points

func (o *MKMultiPoint) Points() *MKMapPoint

Returns an array of map points associated with the shape.

type MKMultiPolygon

type MKMultiPolygon struct {
	MKShape
}

A collection of multiple closed polygon overlays.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolygon

func MKMultiPolygonFromID

func MKMultiPolygonFromID(id objc.ID) *MKMultiPolygon

func (*MKMultiPolygon) InitWithPolygons

func (o *MKMultiPolygon) InitWithPolygons(polygons *foundation.NSArray[*MKPolygon]) *MKMultiPolygon

Creates a multipolygon object using the provided polygons.

func (*MKMultiPolygon) Polygons

func (o *MKMultiPolygon) Polygons() *foundation.NSArray[*MKPolygon]

type MKMultiPolygonRenderer

type MKMultiPolygonRenderer struct {
	MKOverlayPathRenderer
}

The visual representation of multiple polygon overlays.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolygonrenderer

func MKMultiPolygonRendererFromID

func MKMultiPolygonRendererFromID(id objc.ID) *MKMultiPolygonRenderer

func (*MKMultiPolygonRenderer) InitWithMultiPolygon

func (o *MKMultiPolygonRenderer) InitWithMultiPolygon(multiPolygon *MKMultiPolygon) *MKMultiPolygonRenderer

Creates and returns a renderer that handles drawing for the specified multipolygon overlay object.

func (*MKMultiPolygonRenderer) MultiPolygon

func (o *MKMultiPolygonRenderer) MultiPolygon() *MKMultiPolygon

type MKMultiPolyline

type MKMultiPolyline struct {
	MKShape
}

A collection of multipolyline shapes, each consisting of one or more connected line segments.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolyline

func MKMultiPolylineFromID

func MKMultiPolylineFromID(id objc.ID) *MKMultiPolyline

func (*MKMultiPolyline) InitWithPolylines

func (o *MKMultiPolyline) InitWithPolylines(polylines *foundation.NSArray[*MKPolyline]) *MKMultiPolyline

Creates a multipolyline object using the provided polylines.

func (*MKMultiPolyline) Polylines

func (o *MKMultiPolyline) Polylines() *foundation.NSArray[*MKPolyline]

type MKMultiPolylineRenderer

type MKMultiPolylineRenderer struct {
	MKOverlayPathRenderer
}

A visual representation of multiple polyline overlay objects.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkmultipolylinerenderer

func MKMultiPolylineRendererFromID

func MKMultiPolylineRendererFromID(id objc.ID) *MKMultiPolylineRenderer

func (*MKMultiPolylineRenderer) InitWithMultiPolyline

func (o *MKMultiPolylineRenderer) InitWithMultiPolyline(multiPolyline *MKMultiPolyline) *MKMultiPolylineRenderer

Creates an object that renders a visual representation of multiple polyline objects.

func (*MKMultiPolylineRenderer) MultiPolyline

func (o *MKMultiPolylineRenderer) MultiPolyline() *MKMultiPolyline

type MKOverlay

type MKOverlay interface {
	MKAnnotation
	Coordinate() unsafe.Pointer
	BoundingMapRect() MKMapRect
}

MKOverlay wraps the ObjC protocol MKOverlay.

type MKOverlayLevel

type MKOverlayLevel int64

Constants that indicate the position of overlays relative to other content.

const (
	// Place the overlay above roadways but below map labels, shields, or point-of-interest icons.
	MKOverlayLevelAboveRoads MKOverlayLevel = 0
	// Place the overlay above map labels, shields, or point-of-interest icons but below annotations and 3D projections of buildings.
	MKOverlayLevelAboveLabels MKOverlayLevel = 1
)

func (MKOverlayLevel) String

func (e MKOverlayLevel) String() string

type MKOverlayPathRenderer

type MKOverlayPathRenderer struct {
	MKOverlayRenderer
}

The visual representation of a path-based overlay.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkoverlaypathrenderer

func MKOverlayPathRendererFromID

func MKOverlayPathRendererFromID(id objc.ID) *MKOverlayPathRenderer

func (*MKOverlayPathRenderer) ApplyFillPropertiesToContextAtZoomScale

func (o *MKOverlayPathRenderer) ApplyFillPropertiesToContextAtZoomScale(context_ unsafe.Pointer, zoomScale float64)

Applies the receiver’s fill-related drawing properties to the specified graphics context.

func (*MKOverlayPathRenderer) ApplyStrokePropertiesToContextAtZoomScale

func (o *MKOverlayPathRenderer) ApplyStrokePropertiesToContextAtZoomScale(context_ unsafe.Pointer, zoomScale float64)

Applies the renderer’s stroke-related drawing properties to the specified graphics context.

func (*MKOverlayPathRenderer) CreatePath

func (o *MKOverlayPathRenderer) CreatePath()

Creates the path for the overlay.

func (*MKOverlayPathRenderer) FillColor

func (o *MKOverlayPathRenderer) FillColor() *appkit.NSColor

func (*MKOverlayPathRenderer) FillPathInContext

func (o *MKOverlayPathRenderer) FillPathInContext(path unsafe.Pointer, context_ unsafe.Pointer)

Fills the area that the specified path encloses.

func (*MKOverlayPathRenderer) InvalidatePath

func (o *MKOverlayPathRenderer) InvalidatePath()

Updates the path associated with the overlay renderer.

func (*MKOverlayPathRenderer) LineCap

func (*MKOverlayPathRenderer) LineDashPattern

func (*MKOverlayPathRenderer) LineDashPhase

func (o *MKOverlayPathRenderer) LineDashPhase() float64

func (*MKOverlayPathRenderer) LineJoin

func (*MKOverlayPathRenderer) LineWidth

func (o *MKOverlayPathRenderer) LineWidth() float64

func (*MKOverlayPathRenderer) MiterLimit

func (o *MKOverlayPathRenderer) MiterLimit() float64

func (*MKOverlayPathRenderer) Path

func (*MKOverlayPathRenderer) SetFillColor

func (o *MKOverlayPathRenderer) SetFillColor(fillColor *appkit.NSColor)

func (*MKOverlayPathRenderer) SetLineCap

func (o *MKOverlayPathRenderer) SetLineCap(lineCap coregraphics.CGLineCap)

func (*MKOverlayPathRenderer) SetLineDashPattern

func (o *MKOverlayPathRenderer) SetLineDashPattern(lineDashPattern *foundation.NSArray[*foundation.NSNumber])

func (*MKOverlayPathRenderer) SetLineDashPhase

func (o *MKOverlayPathRenderer) SetLineDashPhase(lineDashPhase float64)

func (*MKOverlayPathRenderer) SetLineJoin

func (o *MKOverlayPathRenderer) SetLineJoin(lineJoin coregraphics.CGLineJoin)

func (*MKOverlayPathRenderer) SetLineWidth

func (o *MKOverlayPathRenderer) SetLineWidth(lineWidth float64)

func (*MKOverlayPathRenderer) SetMiterLimit

func (o *MKOverlayPathRenderer) SetMiterLimit(miterLimit float64)

func (*MKOverlayPathRenderer) SetPath

func (o *MKOverlayPathRenderer) SetPath(path unsafe.Pointer)

func (*MKOverlayPathRenderer) SetShouldRasterize

func (o *MKOverlayPathRenderer) SetShouldRasterize(shouldRasterize bool)

func (*MKOverlayPathRenderer) SetStrokeColor

func (o *MKOverlayPathRenderer) SetStrokeColor(strokeColor *appkit.NSColor)

func (*MKOverlayPathRenderer) ShouldRasterize

func (o *MKOverlayPathRenderer) ShouldRasterize() bool

func (*MKOverlayPathRenderer) StrokeColor

func (o *MKOverlayPathRenderer) StrokeColor() *appkit.NSColor

func (*MKOverlayPathRenderer) StrokePathInContext

func (o *MKOverlayPathRenderer) StrokePathInContext(path unsafe.Pointer, context_ unsafe.Pointer)

Draws a line along the specified path.

type MKOverlayRenderer

type MKOverlayRenderer struct {
	foundation.NSObject
}

The shared infrastructure for drawing overlays on the map surface.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkoverlayrenderer

func MKOverlayRendererFromID

func MKOverlayRendererFromID(id objc.ID) *MKOverlayRenderer

func (*MKOverlayRenderer) Alpha

func (o *MKOverlayRenderer) Alpha() float64

func (*MKOverlayRenderer) CanDrawMapRectZoomScale

func (o *MKOverlayRenderer) CanDrawMapRectZoomScale(mapRect MKMapRect, zoomScale float64) bool

Returns a Boolean value that indicates whether the overlay view is ready to draw its content.

func (*MKOverlayRenderer) ContentScaleFactor

func (o *MKOverlayRenderer) ContentScaleFactor() float64

func (*MKOverlayRenderer) DrawMapRectZoomScaleInContext

func (o *MKOverlayRenderer) DrawMapRectZoomScaleInContext(mapRect MKMapRect, zoomScale float64, context_ unsafe.Pointer)

Draws the overlay’s contents at the specified location on the map.

func (*MKOverlayRenderer) InitWithOverlay

func (o *MKOverlayRenderer) InitWithOverlay(overlay MKOverlay) *MKOverlayRenderer

Creates and returns the overlay renderer and associates it with the specified overlay object.

func (*MKOverlayRenderer) MapPointForPoint

func (o *MKOverlayRenderer) MapPointForPoint(point corefoundation.CGPoint) MKMapPoint

Returns the point on the map that corresponds to the specified point in the overlay renderer’s drawing area.

func (*MKOverlayRenderer) MapRectForRect

func (o *MKOverlayRenderer) MapRectForRect(rect corefoundation.CGRect) MKMapRect

Returns the rectangle on the map that corresponds to the specified rectangle in the overlay renderer’s drawing area.

func (*MKOverlayRenderer) Overlay

func (o *MKOverlayRenderer) Overlay() MKOverlay

func (*MKOverlayRenderer) PointForMapPoint

func (o *MKOverlayRenderer) PointForMapPoint(mapPoint MKMapPoint) corefoundation.CGPoint

Returns the point in the overlay renderer’s drawing area corresponding to the specified point on the map.

func (*MKOverlayRenderer) RectForMapRect

func (o *MKOverlayRenderer) RectForMapRect(mapRect MKMapRect) corefoundation.CGRect

Returns the rectangle in the overlay renderer’s drawing area corresponding to the specified rectangle on the map.

func (*MKOverlayRenderer) SetAlpha

func (o *MKOverlayRenderer) SetAlpha(alpha float64)

func (*MKOverlayRenderer) SetNeedsDisplay

func (o *MKOverlayRenderer) SetNeedsDisplay()

Invalidates the entire contents of the overlay for all zoom scales.

func (*MKOverlayRenderer) SetNeedsDisplayInMapRect

func (o *MKOverlayRenderer) SetNeedsDisplayInMapRect(mapRect MKMapRect)

Invalidates the specified portion of the overlay at all zoom scales.

func (*MKOverlayRenderer) SetNeedsDisplayInMapRectZoomScale

func (o *MKOverlayRenderer) SetNeedsDisplayInMapRectZoomScale(mapRect MKMapRect, zoomScale float64)

Invalidates the specified portion of the overlay, but only at the specified zoom scale.

type MKPinAnnotationColor

type MKPinAnnotationColor uint64

The supported colors for pin annotations.

const (
	MKPinAnnotationColorRed    MKPinAnnotationColor = 0
	MKPinAnnotationColorGreen  MKPinAnnotationColor = 1
	MKPinAnnotationColorPurple MKPinAnnotationColor = 2
)

func (MKPinAnnotationColor) String

func (e MKPinAnnotationColor) String() string

type MKPinAnnotationView

type MKPinAnnotationView struct {
	MKAnnotationView
}

An annotation view that displays a pin image on the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpinannotationview Deprecated: since macOS 13.0.

func MKPinAnnotationViewFromID

func MKPinAnnotationViewFromID(id objc.ID) *MKPinAnnotationView

func (*MKPinAnnotationView) AnimatesDrop

func (o *MKPinAnnotationView) AnimatesDrop() bool

func (*MKPinAnnotationView) PinColor deprecated

Deprecated: since macOS 10.11.

func (*MKPinAnnotationView) PinTintColor

func (o *MKPinAnnotationView) PinTintColor() *appkit.NSColor

func (*MKPinAnnotationView) SetAnimatesDrop

func (o *MKPinAnnotationView) SetAnimatesDrop(animatesDrop bool)

func (*MKPinAnnotationView) SetPinColor deprecated

func (o *MKPinAnnotationView) SetPinColor(pinColor MKPinAnnotationColor)

Deprecated: since macOS 10.11.

func (*MKPinAnnotationView) SetPinTintColor

func (o *MKPinAnnotationView) SetPinTintColor(pinTintColor *appkit.NSColor)

type MKPitchControl

type MKPitchControl struct {
	appkit.NSView
}

A specialized view that displays and controls the pitch angle of the map view.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpitchcontrol

func MKPitchControlFromID

func MKPitchControlFromID(id objc.ID) *MKPitchControl

func MKPitchControlPitchControlWithMapView

func MKPitchControlPitchControlWithMapView(mapView *MKMapView) *MKPitchControl

Creates a pitch control and associates it with the specified map view.

func (*MKPitchControl) MapView

func (o *MKPitchControl) MapView() *MKMapView

func (*MKPitchControl) SetMapView

func (o *MKPitchControl) SetMapView(mapView *MKMapView)

type MKPlacemark

type MKPlacemark struct {
	corelocation.CLPlacemark
}

A user-friendly description of a location on the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkplacemark Deprecated: Use MKMapItem's location, address and addressRepresentations properties instead. Use MKAddressRepresentations for formatted address strings for MapKit provided MKMapItems

func MKPlacemarkFromID

func MKPlacemarkFromID(id objc.ID) *MKPlacemark

func (*MKPlacemark) CountryCode

func (o *MKPlacemark) CountryCode() *foundation.NSString

func (*MKPlacemark) InitWithCoordinate

func (o *MKPlacemark) InitWithCoordinate(coordinate unsafe.Pointer) *MKPlacemark

Creates and returns a placemark object using the specified coordinate.

func (*MKPlacemark) InitWithCoordinateAddressDictionary

func (o *MKPlacemark) InitWithCoordinateAddressDictionary(coordinate unsafe.Pointer, addressDictionary *foundation.NSDictionary[*foundation.NSString, objc.ID]) *MKPlacemark

Creates and returns a placemark object using the specified coordinate and Address Book dictionary.

func (*MKPlacemark) InitWithCoordinatePostalAddress

func (o *MKPlacemark) InitWithCoordinatePostalAddress(coordinate unsafe.Pointer, postalAddress *contacts.CNPostalAddress) *MKPlacemark

Creates and returns a placemark object with the specified coordinate and postal address from the user’s Contacts database.

type MKPointAnnotation

type MKPointAnnotation struct {
	MKShape
}

A string-based piece of location-specific data that you apply to a specific point on a map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpointannotation

func MKPointAnnotationFromID

func MKPointAnnotationFromID(id objc.ID) *MKPointAnnotation

func (*MKPointAnnotation) Coordinate

func (o *MKPointAnnotation) Coordinate() unsafe.Pointer

func (*MKPointAnnotation) Init

Creates a map annotation that shows a title string at a point on a map.

func (*MKPointAnnotation) InitWithCoordinate

func (o *MKPointAnnotation) InitWithCoordinate(coordinate unsafe.Pointer) *MKPointAnnotation

Creates a point annotation at the specified coordinate on the map.

func (*MKPointAnnotation) InitWithCoordinateTitleSubtitle

func (o *MKPointAnnotation) InitWithCoordinateTitleSubtitle(coordinate unsafe.Pointer, title *foundation.NSString, subtitle *foundation.NSString) *MKPointAnnotation

Creates a point annotation displaying a title and subtitle string at the specified coordinate on the map.

func (*MKPointAnnotation) SetCoordinate

func (o *MKPointAnnotation) SetCoordinate(coordinate unsafe.Pointer)

type MKPointOfInterestFilter

type MKPointOfInterestFilter struct {
	foundation.NSObject
}

A filter that includes or excludes point of interest categories from a map view, local search, or local search completer.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpointofinterestfilter

func MKPointOfInterestFilterFilterExcludingAllCategories

func MKPointOfInterestFilterFilterExcludingAllCategories() *MKPointOfInterestFilter

func MKPointOfInterestFilterFilterIncludingAllCategories

func MKPointOfInterestFilterFilterIncludingAllCategories() *MKPointOfInterestFilter

func MKPointOfInterestFilterFromID

func MKPointOfInterestFilterFromID(id objc.ID) *MKPointOfInterestFilter

func (*MKPointOfInterestFilter) ExcludesCategory

func (o *MKPointOfInterestFilter) ExcludesCategory(category *foundation.NSString) bool

Returns a Boolean value indicating whether the filter excludes the point of interest category.

func (*MKPointOfInterestFilter) IncludesCategory

func (o *MKPointOfInterestFilter) IncludesCategory(category *foundation.NSString) bool

Returns a Boolean value indicating whether the filter includes the point of interest category.

func (*MKPointOfInterestFilter) InitExcludingCategories

func (o *MKPointOfInterestFilter) InitExcludingCategories(categories *foundation.NSArray[*foundation.NSString]) *MKPointOfInterestFilter

Initialize the point of interest filter with a list of categories to exclude.

func (*MKPointOfInterestFilter) InitIncludingCategories

func (o *MKPointOfInterestFilter) InitIncludingCategories(categories *foundation.NSArray[*foundation.NSString]) *MKPointOfInterestFilter

Initialize the point of interest filter with a list of categories to include.

type MKPolygon

type MKPolygon struct {
	MKMultiPoint
}

A closed polygon overlay.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolygon

func MKPolygonFromID

func MKPolygonFromID(id objc.ID) *MKPolygon

func MKPolygonPolygonWithCoordinatesCount

func MKPolygonPolygonWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKPolygon

Creates and returns a polygon object from the specified set of coordinates.

func MKPolygonPolygonWithCoordinatesCountInteriorPolygons

func MKPolygonPolygonWithCoordinatesCountInteriorPolygons(coords unsafe.Pointer, count uint, interiorPolygons *foundation.NSArray[*MKPolygon]) *MKPolygon

Creates and returns a polygon object from the specified set of coordinates and interior polygons.

func MKPolygonPolygonWithPointsCount

func MKPolygonPolygonWithPointsCount(points *MKMapPoint, count uint) *MKPolygon

Creates and returns a polygon object from the specified set of map points.

func MKPolygonPolygonWithPointsCountInteriorPolygons

func MKPolygonPolygonWithPointsCountInteriorPolygons(points *MKMapPoint, count uint, interiorPolygons *foundation.NSArray[*MKPolygon]) *MKPolygon

Creates and returns a polygon object from the specified set of map points and interior polygons.

func (*MKPolygon) InteriorPolygons

func (o *MKPolygon) InteriorPolygons() *foundation.NSArray[*MKPolygon]

type MKPolygonRenderer

type MKPolygonRenderer struct {
	MKOverlayPathRenderer
}

The visual representation of a single polygon overlay.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolygonrenderer

func MKPolygonRendererFromID

func MKPolygonRendererFromID(id objc.ID) *MKPolygonRenderer

func (*MKPolygonRenderer) InitWithPolygon

func (o *MKPolygonRenderer) InitWithPolygon(polygon *MKPolygon) *MKPolygonRenderer

Creates a new renderer that handles drawing for the specified polygon overlay object.

func (*MKPolygonRenderer) Polygon

func (o *MKPolygonRenderer) Polygon() *MKPolygon

func (*MKPolygonRenderer) SetStrokeEnd

func (o *MKPolygonRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKPolygonRenderer) SetStrokeStart

func (o *MKPolygonRenderer) SetStrokeStart(strokeStart float64)

func (*MKPolygonRenderer) StrokeEnd

func (o *MKPolygonRenderer) StrokeEnd() float64

func (*MKPolygonRenderer) StrokeStart

func (o *MKPolygonRenderer) StrokeStart() float64

type MKPolyline

type MKPolyline struct {
	MKMultiPoint
}

An open polygon overlay consisting of one or more connected line segments.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolyline

func MKPolylineFromID

func MKPolylineFromID(id objc.ID) *MKPolyline

func MKPolylinePolylineWithCoordinatesCount

func MKPolylinePolylineWithCoordinatesCount(coords unsafe.Pointer, count uint) *MKPolyline

Creates a polyline object from the specified set of coordinates.

func MKPolylinePolylineWithPointsCount

func MKPolylinePolylineWithPointsCount(points *MKMapPoint, count uint) *MKPolyline

Creates a polyline object from the specified set of map points.

type MKPolylineRenderer

type MKPolylineRenderer struct {
	MKOverlayPathRenderer
}

A visual representation of any polyline overlay object.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkpolylinerenderer

func MKPolylineRendererFromID

func MKPolylineRendererFromID(id objc.ID) *MKPolylineRenderer

func (*MKPolylineRenderer) InitWithPolyline

func (o *MKPolylineRenderer) InitWithPolyline(polyline *MKPolyline) *MKPolylineRenderer

Creates a new overlay view using the specified polyline overlay object.

func (*MKPolylineRenderer) Polyline

func (o *MKPolylineRenderer) Polyline() *MKPolyline

func (*MKPolylineRenderer) SetStrokeEnd

func (o *MKPolylineRenderer) SetStrokeEnd(strokeEnd float64)

func (*MKPolylineRenderer) SetStrokeStart

func (o *MKPolylineRenderer) SetStrokeStart(strokeStart float64)

func (*MKPolylineRenderer) StrokeEnd

func (o *MKPolylineRenderer) StrokeEnd() float64

func (*MKPolylineRenderer) StrokeStart

func (o *MKPolylineRenderer) StrokeStart() float64

type MKReverseGeocodingRequest

type MKReverseGeocodingRequest struct {
	foundation.NSObject
}

A class that looks up address strings for the provided geographic coordinates.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkreversegeocodingrequest

func MKReverseGeocodingRequestFromID

func MKReverseGeocodingRequestFromID(id objc.ID) *MKReverseGeocodingRequest

func (*MKReverseGeocodingRequest) Cancel

func (o *MKReverseGeocodingRequest) Cancel()

A method you call to cancel a reverse geocoding request that’s in progress.

func (*MKReverseGeocodingRequest) GetMapItemsWithCompletionHandler

func (o *MKReverseGeocodingRequest) GetMapItemsWithCompletionHandler(completionHandler func(*foundation.NSArray[*MKMapItem], unsafe.Pointer))

Returns the map items relevant to the reverse geocoded location.

func (*MKReverseGeocodingRequest) InitWithLocation

func (o *MKReverseGeocodingRequest) InitWithLocation(location unsafe.Pointer) *MKReverseGeocodingRequest

Initializes a new reverse geocoder request object with the provided location.

func (*MKReverseGeocodingRequest) IsCancelled

func (o *MKReverseGeocodingRequest) IsCancelled() bool

func (*MKReverseGeocodingRequest) IsLoading

func (o *MKReverseGeocodingRequest) IsLoading() bool

func (*MKReverseGeocodingRequest) Location

func (*MKReverseGeocodingRequest) PreferredLocale

func (o *MKReverseGeocodingRequest) PreferredLocale() *foundation.NSLocale

func (*MKReverseGeocodingRequest) SetPreferredLocale

func (o *MKReverseGeocodingRequest) SetPreferredLocale(preferredLocale *foundation.NSLocale)

type MKRoute

type MKRoute struct {
	foundation.NSObject
}

A single route between a requested start and end point.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkroute

func MKRouteFromID

func MKRouteFromID(id objc.ID) *MKRoute

func (*MKRoute) AdvisoryNotices

func (o *MKRoute) AdvisoryNotices() *foundation.NSArray[*foundation.NSString]

func (*MKRoute) Distance

func (o *MKRoute) Distance() unsafe.Pointer

func (*MKRoute) ExpectedTravelTime

func (o *MKRoute) ExpectedTravelTime() float64

func (*MKRoute) HasHighways

func (o *MKRoute) HasHighways() bool

func (*MKRoute) HasTolls

func (o *MKRoute) HasTolls() bool

func (*MKRoute) Name

func (o *MKRoute) Name() *foundation.NSString

func (*MKRoute) Polyline

func (o *MKRoute) Polyline() *MKPolyline

func (*MKRoute) Steps

func (o *MKRoute) Steps() *foundation.NSArray[*MKRouteStep]

func (*MKRoute) TransportType

func (o *MKRoute) TransportType() MKDirectionsTransportType

type MKRouteStep

type MKRouteStep struct {
	foundation.NSObject
}

One portion of an overall route.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkroutestep

func MKRouteStepFromID

func MKRouteStepFromID(id objc.ID) *MKRouteStep

func (*MKRouteStep) Distance

func (o *MKRouteStep) Distance() unsafe.Pointer

func (*MKRouteStep) Instructions

func (o *MKRouteStep) Instructions() *foundation.NSString

func (*MKRouteStep) Notice

func (o *MKRouteStep) Notice() *foundation.NSString

func (*MKRouteStep) Polyline

func (o *MKRouteStep) Polyline() *MKPolyline

func (*MKRouteStep) TransportType

func (o *MKRouteStep) TransportType() MKDirectionsTransportType

type MKSearchCompletionFilterType

type MKSearchCompletionFilterType int64

Constants indicating the types of search completions to return. Deprecated: Use MKLocalSearchCompleterResultType

const (
	MKSearchCompletionFilterTypeLocationsAndQueries MKSearchCompletionFilterType = 0
	MKSearchCompletionFilterTypeLocationsOnly       MKSearchCompletionFilterType = 1
)

func (MKSearchCompletionFilterType) String

type MKSelectionAccessory

type MKSelectionAccessory struct {
	foundation.NSObject
}

The type of accessory to display for a selected annotation.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkselectionaccessory

func MKSelectionAccessoryFromID

func MKSelectionAccessoryFromID(id objc.ID) *MKSelectionAccessory

func MKSelectionAccessoryMapItemDetailWithPresentationStyle

func MKSelectionAccessoryMapItemDetailWithPresentationStyle(presentationStyle *MKMapItemDetailSelectionAccessoryPresentationStyle) *MKSelectionAccessory

Detailed information about a place

type MKShape

type MKShape struct {
	foundation.NSObject
}

An abstract class that defines the basic properties for all shape-based overlay objects.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkshape

func MKShapeFromID

func MKShapeFromID(id objc.ID) *MKShape

func (*MKShape) SetSubtitle

func (o *MKShape) SetSubtitle(subtitle *foundation.NSString)

func (*MKShape) SetTitle

func (o *MKShape) SetTitle(title *foundation.NSString)

func (*MKShape) Subtitle

func (o *MKShape) Subtitle() *foundation.NSString

func (*MKShape) Title

func (o *MKShape) Title() *foundation.NSString

type MKStandardMapConfiguration

type MKStandardMapConfiguration struct {
	MKMapConfiguration
}

The class that represents the default map presentation, which is a street map that shows the position of all roads and some road names.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkstandardmapconfiguration

func MKStandardMapConfigurationFromID

func MKStandardMapConfigurationFromID(id objc.ID) *MKStandardMapConfiguration

func (*MKStandardMapConfiguration) EmphasisStyle

func (*MKStandardMapConfiguration) Init

Creates a new standard map configuration.

func (*MKStandardMapConfiguration) InitWithElevationStyle

func (o *MKStandardMapConfiguration) InitWithElevationStyle(elevationStyle MKMapElevationStyle) *MKStandardMapConfiguration

Creates a new standard map configuration with the specified elevation style.

func (*MKStandardMapConfiguration) InitWithElevationStyleEmphasisStyle

func (o *MKStandardMapConfiguration) InitWithElevationStyleEmphasisStyle(elevationStyle MKMapElevationStyle, emphasisStyle MKStandardMapEmphasisStyle) *MKStandardMapConfiguration

Creates a standard map configuration with the specified elevation and emphasis styles.

func (*MKStandardMapConfiguration) InitWithEmphasisStyle

func (o *MKStandardMapConfiguration) InitWithEmphasisStyle(emphasisStyle MKStandardMapEmphasisStyle) *MKStandardMapConfiguration

Creates a standard map configuration with the specified emphasis style.

func (*MKStandardMapConfiguration) PointOfInterestFilter

func (o *MKStandardMapConfiguration) PointOfInterestFilter() *MKPointOfInterestFilter

func (*MKStandardMapConfiguration) SetEmphasisStyle

func (o *MKStandardMapConfiguration) SetEmphasisStyle(emphasisStyle MKStandardMapEmphasisStyle)

func (*MKStandardMapConfiguration) SetPointOfInterestFilter

func (o *MKStandardMapConfiguration) SetPointOfInterestFilter(pointOfInterestFilter *MKPointOfInterestFilter)

func (*MKStandardMapConfiguration) SetShowsTraffic

func (o *MKStandardMapConfiguration) SetShowsTraffic(showsTraffic bool)

func (*MKStandardMapConfiguration) ShowsTraffic

func (o *MKStandardMapConfiguration) ShowsTraffic() bool

type MKStandardMapEmphasisStyle

type MKStandardMapEmphasisStyle int64

Values that control how the framework emphasizes map features.

const (
	MKStandardMapEmphasisStyleDefault MKStandardMapEmphasisStyle = 0
	MKStandardMapEmphasisStyleMuted   MKStandardMapEmphasisStyle = 1
)

func (MKStandardMapEmphasisStyle) String

type MKTileOverlay

type MKTileOverlay struct {
	foundation.NSObject
}

An overlay that covers an area of the map with tiles of bitmap images.

Apple documentation: https://developer.apple.com/documentation/mapkit/mktileoverlay

func MKTileOverlayFromID

func MKTileOverlayFromID(id objc.ID) *MKTileOverlay

func (*MKTileOverlay) CanReplaceMapContent

func (o *MKTileOverlay) CanReplaceMapContent() bool

func (*MKTileOverlay) InitWithURLTemplate

func (o *MKTileOverlay) InitWithURLTemplate(uRLTemplate *foundation.NSString) *MKTileOverlay

Creates and returns a tile overlay object using the specified tile-access template.

func (*MKTileOverlay) IsGeometryFlipped

func (o *MKTileOverlay) IsGeometryFlipped() bool

func (*MKTileOverlay) LoadTileAtPathResult

func (o *MKTileOverlay) LoadTileAtPathResult(path MKTileOverlayPath, result func(*foundation.NSData, unsafe.Pointer))

Loads the specified tile asynchronously.

func (*MKTileOverlay) MaximumZ

func (o *MKTileOverlay) MaximumZ() int

func (*MKTileOverlay) MinimumZ

func (o *MKTileOverlay) MinimumZ() int

func (*MKTileOverlay) SetCanReplaceMapContent

func (o *MKTileOverlay) SetCanReplaceMapContent(canReplaceMapContent bool)

func (*MKTileOverlay) SetGeometryFlipped

func (o *MKTileOverlay) SetGeometryFlipped(geometryFlipped bool)

func (*MKTileOverlay) SetMaximumZ

func (o *MKTileOverlay) SetMaximumZ(maximumZ int)

func (*MKTileOverlay) SetMinimumZ

func (o *MKTileOverlay) SetMinimumZ(minimumZ int)

func (*MKTileOverlay) SetTileSize

func (o *MKTileOverlay) SetTileSize(tileSize corefoundation.CGSize)

func (*MKTileOverlay) TileSize

func (o *MKTileOverlay) TileSize() corefoundation.CGSize

func (*MKTileOverlay) URLForTilePath

func (o *MKTileOverlay) URLForTilePath(path MKTileOverlayPath) *foundation.NSURL

Returns the URL to use to access the specified tile.

func (*MKTileOverlay) URLTemplate

func (o *MKTileOverlay) URLTemplate() *foundation.NSString

type MKTileOverlayPath

type MKTileOverlayPath struct {
	X                  int
	Y                  int
	Z                  int
	ContentScaleFactor float64
}

Values that specify the path indexes for a single overlay tile.

type MKTileOverlayRenderer

type MKTileOverlayRenderer struct {
	MKOverlayRenderer
}

The renderer for a tile overlay that handles the drawing of bitmap images on the map surface.

Apple documentation: https://developer.apple.com/documentation/mapkit/mktileoverlayrenderer

func MKTileOverlayRendererFromID

func MKTileOverlayRendererFromID(id objc.ID) *MKTileOverlayRenderer

func (*MKTileOverlayRenderer) InitWithTileOverlay

func (o *MKTileOverlayRenderer) InitWithTileOverlay(overlay *MKTileOverlay) *MKTileOverlayRenderer

Initializes and returns a tile renderer with the specified overlay object.

func (*MKTileOverlayRenderer) ReloadData

func (o *MKTileOverlayRenderer) ReloadData()

Forces the tile overlay renderer to reload and redisplay the tiles.

type MKUserLocation

type MKUserLocation struct {
	foundation.NSObject
}

An annotation that reflects the user’s location on the map.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkuserlocation

func MKUserLocationFromID

func MKUserLocationFromID(id objc.ID) *MKUserLocation

func (*MKUserLocation) Heading

func (o *MKUserLocation) Heading() *corelocation.CLHeading

func (*MKUserLocation) IsUpdating

func (o *MKUserLocation) IsUpdating() bool

func (*MKUserLocation) Location

func (o *MKUserLocation) Location() unsafe.Pointer

func (*MKUserLocation) SetSubtitle

func (o *MKUserLocation) SetSubtitle(subtitle *foundation.NSString)

func (*MKUserLocation) SetTitle

func (o *MKUserLocation) SetTitle(title *foundation.NSString)

func (*MKUserLocation) Subtitle

func (o *MKUserLocation) Subtitle() *foundation.NSString

func (*MKUserLocation) Title

func (o *MKUserLocation) Title() *foundation.NSString

type MKUserLocationView

type MKUserLocationView struct {
	MKAnnotationView
}

A configurable annotation that shows the user’s location using the default MapKit style.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkuserlocationview

func MKUserLocationViewFromID

func MKUserLocationViewFromID(id objc.ID) *MKUserLocationView

type MKUserTrackingMode

type MKUserTrackingMode int64

The mode to use for tracking the user’s location on the map.

const (
	// The map doesn’t follow the user’s location.
	MKUserTrackingModeNone MKUserTrackingMode = 0
	// The map follows the user location.
	MKUserTrackingModeFollow MKUserTrackingMode = 1
)

func (MKUserTrackingMode) String

func (e MKUserTrackingMode) String() string

type MKZoomControl

type MKZoomControl struct {
	appkit.NSView
}

A specialized view that displays and controls the zoom level of the map view.

Apple documentation: https://developer.apple.com/documentation/mapkit/mkzoomcontrol

func MKZoomControlFromID

func MKZoomControlFromID(id objc.ID) *MKZoomControl

func MKZoomControlZoomControlWithMapView

func MKZoomControlZoomControlWithMapView(mapView *MKMapView) *MKZoomControl

Creates a zoom control and associates it with the specified map view.

func (*MKZoomControl) MapView

func (o *MKZoomControl) MapView() *MKMapView

func (*MKZoomControl) SetMapView

func (o *MKZoomControl) SetMapView(mapView *MKMapView)

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_unfair_lock_flags_t

type Os_unfair_lock_flags_t int64
const (
	OS_UNFAIR_LOCK_FLAG_NONE          Os_unfair_lock_flags_t = 0
	OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144
)

func (Os_unfair_lock_flags_t) String

func (e Os_unfair_lock_flags_t) String() string

type PMPageToPaperMappingType

type PMPageToPaperMappingType int64
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL