danzel
f72bb13324
Leaflet 0.4.4 -> 0.4.5
2012-11-13 14:36:21 +13:00
danzel
37d4f369a8
Update build
2012-11-09 15:53:34 +13:00
danzel
17f32ab1f8
When initially adding layers, skip layers that are already added. Fixes adding the same layer multiple times before adding the MarkerClusterGroup to the map. Refs #44
2012-11-09 15:53:21 +13:00
Daniel Beauchamp
ce391ae13e
Fix inverted arguments for a collision callback
...
The start and stop callbacks on this line seem to be backwards.
2012-11-01 01:47:07 -03:00
danzel
e6b67b0b39
Update build
2012-11-01 09:45:37 +13:00
danzel
eb8b2803f5
Fix formatting in bug
2012-11-01 09:45:16 +13:00
danzel
ef2a51235e
Unset layer.__parent in removeLayers as well as removeLayer. Refs #44
2012-11-01 09:45:04 +13:00
danzel
bef1dbb33e
Feature Detect SVG Animation and only use it if available. IE10 does not support it. Fixes #86
2012-11-01 09:32:51 +13:00
vieron
b538d64969
updated dist
2012-10-20 01:52:08 +02:00
vieron
55edd11ef8
gridster: new method remove_all_widgets
...
Remove multiple widgets without chaining callbacks was not possible so I've added a new argument to remove_widget method named `silent` which if it's value is true, widgets below the removed will not move up.
Also added the method remove_all_widgets.
Fixes #63
2012-10-20 01:37:41 +02:00
vieron
c75db76f4e
updated dist
2012-10-20 00:14:14 +02:00
vieron
a20f3d53b5
ignoring demo folder
2012-10-20 00:12:47 +02:00
Philip Manavopoulos
552df22e1c
Allow for an optional drag handle to be specified
...
When defining the gridster, you can now define a draggable.handle selector:
For example:
$("#widgets").gridster({
widget_margins: [10, 10],
widget_base_dimensions: [565, 400],
draggable: {
stop: function(event, ui) {
console.log('save new columns');
},
handle: '.title'
}
});
If handle is omitted (or left blank), it works as it did previously. If a value is specified, then dragging only starts if the element which was clicked matches the selector specified.
Added by @vieron:
Closes #29
2012-10-20 00:12:10 +02:00
danzel
315c2c8c50
Update changelog and build
2012-10-19 10:22:58 +13:00
danzel
341c607c1b
Tidy ups from merged commits
2012-10-19 10:16:39 +13:00
Duncan Parkes
5719cb94ff
Fix issue #79 .
...
When a MarkerClusterGroup has been on a map, but isn't any longer,
we still need to clear out its markers.
(cherry picked from commit 2a90a86326aee1afd0392efd019d9cdb3f6dd0d0)
Conflicts:
dist/leaflet.markercluster.js
2012-10-19 10:14:31 +13:00
Duncan Parkes
1f09009349
Fix addLayers not working with singleMarkerMode.
...
(cherry picked from commit 02c75f164f1bb85f61329e0f3e89b0dc527301ee)
Conflicts:
dist/leaflet.markercluster.js
2012-10-19 10:12:51 +13:00
danzel
9e2581f544
Update build
2012-10-19 10:08:35 +13:00
danzel
94a50d9654
Add a geojson example
2012-10-19 10:08:26 +13:00
danzel
e3ca8eb153
Correct getBounds when not on the map
2012-10-19 10:07:42 +13:00
danzel
ae3c859e65
Implement getBounds explicitly so it actually works. Thanks @2803media for reporting. Fixes #84
2012-10-19 09:32:40 +13:00
danzel
c6b4122967
Update build
2012-10-17 15:16:45 +13:00
danzel
89d2236917
Remove __layer property on markers that are removed, otherwise on re-adding them we'll assume they are already added. Woops!
2012-10-17 15:16:27 +13:00
danzel
f529500d42
Update build
2012-10-17 09:49:47 +13:00
danzel
7eaef8530a
Replace _getExpandedVisibleBounds with lat/lng diff implementation as provided by andersarstrand in #74 . Should improve behaviour with custom projections
2012-10-17 09:49:35 +13:00
vieron
07b34131bd
update dist
2012-10-15 16:27:12 +02:00
vieron
68f1d6279c
Avoid dynamic column generation.
...
Using add_faux_col each time a new widget is added to the grid caused the widget was always positioned in the first row on the right. Related to #60 .
2012-10-15 15:47:31 +02:00
danzel
6f5ee732b0
Add a changelog
2012-10-11 11:34:46 +13:00
danzel
84c2faf235
Update build
2012-10-11 11:22:01 +13:00
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
vieron
a5d122246d
updated dist
2012-10-07 21:45:06 +02:00
vieron
5411836c88
events/onselectstart: Don't prevent default behaviour on form fields
...
Fixes #56 .
2012-10-07 21:36:58 +02:00
vieron
5a3c382c8b
Immediate children selection for widgets. Fixes #52 .
2012-10-07 21:12:38 +02:00
vieron
6ebd10139f
updated dist
2012-10-07 21:12:38 +02:00
vieron
42ce094e1c
updated grunt config to generate gridster+extras distribution
2012-10-07 21:12:38 +02:00
vieron
cd5c936939
gridster extra methods
...
Some new methods we need at Ducksboard to implement TV mode.
Two new distributions of Gridster are generated with grunt:
- jquery.gridster.with-extras.js
- jquery.gridster.with-extras.min.js
2012-10-07 21:12:38 +02:00
vieron
7dbbc105c1
add_faux_cell: create parent array if doesn't exists
2012-10-07 21:12:38 +02:00
vieron
82b8778762
if not passed, use default namespace for generating stylessheets
2012-10-07 21:12:38 +02:00
vieron
7fc97d0f79
Allow to extend gridster out of the scope
2012-10-07 21:12:38 +02:00
vieron
0b1c9899d0
some code style corrections/improvements
2012-10-07 21:12:38 +02:00
vieron
c4fee63b96
ability to specify a max row as limit in can_move_to method
2012-10-03 15:40:16 +02:00
vieron
3d5077dd7b
add_faux_cols method
2012-10-03 15:33:46 +02:00