Nicodemuz
Nicodemuz

Reputation: 4134

Google Maps marker clicks do not work on iPad when using Sencha Touch

Has anyone been able to get map marker clicks working on iPad? I have tried the following, which worked nicely on Google Chrome, but not on the iPad.

// Marker
var marker = new google.maps.Marker({
    position: location,
    title: 'Title',
    map: map,
    icon: '/images/marker.gif'
});

// Click listener
google.maps.event.addListener(marker, 'click', function() {

    ...

});

Upvotes: 2

Views: 2738

Answers (1)

Nicodemuz
Nicodemuz

Reputation: 4134

The problem was that I was listening on "click" events when I should have been listening on "mousedown" events.

Upvotes: 5

Related Questions