I create a Map view base application. I want to do. when I click on rightButton, than show it’s address.
But, how I observe button is click or not?
for normal Button I take
button.addEventListener('click',function(){
<do something>
});
but, in mapView, how i can get?
I assume that you want to put buttons on annotation.
create your annotation’s parameters:-
Now handle click on map view like :-