Appolica / InteractiveInfoWindowAndroid

Library project, developed and maintained by Appolica, offering an interactive info window for Google maps on Android.
249 stars 56 forks source link

OnCameraIdleListener not fired #40

Closed Innova133 closed 5 years ago

Innova133 commented 5 years ago

When setting an OnCameraIdleListener on the googleMap object returned from getMapAsync, the onCameraIdle method is never called.

This also happens for many other interfaces, OnMapClickListener, etc.

This issue seems to only exist in the MapFragmentActivity, not the MapViewActivity.

rafaguedes commented 5 years ago

Implement the method from your infoWindowManager() from your MapInfoWindowFragment. Like this: mapFragment.infoWindowManager().setOnMapClickListener(onMapClickListener);

deangenovski commented 5 years ago

@rafaguedes is correct