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 clicks #7

Open
scribu opened this issue Nov 19, 2014 · 0 comments
Open

Marker clicks #7

scribu opened this issue Nov 19, 2014 · 0 comments

Comments

@scribu
Copy link

scribu commented Nov 19, 2014

Hi,

In plain JS, I can attach an event listener to a marker:

google.maps.event.addListener(marker, 'click', function(ev) {
  // do something when that particular marker is clicked
});

The slightly older react-googlemaps library has a separate Marker component which can have onClick attributes attached to it.

Is there an equivalent mechanism for this React component?

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

1 participant