Skip to content

native/map/enhc : add marker animation and press callback support#26

Merged
prakharritik merged 3 commits intomaster-testfrom
animate_marker_test
Jan 19, 2026
Merged

native/map/enhc : add marker animation and press callback support#26
prakharritik merged 3 commits intomaster-testfrom
animate_marker_test

Conversation

@DharaneshSP
Copy link

Does any other open PR do the same thing?

(please answer here)

What issue is this PR fixing?

(please link the issue here)

How did you test this PR?

(please answer here)

- Implemented native Android marker animation for smoother marker movement
- Added marker press callback bridging native → React Native
@prakharritik prakharritik changed the title Animate marker test native/map/enhc : add marker animation and press callback support Jan 16, 2026

if (tag instanceof java.util.Map) {
java.util.Map tagMap = (java.util.Map) tag;
id = (String) tagMap.get("id");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add String type check here as well?

}
if(!title.isEmpty()) {
Bitmap labelBitmap = createSimpleLabel(title);
com.google.android.gms.maps.model.MarkerOptions calloutMarkerOptions = new com.google.android.gms.maps.model.MarkerOptions()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need full package names here?

if (originalBitmap != null) {

int targetWidthDp = 60; // only width in dp
int targetWidthDp = size; // only width in dp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value of size is assigned 40, is the size of 60 coming from rn for nearby drivers as well?

@prakharritik prakharritik merged commit f02c318 into master-test Jan 19, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants