Package | Description |
---|---|
crossmobile.ios.mapkit |
Modifier and Type | Interface and Description |
---|---|
interface |
MKOverlay
MKOverlay class defines an object that represents a map annotation for both
point and area.
|
Modifier and Type | Class and Description |
---|---|
class |
MKPlacemark
MKPlacemark class defines an object that represents a place mark and contains
related data such as address, postal code and other information that define
it.
|
class |
MKUserLocation
MKUserLocation class defines an object that represents user's current
location on a map.
|
Modifier and Type | Method and Description |
---|---|
MKAnnotation |
MKAnnotationView.annotation()
Returns the annotation object of this view.
|
Modifier and Type | Method and Description |
---|---|
List<MKAnnotation> |
MKMapView.annotations()
Returns the list of annotations for this map.
|
Set<MKAnnotation> |
MKMapView.annotationsInMapRect(MKMapRect rect)
Returns the annotations that are located in the specified rectangle of
the map.
|
List<MKAnnotation> |
MKMapView.selectedAnnotations()
Returns a list with all the selected annotations.
|
Modifier and Type | Method and Description |
---|---|
void |
MKMapView.addAnnotation(MKAnnotation annotation)
Adds the specified annotation to the map.
|
void |
MKMapView.deselectAnnotation(MKAnnotation annotation,
boolean animated)
Deselects the specified annotation using animation or not.
|
void |
MKMapView.removeAnnotation(MKAnnotation annotation)
Removes the specified annotation from the map.
|
void |
MKMapView.selectAnnotation(MKAnnotation annotation,
boolean animated)
Selects the specified annotation using animation or not.
|
void |
MKAnnotationView.setAnnotation(MKAnnotation annotation)
Sets annotation object of this view.
|
MKAnnotationView |
MKMapView.viewForAnnotation(MKAnnotation annotation)
Returns the annotation view of the specified annotation object.
|
default MKAnnotationView |
MKMapViewDelegate.viewForAnnotation(MKMapView mapView,
MKAnnotation annotation)
Returns the annotation view of the specified annotation of this mapview.
|
Modifier and Type | Method and Description |
---|---|
void |
MKMapView.addAnnotations(List<? extends MKAnnotation> annotations)
Adds the list of annotations to the map.
|
void |
MKMapView.removeAnnotations(List<? extends MKAnnotation> annotations)
Removes the specified list of annotations from the map.
|
void |
MKMapView.setSelectedAnnotations(List<? extends MKAnnotation> selectedAnnotations)
Sets a list with the currently selected annotations.
|
Constructor and Description |
---|
MKAnnotationView(MKAnnotation annotation,
String reuseIdentifier)
Constructs a MKAnnotationView with the specified parameters.
|
MKPinAnnotationView(MKAnnotation annotation,
String reuseIdentifier)
Constructs a MKPinAnnotationView object initialized with the specified
annotation and id.
|
Copyright © 2020. All rights reserved.