Package apple.mapkit.c
Class MapKit
- java.lang.Object
-
- apple.mapkit.c.MapKit
-
public final class MapKit extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static floatMKAnnotationViewZPriorityDefaultSelectedstatic floatMKAnnotationViewZPriorityDefaultUnselectedstatic floatMKAnnotationViewZPriorityMaxstatic floatMKAnnotationViewZPriorityMinstatic floatMKFeatureDisplayPriorityDefaultHighstatic floatMKFeatureDisplayPriorityDefaultLowstatic floatMKFeatureDisplayPriorityRequired
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringMKAnnotationCalloutInfoDidChangeNotification()Post this notification to re-query callout information.static CLLocationCoordinate2DMKCoordinateForMapPoint(MKMapPoint mapPoint)static MKCoordinateRegionMKCoordinateRegionForMapRect(MKMapRect rect)static MKCoordinateRegionMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, MKCoordinateSpan span)static MKCoordinateRegionMKCoordinateRegionMakeWithDistance(CLLocationCoordinate2D centerCoordinate, double latitudinalMeters, double longitudinalMeters)static MKCoordinateSpanMKCoordinateSpanMake(double latitudeDelta, double longitudeDelta)static java.lang.StringMKErrorDomain()static java.lang.StringMKLaunchOptionsCameraKey()Key to MKMapCamera objectstatic java.lang.StringMKLaunchOptionsDirectionsModeDefault()Will pick the best directions mode, given the user's preferencesstatic java.lang.StringMKLaunchOptionsDirectionsModeDriving()static java.lang.StringMKLaunchOptionsDirectionsModeKey()Key to a directions modestatic java.lang.StringMKLaunchOptionsDirectionsModeTransit()static java.lang.StringMKLaunchOptionsDirectionsModeWalking()static java.lang.StringMKLaunchOptionsMapCenterKey()Key to an NSValue-encoded CLLocationCoordinate2Dstatic java.lang.StringMKLaunchOptionsMapSpanKey()Key to an NSValue-encoded MKCoordinateSpanstatic java.lang.StringMKLaunchOptionsMapTypeKey()Key to an NSNumber corresponding to a MKMapTypestatic java.lang.StringMKLaunchOptionsShowsTrafficKey()Key to a boolean NSNumberstatic doubleMKMapCameraZoomDefault()static java.lang.StringMKMapItemTypeIdentifier()static booleanMKMapPointEqualToPoint(MKMapPoint point1, MKMapPoint point2)static MKMapPointMKMapPointForCoordinate(CLLocationCoordinate2D coordinate)Conversion between unprojected and projected coordinatesstatic MKMapPointMKMapPointMake(double x, double y)Geometric operations on MKMapPoint/Size/Rect.static doubleMKMapPointsPerMeterAtLatitude(double latitude)static booleanMKMapRectContainsPoint(MKMapRect rect, MKMapPoint point)static booleanMKMapRectContainsRect(MKMapRect rect1, MKMapRect rect2)static voidMKMapRectDivide(MKMapRect rect, MKMapRect slice, MKMapRect remainder, double amount, int edge)static booleanMKMapRectEqualToRect(MKMapRect rect1, MKMapRect rect2)static doubleMKMapRectGetHeight(MKMapRect rect)static doubleMKMapRectGetMaxX(MKMapRect rect)static doubleMKMapRectGetMaxY(MKMapRect rect)static doubleMKMapRectGetMidX(MKMapRect rect)static doubleMKMapRectGetMidY(MKMapRect rect)static doubleMKMapRectGetMinX(MKMapRect rect)static doubleMKMapRectGetMinY(MKMapRect rect)static doubleMKMapRectGetWidth(MKMapRect rect)static MKMapRectMKMapRectInset(MKMapRect rect, double dx, double dy)static MKMapRectMKMapRectIntersection(MKMapRect rect1, MKMapRect rect2)static booleanMKMapRectIntersectsRect(MKMapRect rect1, MKMapRect rect2)static booleanMKMapRectIsEmpty(MKMapRect rect)static booleanMKMapRectIsNull(MKMapRect rect)static MKMapRectMKMapRectMake(double x, double y, double width, double height)static MKMapRectMKMapRectNull()static MKMapRectMKMapRectOffset(MKMapRect rect, double dx, double dy)static MKMapRectMKMapRectRemainder(MKMapRect rect)For map rects that span the 180th meridian, this returns the portion of the rect that lies outside of the world rect wrapped around to the other side of the world.static booleanMKMapRectSpans180thMeridian(MKMapRect rect)static MKMapRectMKMapRectUnion(MKMapRect rect1, MKMapRect rect2)static MKMapRectMKMapRectWorld()The rect that contains every map point in the world.static booleanMKMapSizeEqualToSize(MKMapSize size1, MKMapSize size2)static MKMapSizeMKMapSizeMake(double width, double height)static MKMapSizeMKMapSizeWorld()static java.lang.StringMKMapViewDefaultAnnotationViewReuseIdentifier()static java.lang.StringMKMapViewDefaultClusterAnnotationViewReuseIdentifier()static doubleMKMetersBetweenMapPoints(MKMapPoint a, MKMapPoint b)static doubleMKMetersPerMapPointAtLatitude(double latitude)Conversion between distances and projected coordinatesstatic java.lang.StringMKPointOfInterestCategoryAirport()static java.lang.StringMKPointOfInterestCategoryAmusementPark()static java.lang.StringMKPointOfInterestCategoryAquarium()static java.lang.StringMKPointOfInterestCategoryATM()static java.lang.StringMKPointOfInterestCategoryBakery()static java.lang.StringMKPointOfInterestCategoryBank()static java.lang.StringMKPointOfInterestCategoryBeach()static java.lang.StringMKPointOfInterestCategoryBrewery()static java.lang.StringMKPointOfInterestCategoryCafe()static java.lang.StringMKPointOfInterestCategoryCampground()static java.lang.StringMKPointOfInterestCategoryCarRental()static java.lang.StringMKPointOfInterestCategoryEVCharger()static java.lang.StringMKPointOfInterestCategoryFireStation()static java.lang.StringMKPointOfInterestCategoryFitnessCenter()static java.lang.StringMKPointOfInterestCategoryFoodMarket()static java.lang.StringMKPointOfInterestCategoryGasStation()static java.lang.StringMKPointOfInterestCategoryHospital()static java.lang.StringMKPointOfInterestCategoryHotel()static java.lang.StringMKPointOfInterestCategoryLaundry()static java.lang.StringMKPointOfInterestCategoryLibrary()static java.lang.StringMKPointOfInterestCategoryMarina()static java.lang.StringMKPointOfInterestCategoryMovieTheater()static java.lang.StringMKPointOfInterestCategoryMuseum()static java.lang.StringMKPointOfInterestCategoryNationalPark()static java.lang.StringMKPointOfInterestCategoryNightlife()static java.lang.StringMKPointOfInterestCategoryPark()static java.lang.StringMKPointOfInterestCategoryParking()static java.lang.StringMKPointOfInterestCategoryPharmacy()static java.lang.StringMKPointOfInterestCategoryPolice()static java.lang.StringMKPointOfInterestCategoryPostOffice()static java.lang.StringMKPointOfInterestCategoryPublicTransport()static java.lang.StringMKPointOfInterestCategoryRestaurant()static java.lang.StringMKPointOfInterestCategoryRestroom()static java.lang.StringMKPointOfInterestCategorySchool()static java.lang.StringMKPointOfInterestCategoryStadium()static java.lang.StringMKPointOfInterestCategoryStore()static java.lang.StringMKPointOfInterestCategoryTheater()static java.lang.StringMKPointOfInterestCategoryUniversity()static java.lang.StringMKPointOfInterestCategoryWinery()static java.lang.StringMKPointOfInterestCategoryZoo()static doubleMKPointsOfInterestRequestMaxRadius()static doubleMKRoadWidthAtZoomScale(double zoomScale)Road widths are typically not drawn to scale on the map.static java.lang.StringMKStringFromMapPoint(MKMapPoint point)static java.lang.StringMKStringFromMapRect(MKMapRect rect)static java.lang.StringMKStringFromMapSize(MKMapSize size)
-
-
-
Field Detail
-
MKFeatureDisplayPriorityRequired
public static final float MKFeatureDisplayPriorityRequired
- See Also:
- Constant Field Values
-
MKFeatureDisplayPriorityDefaultHigh
public static final float MKFeatureDisplayPriorityDefaultHigh
- See Also:
- Constant Field Values
-
MKFeatureDisplayPriorityDefaultLow
public static final float MKFeatureDisplayPriorityDefaultLow
- See Also:
- Constant Field Values
-
MKAnnotationViewZPriorityMax
public static final float MKAnnotationViewZPriorityMax
- See Also:
- Constant Field Values
-
MKAnnotationViewZPriorityDefaultSelected
public static final float MKAnnotationViewZPriorityDefaultSelected
- See Also:
- Constant Field Values
-
MKAnnotationViewZPriorityDefaultUnselected
public static final float MKAnnotationViewZPriorityDefaultUnselected
- See Also:
- Constant Field Values
-
MKAnnotationViewZPriorityMin
public static final float MKAnnotationViewZPriorityMin
- See Also:
- Constant Field Values
-
-
Method Detail
-
MKCoordinateSpanMake
public static MKCoordinateSpan MKCoordinateSpanMake(double latitudeDelta, double longitudeDelta)
-
MKCoordinateRegionMake
public static MKCoordinateRegion MKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, MKCoordinateSpan span)
-
MKCoordinateRegionMakeWithDistance
public static MKCoordinateRegion MKCoordinateRegionMakeWithDistance(CLLocationCoordinate2D centerCoordinate, double latitudinalMeters, double longitudinalMeters)
-
MKMapPointForCoordinate
public static MKMapPoint MKMapPointForCoordinate(CLLocationCoordinate2D coordinate)
Conversion between unprojected and projected coordinates
-
MKCoordinateForMapPoint
public static CLLocationCoordinate2D MKCoordinateForMapPoint(MKMapPoint mapPoint)
-
MKMetersPerMapPointAtLatitude
public static double MKMetersPerMapPointAtLatitude(double latitude)
Conversion between distances and projected coordinates
-
MKMapPointsPerMeterAtLatitude
public static double MKMapPointsPerMeterAtLatitude(double latitude)
-
MKMetersBetweenMapPoints
public static double MKMetersBetweenMapPoints(MKMapPoint a, MKMapPoint b)
-
MKMapPointMake
public static MKMapPoint MKMapPointMake(double x, double y)
Geometric operations on MKMapPoint/Size/Rect. See CGGeometry.h for information on the CGFloat versions of these functions.
-
MKMapSizeMake
public static MKMapSize MKMapSizeMake(double width, double height)
-
MKMapRectMake
public static MKMapRect MKMapRectMake(double x, double y, double width, double height)
-
MKMapRectGetMinX
public static double MKMapRectGetMinX(MKMapRect rect)
-
MKMapRectGetMinY
public static double MKMapRectGetMinY(MKMapRect rect)
-
MKMapRectGetMidX
public static double MKMapRectGetMidX(MKMapRect rect)
-
MKMapRectGetMidY
public static double MKMapRectGetMidY(MKMapRect rect)
-
MKMapRectGetMaxX
public static double MKMapRectGetMaxX(MKMapRect rect)
-
MKMapRectGetMaxY
public static double MKMapRectGetMaxY(MKMapRect rect)
-
MKMapRectGetWidth
public static double MKMapRectGetWidth(MKMapRect rect)
-
MKMapRectGetHeight
public static double MKMapRectGetHeight(MKMapRect rect)
-
MKMapPointEqualToPoint
public static boolean MKMapPointEqualToPoint(MKMapPoint point1, MKMapPoint point2)
-
MKMapRectIsNull
public static boolean MKMapRectIsNull(MKMapRect rect)
-
MKMapRectIsEmpty
public static boolean MKMapRectIsEmpty(MKMapRect rect)
-
MKStringFromMapPoint
public static java.lang.String MKStringFromMapPoint(MKMapPoint point)
-
MKStringFromMapSize
public static java.lang.String MKStringFromMapSize(MKMapSize size)
-
MKStringFromMapRect
public static java.lang.String MKStringFromMapRect(MKMapRect rect)
-
MKMapRectIntersection
public static MKMapRect MKMapRectIntersection(MKMapRect rect1, MKMapRect rect2)
-
MKMapRectDivide
public static void MKMapRectDivide(MKMapRect rect, MKMapRect slice, MKMapRect remainder, double amount, int edge)
-
MKMapRectContainsPoint
public static boolean MKMapRectContainsPoint(MKMapRect rect, MKMapPoint point)
-
MKMapRectContainsRect
public static boolean MKMapRectContainsRect(MKMapRect rect1, MKMapRect rect2)
-
MKMapRectIntersectsRect
public static boolean MKMapRectIntersectsRect(MKMapRect rect1, MKMapRect rect2)
-
MKCoordinateRegionForMapRect
public static MKCoordinateRegion MKCoordinateRegionForMapRect(MKMapRect rect)
-
MKMapRectSpans180thMeridian
public static boolean MKMapRectSpans180thMeridian(MKMapRect rect)
-
MKMapRectRemainder
public static MKMapRect MKMapRectRemainder(MKMapRect rect)
For map rects that span the 180th meridian, this returns the portion of the rect that lies outside of the world rect wrapped around to the other side of the world. The portion of the rect that lies inside the world rect can be determined with MKMapRectIntersection(rect, MKMapRectWorld).
-
MKRoadWidthAtZoomScale
public static double MKRoadWidthAtZoomScale(double zoomScale)
Road widths are typically not drawn to scale on the map. This function returns the approximate width in points of roads at the specified zoomScale. The result of this function is suitable for use with CGContextSetLineWidth.
-
MKMapSizeWorld
public static MKMapSize MKMapSizeWorld()
-
MKMapRectWorld
public static MKMapRect MKMapRectWorld()
The rect that contains every map point in the world.
-
MKMapRectNull
public static MKMapRect MKMapRectNull()
-
MKLaunchOptionsDirectionsModeKey
public static java.lang.String MKLaunchOptionsDirectionsModeKey()
Key to a directions mode
-
MKLaunchOptionsMapTypeKey
public static java.lang.String MKLaunchOptionsMapTypeKey()
Key to an NSNumber corresponding to a MKMapType
-
MKLaunchOptionsShowsTrafficKey
public static java.lang.String MKLaunchOptionsShowsTrafficKey()
Key to a boolean NSNumber
-
MKLaunchOptionsDirectionsModeDefault
public static java.lang.String MKLaunchOptionsDirectionsModeDefault()
Will pick the best directions mode, given the user's preferences
-
MKLaunchOptionsDirectionsModeDriving
public static java.lang.String MKLaunchOptionsDirectionsModeDriving()
-
MKLaunchOptionsDirectionsModeWalking
public static java.lang.String MKLaunchOptionsDirectionsModeWalking()
-
MKLaunchOptionsDirectionsModeTransit
public static java.lang.String MKLaunchOptionsDirectionsModeTransit()
-
MKLaunchOptionsMapCenterKey
public static java.lang.String MKLaunchOptionsMapCenterKey()
Key to an NSValue-encoded CLLocationCoordinate2D
-
MKLaunchOptionsMapSpanKey
public static java.lang.String MKLaunchOptionsMapSpanKey()
Key to an NSValue-encoded MKCoordinateSpan
-
MKLaunchOptionsCameraKey
public static java.lang.String MKLaunchOptionsCameraKey()
Key to MKMapCamera object
-
MKAnnotationCalloutInfoDidChangeNotification
public static java.lang.String MKAnnotationCalloutInfoDidChangeNotification()
Post this notification to re-query callout information.
-
MKErrorDomain
public static java.lang.String MKErrorDomain()
-
MKMapItemTypeIdentifier
public static java.lang.String MKMapItemTypeIdentifier()
-
MKMapViewDefaultAnnotationViewReuseIdentifier
public static java.lang.String MKMapViewDefaultAnnotationViewReuseIdentifier()
-
MKMapViewDefaultClusterAnnotationViewReuseIdentifier
public static java.lang.String MKMapViewDefaultClusterAnnotationViewReuseIdentifier()
-
MKPointOfInterestCategoryAirport
public static java.lang.String MKPointOfInterestCategoryAirport()
-
MKPointOfInterestCategoryAmusementPark
public static java.lang.String MKPointOfInterestCategoryAmusementPark()
-
MKPointOfInterestCategoryAquarium
public static java.lang.String MKPointOfInterestCategoryAquarium()
-
MKPointOfInterestCategoryATM
public static java.lang.String MKPointOfInterestCategoryATM()
-
MKPointOfInterestCategoryBakery
public static java.lang.String MKPointOfInterestCategoryBakery()
-
MKPointOfInterestCategoryBank
public static java.lang.String MKPointOfInterestCategoryBank()
-
MKPointOfInterestCategoryBeach
public static java.lang.String MKPointOfInterestCategoryBeach()
-
MKPointOfInterestCategoryBrewery
public static java.lang.String MKPointOfInterestCategoryBrewery()
-
MKPointOfInterestCategoryCafe
public static java.lang.String MKPointOfInterestCategoryCafe()
-
MKPointOfInterestCategoryCampground
public static java.lang.String MKPointOfInterestCategoryCampground()
-
MKPointOfInterestCategoryCarRental
public static java.lang.String MKPointOfInterestCategoryCarRental()
-
MKPointOfInterestCategoryEVCharger
public static java.lang.String MKPointOfInterestCategoryEVCharger()
-
MKPointOfInterestCategoryFireStation
public static java.lang.String MKPointOfInterestCategoryFireStation()
-
MKPointOfInterestCategoryFitnessCenter
public static java.lang.String MKPointOfInterestCategoryFitnessCenter()
-
MKPointOfInterestCategoryFoodMarket
public static java.lang.String MKPointOfInterestCategoryFoodMarket()
-
MKPointOfInterestCategoryGasStation
public static java.lang.String MKPointOfInterestCategoryGasStation()
-
MKPointOfInterestCategoryHospital
public static java.lang.String MKPointOfInterestCategoryHospital()
-
MKPointOfInterestCategoryHotel
public static java.lang.String MKPointOfInterestCategoryHotel()
-
MKPointOfInterestCategoryLaundry
public static java.lang.String MKPointOfInterestCategoryLaundry()
-
MKPointOfInterestCategoryLibrary
public static java.lang.String MKPointOfInterestCategoryLibrary()
-
MKPointOfInterestCategoryMarina
public static java.lang.String MKPointOfInterestCategoryMarina()
-
MKPointOfInterestCategoryMovieTheater
public static java.lang.String MKPointOfInterestCategoryMovieTheater()
-
MKPointOfInterestCategoryMuseum
public static java.lang.String MKPointOfInterestCategoryMuseum()
-
MKPointOfInterestCategoryNationalPark
public static java.lang.String MKPointOfInterestCategoryNationalPark()
-
MKPointOfInterestCategoryNightlife
public static java.lang.String MKPointOfInterestCategoryNightlife()
-
MKPointOfInterestCategoryPark
public static java.lang.String MKPointOfInterestCategoryPark()
-
MKPointOfInterestCategoryParking
public static java.lang.String MKPointOfInterestCategoryParking()
-
MKPointOfInterestCategoryPharmacy
public static java.lang.String MKPointOfInterestCategoryPharmacy()
-
MKPointOfInterestCategoryPolice
public static java.lang.String MKPointOfInterestCategoryPolice()
-
MKPointOfInterestCategoryPostOffice
public static java.lang.String MKPointOfInterestCategoryPostOffice()
-
MKPointOfInterestCategoryPublicTransport
public static java.lang.String MKPointOfInterestCategoryPublicTransport()
-
MKPointOfInterestCategoryRestaurant
public static java.lang.String MKPointOfInterestCategoryRestaurant()
-
MKPointOfInterestCategoryRestroom
public static java.lang.String MKPointOfInterestCategoryRestroom()
-
MKPointOfInterestCategorySchool
public static java.lang.String MKPointOfInterestCategorySchool()
-
MKPointOfInterestCategoryStadium
public static java.lang.String MKPointOfInterestCategoryStadium()
-
MKPointOfInterestCategoryStore
public static java.lang.String MKPointOfInterestCategoryStore()
-
MKPointOfInterestCategoryTheater
public static java.lang.String MKPointOfInterestCategoryTheater()
-
MKPointOfInterestCategoryUniversity
public static java.lang.String MKPointOfInterestCategoryUniversity()
-
MKPointOfInterestCategoryWinery
public static java.lang.String MKPointOfInterestCategoryWinery()
-
MKPointOfInterestCategoryZoo
public static java.lang.String MKPointOfInterestCategoryZoo()
-
MKMapCameraZoomDefault
public static double MKMapCameraZoomDefault()
-
MKPointsOfInterestRequestMaxRadius
public static double MKPointsOfInterestRequestMaxRadius()
-
-