react-native-maps 1.17.2 → 1.17.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ import android.view.View;
5
5
  import androidx.annotation.NonNull;
6
6
  import androidx.annotation.Nullable;
7
7
 
8
+ import com.facebook.react.R;
8
9
  import com.facebook.react.bridge.Arguments;
9
10
  import com.facebook.react.bridge.ReactApplicationContext;
10
11
  import com.facebook.react.bridge.ReadableArray;
@@ -329,6 +330,11 @@ public class MapManager extends ViewGroupManager<MapView> {
329
330
  }
330
331
  }
331
332
 
333
+ @ReactProp(name = "accessibilityLabel")
334
+ public void setAccessibilityLabel(MapView view, @Nullable String accessibilityLabel) {
335
+ view.setTag(R.id.accessibility_label, accessibilityLabel);
336
+ }
337
+
332
338
  @Override
333
339
  public void receiveCommand(@NonNull MapView view, String commandId, @Nullable ReadableArray args) {
334
340
  int duration;
@@ -7,6 +7,7 @@ import android.view.View;
7
7
  import androidx.annotation.NonNull;
8
8
  import androidx.annotation.Nullable;
9
9
 
10
+ import com.facebook.react.R;
10
11
  import com.facebook.react.bridge.ReadableArray;
11
12
  import com.facebook.react.bridge.ReadableMap;
12
13
  import com.facebook.react.common.MapBuilder;
@@ -268,6 +269,11 @@ public class MapMarkerManager extends ViewGroupManager<MapMarker> {
268
269
  view.setTracksViewChanges(tracksViewChanges);
269
270
  }
270
271
 
272
+ @ReactProp(name = "accessibilityLabel")
273
+ public void setAccessibilityLabel(MapMarker view, @Nullable String accessibilityLabel) {
274
+ view.setTag(R.id.accessibility_label, accessibilityLabel);
275
+ }
276
+
271
277
  @Override
272
278
  public void addView(MapMarker parent, View child, int index) {
273
279
  // if an <Callout /> component is a child, then it is a callout view, NOT part of the
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "lib/index.js",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "1.17.2",
8
+ "version": "1.17.3",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",