MarkerClickListener works as a Button

38 views Asked by At

I need some help please.

I'm developing a project that uses the GoogleMaps API V2 and it's working fine. My problem is that I need to make the Markers on the screen execute as a BUTTON when clicked. I have a external method to call and it receive a object View as paramter.

googleMap.setOnMarkerClickListener(new OnMarkerClickListener(){

                @Override
                public boolean onMarkerClick(Marker arg0) {

                    QuickAction.show(null);
                    return false;
                }


            });

The Method QuickAction.show needs a View object as Paramter. How can I make it from a marker click?

Thank you.

0

There are 0 answers