react-native-maps 1.21.0-alpha.84 → 1.21.0-alpha.85
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.
|
@@ -2,32 +2,21 @@ package com.rnmaps.maps;
|
|
|
2
2
|
|
|
3
3
|
import android.content.Context;
|
|
4
4
|
import android.graphics.Bitmap;
|
|
5
|
-
import android.graphics.Canvas;
|
|
6
|
-
import android.graphics.Color;
|
|
7
|
-
import android.graphics.Paint;
|
|
8
|
-
import android.graphics.drawable.Animatable;
|
|
9
5
|
import android.net.Uri;
|
|
10
6
|
import android.os.Handler;
|
|
11
7
|
import android.os.Looper;
|
|
12
8
|
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
|
|
15
9
|
import com.facebook.common.references.CloseableReference;
|
|
16
10
|
import com.facebook.datasource.BaseDataSubscriber;
|
|
17
11
|
import com.facebook.datasource.DataSource;
|
|
18
12
|
import com.facebook.datasource.DataSubscriber;
|
|
19
13
|
import com.facebook.drawee.backends.pipeline.Fresco;
|
|
20
|
-
import com.facebook.drawee.controller.BaseControllerListener;
|
|
21
|
-
import com.facebook.drawee.controller.ControllerListener;
|
|
22
14
|
import com.facebook.drawee.drawable.ScalingUtils;
|
|
23
15
|
import com.facebook.drawee.generic.GenericDraweeHierarchy;
|
|
24
16
|
import com.facebook.drawee.generic.GenericDraweeHierarchyBuilder;
|
|
25
|
-
import com.facebook.drawee.view.DraweeHolder;
|
|
26
17
|
import com.facebook.imagepipeline.core.ImagePipeline;
|
|
27
18
|
import com.facebook.imagepipeline.image.CloseableBitmap;
|
|
28
19
|
import com.facebook.imagepipeline.image.CloseableImage;
|
|
29
|
-
import com.facebook.imagepipeline.image.CloseableStaticBitmap;
|
|
30
|
-
import com.facebook.imagepipeline.image.ImageInfo;
|
|
31
20
|
import com.facebook.imagepipeline.request.ImageRequest;
|
|
32
21
|
import com.facebook.imagepipeline.request.ImageRequestBuilder;
|
|
33
22
|
import com.facebook.react.bridge.ReadableArray;
|
|
@@ -45,7 +34,7 @@ import com.rnmaps.fabric.event.OnPressEvent;
|
|
|
45
34
|
import java.util.Map;
|
|
46
35
|
import java.util.concurrent.Executors;
|
|
47
36
|
|
|
48
|
-
public class MapOverlay extends MapFeature
|
|
37
|
+
public class MapOverlay extends MapFeature {
|
|
49
38
|
|
|
50
39
|
|
|
51
40
|
private String imageUri;
|
|
@@ -267,23 +256,12 @@ public class MapOverlay extends MapFeature implements ImageReadable {
|
|
|
267
256
|
groundOverlayCollection = null;
|
|
268
257
|
}
|
|
269
258
|
|
|
270
|
-
@Override
|
|
271
|
-
public void setIconBitmap(Bitmap bitmap) {
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
@Override
|
|
275
|
-
public void setBitmapDescriptor(
|
|
276
|
-
BitmapDescriptor bitmapDescriptor) {
|
|
277
|
-
this.bitmapDescriptor = bitmapDescriptor;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@Override
|
|
281
259
|
public void update() {
|
|
282
260
|
this.groundOverlay = getGroundOverlay();
|
|
283
261
|
if (this.groundOverlay != null) {
|
|
284
262
|
this.groundOverlay.setVisible(true);
|
|
285
263
|
this.groundOverlay.setImage(this.bitmapDescriptor);
|
|
286
|
-
|
|
264
|
+
// this.groundOverlay.setTransparency(this.transparency);
|
|
287
265
|
this.groundOverlay.setClickable(this.tappable);
|
|
288
266
|
}
|
|
289
267
|
}
|
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.21.0-alpha.
|
|
8
|
+
"version": "1.21.0-alpha.85",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|