diff --git a/releases/next/docs/mapview.html b/releases/next/docs/mapview.html index 75bb59c6dd2..44d6c73cfdc 100644 --- a/releases/next/docs/mapview.html +++ b/releases/next/docs/mapview.html @@ -1,23 +1,19 @@ -
MapView # | Edit on GitHub |
A component for displaying embeddable maps and annotations using the native -iOS MKMapView class. The Android version is not currently available in the -open source React Native project, but you can use Leland Richardson's -cross-platform and more feature-complete +
MapView # | Edit on GitHub |
This component is only supported on iOS.
MapView is used to display embeddable maps and annotations using
+MKMapView.
For a cross-platform solution, check out react-native-maps -instead.
Deprecated. Use annotation onFocus and onBlur instead.
Callback that is called continuously when the user is dragging the map.
Callback that is called once, when the user is done moving the map.
When this property is set to true and a valid camera is associated
-with the map, the camera’s pitch angle is used to tilt the plane
-of the map. When this property is set to false, the camera’s pitch
-angle is ignored and the map is always displayed as if the user
-is looking straight down onto it.
The region to be displayed by the map.
The region is defined by the center coordinates and the span of -coordinates to display.
When this property is set to true and a valid camera is associated with
-the map, the camera’s heading angle is used to rotate the plane of the
-map around its center point. When this property is set to false, the
-camera’s heading angle is ignored and the map is always oriented so
-that true north is situated at the top of the map view
If false the user won't be able to change the map region being displayed.
-Default value is true.
If true the app will ask for the user's location and display it on
-the map. Default value is false.
NOTE: on iOS, you need to add the NSLocationWhenInUseUsageDescription
-key in Info.plist to enable geolocation, otherwise it will fail silently.
Used to style and layout the MapView. See StyleSheet.js and
-ViewStylePropTypes.js for more info.
If false the user won't be able to pinch/zoom the map.
-Default value is true.
true.Map annotations with title/subtitle.
If true the map will follow the user's location whenever it changes.
+)}] #
Map annotations with title and subtitle.
If true the map will follow the user's location whenever it changes.
Note that this has no effect unless showsUserLocation is enabled.
-Default value is true.
Insets for the map's legal label, originally at bottom left of the map.
-See EdgeInsetsPropType.js for more information.
The map type to be displayed.
Maximum size of area that can be displayed.
Minimum size of area that can be displayed.
Map overlays
If false compass won't be displayed on the map.
-Default value is true.
If false points of interest won't be displayed on the map.
-Default value is true.
Examples # | Edit on GitHub |
true.Insets for the map's legal label, originally at bottom left of the map.
The map type to be displayed.
standard: Standard road map (default).satellite: Satellite view.hybrid: Satellite view with roads and points of interest overlaid.Maximum size of the area that can be displayed.
Minimum size of the area that can be displayed.
Deprecated. Use annotation onFocus and onBlur instead.
Callback that is called continuously when the user is dragging the map.
Callback that is called once, when the user is done moving the map.
Map overlays
When this property is set to true and a valid camera is associated
+with the map, the camera’s pitch angle is used to tilt the plane
+of the map.
When this property is set to false, the camera’s pitch
+angle is ignored and the map is always displayed as if the user
+is looking straight down onto it.
The region to be displayed by the map.
The region is defined by the center coordinates and the span of +coordinates to display.
When this property is set to true and a valid camera is associated with
+the map, the camera’s heading angle is used to rotate the plane of the
+map around its center point.
When this property is set to false, the
+camera’s heading angle is ignored and the map is always oriented so
+that true north is situated at the top of the map view
If false the user won't be able to change the map region being displayed.
+Default value is true.
If false, compass won't be displayed on the map.
+Default value is true.
If false points of interest won't be displayed on the map.
+Default value is true.
If true the app will ask for the user's location and display it on
+the map. Default value is false.
NOTE: You'll need to add the NSLocationWhenInUseUsageDescription
+key in Info.plist to enable geolocation, otherwise it will fail silently.
Used to style and layout the MapView.
If false the user won't be able to pinch/zoom the map.
+Default value is true.
State an annotation on the map.
| Value | Description |
|---|---|
| idle | Annotation is not being touched. |
| starting | Annotation dragging has began. |
| dragging | Annotation is being dragged. |
| canceling | Annotation dragging is being canceled. |
| ending | Annotation dragging has ended. |
Examples # | Edit on GitHub |