danzel
4ce11f3c8b
Fix markers not being added on a big zoom animation. Fixes #216
...
If we zoomed down such that a cluster would be out of our visible bounds then any of its children would be added at its location for the animation. In this case those markers would immediately be removed as they are out of our visible bounds.
Instead we now don't animate adding markers after a zoom if they are coming from outside of our visible bounds.
2013-07-10 11:04:55 +12:00
danzel
98e76b6c66
Automated test for #216
2013-07-10 11:01:03 +12:00
danzel
9ed6a4ff8f
Add failing manual test for #216
2013-07-10 10:08:16 +12:00
danzel
63e43e430f
Clear our internal cluster layer when we are removed from the map so those layers aren't there when we are re-added. Fixes #211
2013-07-05 12:03:20 +12:00
danzel
c4f4d81722
Update build
2013-07-05 11:28:41 +12:00
danzel
1c82702a57
Basic tests for spiderfy
2013-07-05 11:28:25 +12:00
danzel
847271498c
Support spiderfying circle/circleMarker. Fixes #212
2013-07-05 11:21:55 +12:00
danzel
74e1443bb0
Throw an error if a MarkerClusterGroup is added to a map with no maxZoom. Fixes #189
2013-07-01 09:45:09 +12:00
danzel
768cb5b533
get leaflet from npm rather than git.
2013-07-01 09:35:16 +12:00
danzel
379befbbbd
Point all examples at leaflet 0.6.2. Fixes #210
2013-07-01 09:04:55 +12:00
Vladimir Agafonkin
d87921cbe8
update version reqs in readme
2013-06-26 14:03:29 -04:00
danzel
9b3bb2929f
Update build
2013-06-25 09:04:01 +12:00
danzel
80e2496045
Don't try extend bounds by an invalid bounds, doesn't work on leaflet versions earlier than Leaflet/Leafet@ef17f99708 , to be removed when 0.6 is released.
2013-06-25 09:03:53 +12:00
danzel
8d1f51adda
More getBounds tests
2013-06-25 09:02:40 +12:00
danzel
f1886fa9f8
Update build.
2013-06-24 10:23:59 +12:00
danzel
3e6a715b91
Fixes for #200
2013-06-24 10:23:44 +12:00
danzel
21580cc066
More tests for #200 , this was really bugged!
2013-06-24 10:23:33 +12:00
danzel
6694a00fad
Add some tests for events. Refs #200
2013-06-24 10:23:16 +12:00
danzel
3fd7a52a7d
Bump readme with latest requirements
2013-06-22 11:00:17 +12:00
danzel
e0d4b99622
Update build
2013-06-22 10:47:22 +12:00
danzel
10b91f8ad4
More tests and more making them work
2013-06-22 10:47:10 +12:00
danzel
47ea547611
tests for clearLayers
2013-06-22 10:25:12 +12:00
danzel
6053d39128
Lots of failing tests for non-point data.
2013-06-22 10:23:34 +12:00
danzel
08489e0f6e
Update build
2013-06-21 16:55:51 +12:00
danzel
d032b53fea
Fix places we were looping over this._layers to use this._featureGroup.eachLayer instead. Fixes child markers not being added to the map.
2013-06-21 16:55:38 +12:00
danzel
eceb26ba8c
Example that adds random things to the MCG. Currently we don't support removing them (TODO!)
2013-06-21 16:42:24 +12:00
danzel
cbe92f1468
Support adding random things to the MarkerClusterGroup. Don't try to to cluster them. Refs #195
2013-06-21 16:41:56 +12:00
danzel
b128e950d8
Update all examples to leaflet 0.5.1
2013-06-21 16:22:07 +12:00
danzel
ffe4127f9e
Update build
2013-06-21 16:19:31 +12:00
danzel
b295bb7c94
Update readme for leaflet 0.5
2013-06-21 16:14:58 +12:00
danzel
d47a3140ca
Refactor to contain a FeatureGroup rather than sort of being one. Fixes all the _noHas hacks. Now we require leaflet 0.5 however.
2013-06-21 16:14:47 +12:00
danzel
01d9951b00
Update build.
2013-06-21 15:18:32 +12:00
danzel
fb395732b6
Update readme for getVisibleParent
2013-06-21 15:18:18 +12:00
danzel
9d9fde91aa
More whitespace fixes
2013-06-21 15:15:55 +12:00
danzel
8807a0c3a2
White space formatting and make sure we don't hit null if the parent isn't visible.
2013-06-21 15:15:01 +12:00
Thierry Nicola and danzel
4d3c964172
#123 adding getVisibleParent for Marker
...
(cherry picked from commit da2952d57bdab7af998ab480200c38212cbc662e)
2013-06-21 15:12:32 +12:00
danzel
f0069fa4a3
Tidy up readme
2013-06-21 15:11:41 +12:00
danzel
70880bdda4
Update build
2013-06-19 10:16:12 +12:00
danzel
9f0819706e
Another noHas hack, fixes spiderfy in IE
2013-06-19 10:15:58 +12:00
danzel
8210331fc9
Update build
2013-06-14 17:09:56 +12:00
danzel
04b71ed450
Add factory method and use them everywhere. Fixes #21
2013-06-14 17:08:22 +12:00
danzel
db8ed41c9a
Add a test to reproduce #141 , but it doesn't break.
2013-06-14 16:33:43 +12:00
danzel
9152c2aaba
Another _noHas hack to fix removing layers.
2013-06-14 16:22:34 +12:00
danzel
a34aaa610d
Test for removing with animation
2013-06-14 16:22:10 +12:00
danzel
58fe4615ce
Add some starting tests for RemoveLayer.
2013-06-14 16:19:41 +12:00
danzel
0394227f49
Fix lots of bugs with using CircleMarker/Circle as children. Fixes #189 Fixes #148
2013-06-14 15:49:01 +12:00
danzel
25bb880379
Animation test for adding multiple markers with animations on
2013-06-14 15:36:22 +12:00
danzel
41ccbf8ac6
Test for having Circle(Marker) children.
2013-06-14 15:36:08 +12:00
danzel
9146eaa790
Update build
2013-06-14 14:48:48 +12:00
danzel
4307e559b7
Add all the new test files to the html runner
2013-06-14 14:47:05 +12:00