Skip to content

Commit

Permalink
[Fix] object can't pass to int.
Browse files Browse the repository at this point in the history
  • Loading branch information
boris committed Jul 13, 2021
1 parent b8d6696 commit 53d2440
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ public void onSnapshotReady(Bitmap bitmap) {
long start = System.currentTimeMillis();
for (Object marker : markersToUpdate) {
final Map<String, ? super Object> data = (Map<String, ? super Object>) marker;
final Map<String, ?> extra = (Map<String, ? super Object>) data.get("extra");
final Map<String, Object> extra = (Map<String, Object>) data.get("extra");

if (extra == null || extra.isEmpty()) {
data.put("icon", null);
Expand Down Expand Up @@ -470,7 +470,7 @@ public void onSnapshotReady(Bitmap bitmap) {
long start = System.currentTimeMillis();
for (Object marker : markersToUpdate) {
final Map<String, ? super Object> data = (Map<String, ? super Object>) marker;
final Map<String, ?> extra = (Map<String, ? super Object>) data.get("extra");
final Map<String, Object> extra = (Map<String, Object>) data.get("extra");

if (extra == null || extra.isEmpty()) {
data.put("icon", null);
Expand Down

0 comments on commit 53d2440

Please sign in to comment.