danzel
|
1cc375d324
|
Make removeLayers when not on the map a bit less wasteful
|
2012-10-11 10:45:16 +13:00 |
|
danzel
|
5064f6e8fc
|
Update readme with notes on removing layers.
|
2012-10-11 10:45:02 +13:00 |
|
danzel
|
1d1f3de244
|
Update build
|
2012-10-11 10:23:24 +13:00 |
|
danzel
|
8432f0e7c2
|
Remove skipDuplicateAddTesting (as hasLayer is now efficient!). Make hasLayer work when we haven't been added to the map yet
|
2012-10-11 10:23:10 +13:00 |
|
danzel
|
a1a2a99519
|
Make add-1000-after use addLayers to be even faster
|
2012-10-11 10:15:58 +13:00 |
|
danzel
|
da090160c7
|
addLayers/removeLayers in the readme. Refs #59
|
2012-10-11 10:13:08 +13:00 |
|
danzel
|
d5a7fd003b
|
Comments
|
2012-10-11 10:06:50 +13:00 |
|
danzel
|
0823d6eaf6
|
Add removeLayers bulk removing method. Not quite as good as addLayers, but still faster than one at a time.
|
2012-10-11 10:06:05 +13:00 |
|
danzel
|
9dab59f175
|
Add addLayers, takes an array of markers and adds them in bulk for awesome performance. TODO: Docs+Example. Refs #59
|
2012-10-10 17:18:03 +13:00 |
|
danzel
|
5d31d7c610
|
Update build
|
2012-09-28 09:37:35 +12:00 |
|
danzel
|
5d8b11c94d
|
When adding layers, don't add them to the map unless they are in the visible bounds. Fixes #69
|
2012-09-28 09:37:10 +12:00 |
|
danzel
|
9c4c4f9a25
|
Add a test case for #69
|
2012-09-28 09:27:21 +12:00 |
|
danzel
|
b97def88f9
|
Fix up SVG Detection, allows us to work with canvas. Fixes #67
|
2012-09-28 09:14:06 +12:00 |
|
danzel
|
d13b6758e1
|
Update build
|
2012-09-25 13:41:09 +12:00 |
|
danzel
|
54335d1a60
|
Tidy up readme, add polygonOptions
|
2012-09-25 13:40:55 +12:00 |
|
Dave Leaver
|
41237f6efb
|
Merge pull request #68 from yohanboniface/polygonOptions
Add an option to MarkerClusterGroup to pass options to L.Polygon
|
2012-09-24 18:34:29 -07:00 |
|
Yohan Boniface
|
1de878677f
|
Add an option to MarkerClusterGroup to pass options to the created L.Polygon
It could be useful for example to customize the color and fillColor.
|
2012-09-25 01:11:07 +02:00 |
|
danzel
|
d4a06651bb
|
Update build
|
2012-09-20 11:29:21 +12:00 |
|
danzel
|
68401741f1
|
make zoomToShowLayer choose a random marker
|
2012-09-20 11:28:40 +12:00 |
|
danzel
|
a1575e10c1
|
build fixes
|
2012-09-20 11:28:11 +12:00 |
|
danzel
|
7927289adb
|
Improve behaviour of zoomToShowLayer. Fixes #65
|
2012-09-20 11:22:24 +12:00 |
|
danzel
|
c077de14b5
|
Add test case for #65
|
2012-09-20 10:55:57 +12:00 |
|
danzel
|
1afb83b91d
|
For animated zoomouts sometimes we'll zoom so that the previously visible bounds aren't fully contained within the new bounds, in those cases we need to remove the markers that were in the previous bounds but not the new bounds from the map as the normal animation won't take care of them. Fixes #63
|
2012-09-20 10:39:00 +12:00 |
|
danzel
|
8753dc0ab2
|
Add test case for #63
|
2012-09-20 10:23:34 +12:00 |
|
danzel
|
b50b287c92
|
Fix #64 and add a testcase
|
2012-09-20 10:12:01 +12:00 |
|
danzel
|
c0871d7cb7
|
Build update and JSHint fixes.
|
2012-09-14 10:43:17 +12:00 |
|
danzel
|
4b12ba6274
|
Add another edge test case and fix.
|
2012-09-14 10:41:37 +12:00 |
|
danzel
|
4ef14cb5f4
|
Update build
|
2012-09-13 17:21:00 +12:00 |
|
danzel
|
cc8c6b5ff1
|
Re do the zoom animation fixes. This should fix it properly. (There was some minor visual errors when having 2 markers and doing a fast zoom out, the cluster would appear instantly instead of fading in)
|
2012-09-13 17:20:40 +12:00 |
|
danzel
|
3a2578c056
|
Update build
|
2012-09-13 11:08:07 +12:00 |
|
danzel
|
51720f071b
|
Fix up the non animated versions too
|
2012-09-13 11:07:56 +12:00 |
|
danzel
|
51a8d0ce32
|
Update build
|
2012-09-13 11:03:06 +12:00 |
|
danzel
|
bb472a78fb
|
Fixing up animated zoom in/out not removing markers it is meant to
|
2012-09-13 11:01:34 +12:00 |
|
danzel
|
96aeac0496
|
Fix up adding just 1 marker. Fixes #60
|
2012-09-13 09:45:14 +12:00 |
|
danzel
|
7a500e5f03
|
Update Build
|
2012-09-12 17:49:59 +12:00 |
|
danzel
|
5128c9c919
|
Fix up bounds recalculation, previously if you removed a marker the bounds wouldn't change
|
2012-09-12 17:49:48 +12:00 |
|
danzel
|
4d51105c44
|
Don't barf if we are asked to remove a layer that we don't have
|
2012-09-12 17:40:43 +12:00 |
|
danzel
|
7b065bd493
|
Update build
|
2012-09-12 11:17:34 +12:00 |
|
danzel
|
d4417130eb
|
woops, map variable
|
2012-09-12 11:17:24 +12:00 |
|
danzel
|
a0df0e3db3
|
Work around browsers without zoomAnimation not firing zoomstart. Makes spiderfied packs disappear on zoomout
|
2012-09-12 11:17:03 +12:00 |
|
danzel
|
07a11582d3
|
Use events rather than hacky setTimeouts to make zoomToShowLayer more reliable
|
2012-09-12 11:13:02 +12:00 |
|
danzel
|
122571d50c
|
Add a zoomtoshowlayer example
|
2012-09-11 16:29:56 +12:00 |
|
danzel
|
9163fc6080
|
Update build
|
2012-09-11 16:24:40 +12:00 |
|
danzel
|
8f4dde032b
|
Add zoomToShowLayer
|
2012-09-11 16:24:05 +12:00 |
|
danzel
|
81e5456759
|
Update Build
|
2012-09-11 15:33:22 +12:00 |
|
danzel
|
1bda00ac3d
|
Tiny tidy ups
|
2012-09-11 15:33:03 +12:00 |
|
danzel
|
6235c283f2
|
bit more dead code
|
2012-09-11 15:25:53 +12:00 |
|
danzel
|
74e0218dcc
|
jslint tidy ups, dead code removal
|
2012-09-11 15:23:15 +12:00 |
|
danzel
|
c001bfb5f6
|
Make this a forwards loop so that a clear+re-add creates the same clusters
|
2012-09-11 15:11:15 +12:00 |
|
danzel
|
ac504d69f6
|
working clearLayers
|
2012-09-11 14:51:09 +12:00 |
|