danzel
4f40622dfe
removeLayer supports LayerGroup. Fixes #236
2013-08-26 15:39:25 +12:00
danzel
8ccd5a37ba
Update build
2013-07-18 11:25:02 +12:00
danzel
31a8bb7772
Test and fix for removing and re-adding a marker while we are not on the map.
2013-07-18 11:25:02 +12:00
Dave Leaver
9b61f4b9af
Merge pull request #221 from jperelli/patch-1
...
Improving docs
2013-07-17 13:57:45 -07:00
jperelli
6d655fa71e
Undocumented options
...
iconCreateFunction not documented, plus details
2013-07-17 13:58:38 -03:00
jperelli
d30e74ee09
Discrepancy in docs
...
Repaired discrepancy in docs
2013-07-17 13:39:56 -03:00
danzel
15ed12654a
Update build
2013-07-10 11:05:07 +12:00
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