Skip to content

Marker clicks #7

Description

@scribu

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions