public final class MapKit
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
MKAnnotationViewZPriorityDefaultSelected |
static float |
MKAnnotationViewZPriorityDefaultUnselected |
static float |
MKAnnotationViewZPriorityMax |
static float |
MKAnnotationViewZPriorityMin |
static float |
MKFeatureDisplayPriorityDefaultHigh |
static float |
MKFeatureDisplayPriorityDefaultLow |
static float |
MKFeatureDisplayPriorityRequired |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
MKAnnotationCalloutInfoDidChangeNotification()
Post this notification to re-query callout information.
|
static CLLocationCoordinate2D |
MKCoordinateForMapPoint(MKMapPoint mapPoint) |
static MKCoordinateRegion |
MKCoordinateRegionForMapRect(MKMapRect rect) |
static MKCoordinateRegion |
MKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate,
MKCoordinateSpan span) |
static MKCoordinateRegion |
MKCoordinateRegionMakeWithDistance(CLLocationCoordinate2D centerCoordinate,
double latitudinalMeters,
double longitudinalMeters) |
static MKCoordinateSpan |
MKCoordinateSpanMake(double latitudeDelta,
double longitudeDelta) |
static java.lang.String |
MKErrorDomain() |
static java.lang.String |
MKLaunchOptionsCameraKey()
Key to MKMapCamera object
|
static java.lang.String |
MKLaunchOptionsDirectionsModeDefault()
Will pick the best directions mode, given the user's preferences
|
static java.lang.String |
MKLaunchOptionsDirectionsModeDriving() |
static java.lang.String |
MKLaunchOptionsDirectionsModeKey()
Key to a directions mode
|
static java.lang.String |
MKLaunchOptionsDirectionsModeTransit() |
static java.lang.String |
MKLaunchOptionsDirectionsModeWalking() |
static java.lang.String |
MKLaunchOptionsMapCenterKey()
Key to an NSValue-encoded CLLocationCoordinate2D
|
static java.lang.String |
MKLaunchOptionsMapSpanKey()
Key to an NSValue-encoded MKCoordinateSpan
|
static java.lang.String |
MKLaunchOptionsMapTypeKey()
Key to an NSNumber corresponding to a MKMapType
|
static java.lang.String |
MKLaunchOptionsShowsTrafficKey()
Key to a boolean NSNumber
|
static double |
MKMapCameraZoomDefault() |
static java.lang.String |
MKMapItemTypeIdentifier() |
static boolean |
MKMapPointEqualToPoint(MKMapPoint point1,
MKMapPoint point2) |
static MKMapPoint |
MKMapPointForCoordinate(CLLocationCoordinate2D coordinate)
Conversion between unprojected and projected coordinates
|
static MKMapPoint |
MKMapPointMake(double x,
double y)
Geometric operations on MKMapPoint/Size/Rect.
|
static double |
MKMapPointsPerMeterAtLatitude(double latitude) |
static boolean |
MKMapRectContainsPoint(MKMapRect rect,
MKMapPoint point) |
static boolean |
MKMapRectContainsRect(MKMapRect rect1,
MKMapRect rect2) |
static void |
MKMapRectDivide(MKMapRect rect,
MKMapRect slice,
MKMapRect remainder,
double amount,
int edge) |
static boolean |
MKMapRectEqualToRect(MKMapRect rect1,
MKMapRect rect2) |
static double |
MKMapRectGetHeight(MKMapRect rect) |
static double |
MKMapRectGetMaxX(MKMapRect rect) |
static double |
MKMapRectGetMaxY(MKMapRect rect) |
static double |
MKMapRectGetMidX(MKMapRect rect) |
static double |
MKMapRectGetMidY(MKMapRect rect) |
static double |
MKMapRectGetMinX(MKMapRect rect) |
static double |
MKMapRectGetMinY(MKMapRect rect) |
static double |
MKMapRectGetWidth(MKMapRect rect) |
static MKMapRect |
MKMapRectInset(MKMapRect rect,
double dx,
double dy) |
static MKMapRect |
MKMapRectIntersection(MKMapRect rect1,
MKMapRect rect2) |
static boolean |
MKMapRectIntersectsRect(MKMapRect rect1,
MKMapRect rect2) |
static boolean |
MKMapRectIsEmpty(MKMapRect rect) |
static boolean |
MKMapRectIsNull(MKMapRect rect) |
static MKMapRect |
MKMapRectMake(double x,
double y,
double width,
double height) |
static MKMapRect |
MKMapRectNull() |
static MKMapRect |
MKMapRectOffset(MKMapRect rect,
double dx,
double dy) |
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.
|
static boolean |
MKMapRectSpans180thMeridian(MKMapRect rect) |
static MKMapRect |
MKMapRectUnion(MKMapRect rect1,
MKMapRect rect2) |
static MKMapRect |
MKMapRectWorld()
The rect that contains every map point in the world.
|
static boolean |
MKMapSizeEqualToSize(MKMapSize size1,
MKMapSize size2) |
static MKMapSize |
MKMapSizeMake(double width,
double height) |
static MKMapSize |
MKMapSizeWorld() |
static java.lang.String |
MKMapViewDefaultAnnotationViewReuseIdentifier() |
static java.lang.String |
MKMapViewDefaultClusterAnnotationViewReuseIdentifier() |
static double |
MKMetersBetweenMapPoints(MKMapPoint a,
MKMapPoint b) |
static double |
MKMetersPerMapPointAtLatitude(double latitude)
Conversion between distances and projected coordinates
|
static java.lang.String |
MKPointOfInterestCategoryAirport() |
static java.lang.String |
MKPointOfInterestCategoryAmusementPark() |
static java.lang.String |
MKPointOfInterestCategoryAquarium() |
static java.lang.String |
MKPointOfInterestCategoryATM() |
static java.lang.String |
MKPointOfInterestCategoryBakery() |
static java.lang.String |
MKPointOfInterestCategoryBank() |
static java.lang.String |
MKPointOfInterestCategoryBeach() |
static java.lang.String |
MKPointOfInterestCategoryBrewery() |
static java.lang.String |
MKPointOfInterestCategoryCafe() |
static java.lang.String |
MKPointOfInterestCategoryCampground() |
static java.lang.String |
MKPointOfInterestCategoryCarRental() |
static java.lang.String |
MKPointOfInterestCategoryEVCharger() |
static java.lang.String |
MKPointOfInterestCategoryFireStation() |
static java.lang.String |
MKPointOfInterestCategoryFitnessCenter() |
static java.lang.String |
MKPointOfInterestCategoryFoodMarket() |
static java.lang.String |
MKPointOfInterestCategoryGasStation() |
static java.lang.String |
MKPointOfInterestCategoryHospital() |
static java.lang.String |
MKPointOfInterestCategoryHotel() |
static java.lang.String |
MKPointOfInterestCategoryLaundry() |
static java.lang.String |
MKPointOfInterestCategoryLibrary() |
static java.lang.String |
MKPointOfInterestCategoryMarina() |
static java.lang.String |
MKPointOfInterestCategoryMovieTheater() |
static java.lang.String |
MKPointOfInterestCategoryMuseum() |
static java.lang.String |
MKPointOfInterestCategoryNationalPark() |
static java.lang.String |
MKPointOfInterestCategoryNightlife() |
static java.lang.String |
MKPointOfInterestCategoryPark() |
static java.lang.String |
MKPointOfInterestCategoryParking() |
static java.lang.String |
MKPointOfInterestCategoryPharmacy() |
static java.lang.String |
MKPointOfInterestCategoryPolice() |
static java.lang.String |
MKPointOfInterestCategoryPostOffice() |
static java.lang.String |
MKPointOfInterestCategoryPublicTransport() |
static java.lang.String |
MKPointOfInterestCategoryRestaurant() |
static java.lang.String |
MKPointOfInterestCategoryRestroom() |
static java.lang.String |
MKPointOfInterestCategorySchool() |
static java.lang.String |
MKPointOfInterestCategoryStadium() |
static java.lang.String |
MKPointOfInterestCategoryStore() |
static java.lang.String |
MKPointOfInterestCategoryTheater() |
static java.lang.String |
MKPointOfInterestCategoryUniversity() |
static java.lang.String |
MKPointOfInterestCategoryWinery() |
static java.lang.String |
MKPointOfInterestCategoryZoo() |
static double |
MKPointsOfInterestRequestMaxRadius() |
static double |
MKRoadWidthAtZoomScale(double zoomScale)
Road widths are typically not drawn to scale on the map.
|
static java.lang.String |
MKStringFromMapPoint(MKMapPoint point) |
static java.lang.String |
MKStringFromMapRect(MKMapRect rect) |
static java.lang.String |
MKStringFromMapSize(MKMapSize size) |
public static final float MKFeatureDisplayPriorityRequired
public static final float MKFeatureDisplayPriorityDefaultHigh
public static final float MKFeatureDisplayPriorityDefaultLow
public static final float MKAnnotationViewZPriorityMax
public static final float MKAnnotationViewZPriorityDefaultSelected
public static final float MKAnnotationViewZPriorityDefaultUnselected
public static final float MKAnnotationViewZPriorityMin
public static MKCoordinateSpan MKCoordinateSpanMake(double latitudeDelta, double longitudeDelta)
public static MKCoordinateRegion MKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, MKCoordinateSpan span)
public static MKCoordinateRegion MKCoordinateRegionMakeWithDistance(CLLocationCoordinate2D centerCoordinate, double latitudinalMeters, double longitudinalMeters)
public static MKMapPoint MKMapPointForCoordinate(CLLocationCoordinate2D coordinate)
public static CLLocationCoordinate2D MKCoordinateForMapPoint(MKMapPoint mapPoint)
public static double MKMetersPerMapPointAtLatitude(double latitude)
public static double MKMapPointsPerMeterAtLatitude(double latitude)
public static double MKMetersBetweenMapPoints(MKMapPoint a, MKMapPoint b)
public static MKMapPoint MKMapPointMake(double x, double y)
public static MKMapSize MKMapSizeMake(double width, double height)
public static MKMapRect MKMapRectMake(double x, double y, double width, double height)
public static double MKMapRectGetMinX(MKMapRect rect)
public static double MKMapRectGetMinY(MKMapRect rect)
public static double MKMapRectGetMidX(MKMapRect rect)
public static double MKMapRectGetMidY(MKMapRect rect)
public static double MKMapRectGetMaxX(MKMapRect rect)
public static double MKMapRectGetMaxY(MKMapRect rect)
public static double MKMapRectGetWidth(MKMapRect rect)
public static double MKMapRectGetHeight(MKMapRect rect)
public static boolean MKMapPointEqualToPoint(MKMapPoint point1, MKMapPoint point2)
public static boolean MKMapRectIsNull(MKMapRect rect)
public static boolean MKMapRectIsEmpty(MKMapRect rect)
public static java.lang.String MKStringFromMapPoint(MKMapPoint point)
public static java.lang.String MKStringFromMapSize(MKMapSize size)
public static java.lang.String MKStringFromMapRect(MKMapRect rect)
public static MKMapRect MKMapRectIntersection(MKMapRect rect1, MKMapRect rect2)
public static void MKMapRectDivide(MKMapRect rect, MKMapRect slice, MKMapRect remainder, double amount, int edge)
public static boolean MKMapRectContainsPoint(MKMapRect rect, MKMapPoint point)
public static boolean MKMapRectIntersectsRect(MKMapRect rect1, MKMapRect rect2)
public static MKCoordinateRegion MKCoordinateRegionForMapRect(MKMapRect rect)
public static boolean MKMapRectSpans180thMeridian(MKMapRect rect)
public static MKMapRect MKMapRectRemainder(MKMapRect rect)
public static double MKRoadWidthAtZoomScale(double zoomScale)
public static MKMapSize MKMapSizeWorld()
public static MKMapRect MKMapRectWorld()
public static MKMapRect MKMapRectNull()
public static java.lang.String MKLaunchOptionsDirectionsModeKey()
public static java.lang.String MKLaunchOptionsMapTypeKey()
public static java.lang.String MKLaunchOptionsShowsTrafficKey()
public static java.lang.String MKLaunchOptionsDirectionsModeDefault()
public static java.lang.String MKLaunchOptionsDirectionsModeDriving()
public static java.lang.String MKLaunchOptionsDirectionsModeWalking()
public static java.lang.String MKLaunchOptionsDirectionsModeTransit()
public static java.lang.String MKLaunchOptionsMapCenterKey()
public static java.lang.String MKLaunchOptionsMapSpanKey()
public static java.lang.String MKLaunchOptionsCameraKey()
public static java.lang.String MKAnnotationCalloutInfoDidChangeNotification()
public static java.lang.String MKErrorDomain()
public static java.lang.String MKMapItemTypeIdentifier()
public static java.lang.String MKMapViewDefaultAnnotationViewReuseIdentifier()
public static java.lang.String MKMapViewDefaultClusterAnnotationViewReuseIdentifier()
public static java.lang.String MKPointOfInterestCategoryAirport()
public static java.lang.String MKPointOfInterestCategoryAmusementPark()
public static java.lang.String MKPointOfInterestCategoryAquarium()
public static java.lang.String MKPointOfInterestCategoryATM()
public static java.lang.String MKPointOfInterestCategoryBakery()
public static java.lang.String MKPointOfInterestCategoryBank()
public static java.lang.String MKPointOfInterestCategoryBeach()
public static java.lang.String MKPointOfInterestCategoryBrewery()
public static java.lang.String MKPointOfInterestCategoryCafe()
public static java.lang.String MKPointOfInterestCategoryCampground()
public static java.lang.String MKPointOfInterestCategoryCarRental()
public static java.lang.String MKPointOfInterestCategoryEVCharger()
public static java.lang.String MKPointOfInterestCategoryFireStation()
public static java.lang.String MKPointOfInterestCategoryFitnessCenter()
public static java.lang.String MKPointOfInterestCategoryFoodMarket()
public static java.lang.String MKPointOfInterestCategoryGasStation()
public static java.lang.String MKPointOfInterestCategoryHospital()
public static java.lang.String MKPointOfInterestCategoryHotel()
public static java.lang.String MKPointOfInterestCategoryLaundry()
public static java.lang.String MKPointOfInterestCategoryLibrary()
public static java.lang.String MKPointOfInterestCategoryMarina()
public static java.lang.String MKPointOfInterestCategoryMovieTheater()
public static java.lang.String MKPointOfInterestCategoryMuseum()
public static java.lang.String MKPointOfInterestCategoryNationalPark()
public static java.lang.String MKPointOfInterestCategoryNightlife()
public static java.lang.String MKPointOfInterestCategoryPark()
public static java.lang.String MKPointOfInterestCategoryParking()
public static java.lang.String MKPointOfInterestCategoryPharmacy()
public static java.lang.String MKPointOfInterestCategoryPolice()
public static java.lang.String MKPointOfInterestCategoryPostOffice()
public static java.lang.String MKPointOfInterestCategoryPublicTransport()
public static java.lang.String MKPointOfInterestCategoryRestaurant()
public static java.lang.String MKPointOfInterestCategoryRestroom()
public static java.lang.String MKPointOfInterestCategorySchool()
public static java.lang.String MKPointOfInterestCategoryStadium()
public static java.lang.String MKPointOfInterestCategoryStore()
public static java.lang.String MKPointOfInterestCategoryTheater()
public static java.lang.String MKPointOfInterestCategoryUniversity()
public static java.lang.String MKPointOfInterestCategoryWinery()
public static java.lang.String MKPointOfInterestCategoryZoo()
public static double MKMapCameraZoomDefault()
public static double MKPointsOfInterestRequestMaxRadius()