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

Let OverlayView be clusterd in MarkerClusterer #187

Merged
merged 2 commits into from
May 29, 2016

Conversation

ziad-saab
Copy link
Contributor

Since OverlayView can represent any kind of overlay, including extremely
custom markers, it makes sense to allow it to be clustered. For this to work,
we only have to implement two functions of the Marker class: getDraggable
and getPosition.

The MarkerClusterer will call our OverlayView's setVisible method as
needed.

Since `OverlayView` can represent any kind of overlay, including extremely
custom markers, it makes sense to allow it to be clustered. For this to work,
we only have to implement two functions of the `Marker` class: `getDraggable`
and `getPosition`.

The `MarkerClusterer` will call our `OverlayView`'s `setVisible` method as
needed.
@riaan53
Copy link

riaan53 commented Feb 3, 2016

This will be great!

@cristiandley
Copy link
Collaborator

@ziad-saab if you want see this in a repo check https://github.com/cristiandley/react-gl-maps we are trying to promote all this PR that are helpful

@tomchentw tomchentw merged commit 435961a into tomchentw:master May 29, 2016
@tomchentw
Copy link
Owner

Released v4.11.0.

We're also looking for maintainers. Involve in #266 to help strengthen our community!

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

Successfully merging this pull request may close these issues.

4 participants