Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MARKER_CLICK event not firing (urgent) #45

Closed
jskidd3 opened this issue May 11, 2014 · 1 comment
Closed

MARKER_CLICK event not firing (urgent) #45

jskidd3 opened this issue May 11, 2014 · 1 comment

Comments

@jskidd3
Copy link

jskidd3 commented May 11, 2014

When the following code is used the marker does not fire the click event:

    map.addMarker({
        icon: icon,
        position: new plugin.google.maps.LatLng(stops[i].latitude, stops[i].longitude),
    }, function(marker) {
        marker.addEventListener(plugin.google.maps.event.MARKER_CLICK, function(){
            alert("HELLO!");
    });

Also, it might be better to use the 'touchend' event to bind as this will respond much faster than click.

@wf9a5m75
Copy link
Member

Fixed in v1.0.11. Sorry for inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants