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

Update MarkerCluster.QuickHull.js #533

Merged
merged 9 commits into from
Aug 10, 2015
Merged

Update MarkerCluster.QuickHull.js #533

merged 9 commits into from
Aug 10, 2015

Conversation

olive380
Copy link
Contributor

@olive380 olive380 commented Aug 4, 2015

When all markers are located at same latitude, getConvexHull() fails.
This proposal gets ride of this limitation.

When all markers are located at same latitude, getConvexHull() fails.
This proposal gets ride of this limitation.
@danzel
Copy link
Member

danzel commented Aug 6, 2015

Unit test please

@olive380
Copy link
Contributor Author

olive380 commented Aug 6, 2015

Hi,

I suggest two unit tests:

  • vertically-aligned markers : it works fine.
  • horizontally-aligened : it doesn't work at all.

Br,
Olivier

----- Mail original -----
De: "Dave Leaver" [email protected]
À: "Leaflet/Leaflet.markercluster" [email protected]
Cc: "olive380" [email protected]
Envoyé: Jeudi 6 Août 2015 03:43:21
Objet: Re: [Leaflet.markercluster] Update MarkerCluster.QuickHull.js (#533)

Unit test please


Reply to this email directly or view it on GitHub .

@danzel
Copy link
Member

danzel commented Aug 6, 2015

We have unit tests in the spec/suites folder.
There is a QuicHull test suite in https://github.com/Leaflet/Leaflet.markercluster/blob/master/spec/suites/QuickHullSpec.js
Please add some tests in there instead of the example/ ones you added, then this can be merged.

Thanks

@olive380
Copy link
Contributor Author

olive380 commented Aug 6, 2015

Done

danzel added a commit that referenced this pull request Aug 10, 2015
Update MarkerCluster.QuickHull.js
@danzel danzel merged commit 44bd117 into Leaflet:master Aug 10, 2015
@danzel
Copy link
Member

danzel commented Aug 10, 2015

Thanks

@olive380
Copy link
Contributor Author

You are welcome.

FYI, the open issue #525 reported by metajungle seems to be only a problem related to dist folder, which is not up to date as we said before.
If you recompile the latest version, the problem disapears, so issue #525 may be closed.

Br,
Olivier

----- Mail original -----
De: "Dave Leaver" [email protected]
À: "Leaflet/Leaflet.markercluster" [email protected]
Cc: "olive380" [email protected]
Envoyé: Lundi 10 Août 2015 04:25:44
Objet: Re: [Leaflet.markercluster] Update MarkerCluster.QuickHull.js (#533)

Thanks


Reply to this email directly or view it on GitHub .

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.

2 participants