Hello! I use Yandex.Map API 2.0. in webview android application. Processing of the click on the marker installed on the map is required. Made as follows:

myPlacemark.events.add('click', function (e) { callbackfunctions.targetAction(); }); 

Almost all devices work, but there was a problem under Android 6 on the Samsung A5. Clicks are not processed. Moreover, clicks on the zoom (+/-) buttons on the map work fine.

Maybe someone had a similar problem? Thank!

    2 answers 2

    The problem was aggravated by the transition to API 2.1. The reason was that the labels were put down until the map was fully loaded, i.e. turned out to be "under" card.

      Try replacing onclick with touchstart event.

      • Thanks for the answer. But did not have time to try. - dramf