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

Clustering of map icons #22

Closed
bdolor opened this issue Oct 27, 2016 · 7 comments
Closed

Clustering of map icons #22

bdolor opened this issue Oct 27, 2016 · 7 comments

Comments

@bdolor
Copy link
Contributor

bdolor commented Oct 27, 2016

If more than one locations are less than 5km apart, the regular drop pin (map icon) will be replaced with a different clickable area. Instead of a drop pin, the number of locations within that 5km radius will appear at the centre of a circular, clickable area, distinguished by a background colour different than that of the drop pin.

When a cluster number/area is clicked, the behaviour of the map will be:

  1. to re-align (centre itself to the clicked area) and
  2. zoom in so that the individual drop pins can be viewed.
@bdolor bdolor added this to the After the fire milestone Oct 27, 2016
@bdolor
Copy link
Contributor Author

bdolor commented Oct 27, 2016

@dewolfe001 — with regards to the javascript takedown and highjack: ref: https://wpseek.com/function/wp_dequeue_script/

@dewolfe001
Copy link
Contributor

I posted the changes in a commit c9cdff5 and that appears to be missing. Did I miss a step, or should I re-commit these changes?

@bdolor
Copy link
Contributor Author

bdolor commented Nov 3, 2016

Will need to re-commit.

@bdolor
Copy link
Contributor Author

bdolor commented Nov 28, 2016

What is the status of this one @dewolfe001 ?

@bdolor
Copy link
Contributor Author

bdolor commented Nov 29, 2016

@dewolfe001 — I created a new branch 'cluster' https://github.com/bccampus/eypd/tree/cluster and used the markerclusterer.js library. It's live on eypd and works as expected, though I blew away your unsetting of empty locations https://github.com/BCcampus/eypd/blob/homepage/eypd-actions.php#L53

If you could you please re-instate the unsetting of locations that have no events attached to them, and push to 'cluster' branch, then I can close this ticket.

@bdolor
Copy link
Contributor Author

bdolor commented Dec 6, 2016

resolved via 1edc5ba

@bdolor bdolor closed this as completed Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants