Skip to content

Commit

Permalink
fix: marker click events on android (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokerttu authored Sep 10, 2024
1 parent 0ee4e8a commit a3ee9ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void onMapReady(GoogleMap googleMap) {
mGoogleMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
@Override
public boolean onMarkerClick(Marker marker) {
emitEvent("onMapReady", ObjectTranslationUtil.getMapFromMarker(marker));
emitEvent("onMarkerClick", ObjectTranslationUtil.getMapFromMarker(marker));
return false;
}
});
Expand Down Expand Up @@ -145,7 +145,7 @@ public void onGroundOverlayClick(GroundOverlay groundOverlay) {
mGoogleMap.setOnInfoWindowClickListener(new GoogleMap.OnInfoWindowClickListener() {
@Override
public void onInfoWindowClick(Marker marker) {
emitEvent("onInfoWindowClick", ObjectTranslationUtil.getMapFromMarker(marker));
emitEvent("onMarkerInfoWindowTapped", ObjectTranslationUtil.getMapFromMarker(marker));
}
});

Expand Down

0 comments on commit a3ee9ae

Please sign in to comment.