vieron
4eb679fb78
documentation fixes
2012-07-23 22:51:04 +02:00
vieron
aa939d8bf7
updated docs and dist
2012-07-23 22:08:09 +02:00
vieron
33b8f206cf
updated Gridster doc and code style corrections
2012-07-23 22:07:43 +02:00
vieron
7e8ce8dd0a
Coords constructor documentation
2012-07-23 21:50:15 +02:00
vieron
7ae385ea05
some small documentation for draggable class
2012-07-23 21:49:53 +02:00
vieron
00e7c46b31
avoid calls to empty functions in defaults object
2012-07-23 21:48:25 +02:00
vieron
bf2ee67450
only start drag with right click
2012-07-23 21:46:27 +02:00
vieron
981895eab4
default value for css transitions is: "all 0s" not "none"
2012-07-23 21:44:51 +02:00
vieron
f650da8586
fixing tab spaces and some documentation
2012-07-23 21:44:03 +02:00
vieron
c998cb49b3
updated docs and dist
2012-07-23 15:15:26 +02:00
vieron
f0a50649d1
removing playing-revert class when gridster is disabled
2012-07-23 15:14:53 +02:00
vieron
d1b7009fc9
improved and more robust css
2012-07-23 11:04:33 +02:00
vieron
3e1d005585
don`t recalculate offset if it is passed to the update method
2012-07-23 11:03:06 +02:00
vieron
0446186c98
utils: throttle, debounce
2012-07-23 11:02:18 +02:00
vieron
288df54e86
basic jQuery draggable plugin
2012-07-23 11:01:48 +02:00
vieron
5edfe0a488
new methods, fixes and improvements:
...
- new disable, enable methods
- don't generate duplicated stylesheets for the same origin config
- new configuration option called avoid_overlapped_widgets. Avoid that widgets loaded from the DOM can be overlapped. It is helpful if the positions were bad stored in the database or if there was any conflict.
- Removed jquery ui dependencie.
- Fix to prevent widgets go out of the grid.
- New methods to get all widgets from a column or row.
- generate_stylesheets method now supports namespaces to generate multiple stylesheets based on a parent class.
2012-07-23 11:01:05 +02:00
vieron
1507974e07
collision: don't calculate player coords if we have it
2012-07-23 10:53:57 +02:00
danzel
ab5714fe9d
Add a non animated version of Spiderfier
2012-07-23 16:14:47 +12:00
danzel
eebf8e9e81
Spiderfier basically done. Need to add a non animated version for suckers
2012-07-23 16:08:44 +12:00
danzel
14070bf4ba
Gotta be sexy :)
2012-07-23 15:48:31 +12:00
danzel
45d9f8f841
Starting on spidifier based on https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet (Thanks jawj!)
2012-07-23 15:44:26 +12:00
danzel
6e81c385e1
Do backwards loops for some tiny performance win.
2012-07-23 14:38:24 +12:00
danzel
f048d8ad07
Remove console.log
2012-07-23 14:11:20 +12:00
danzel
69b62e3250
Try keep around 2 levels on top of what we need so the tree is more efficient. Fixes #11
2012-07-23 14:10:35 +12:00
vieron
60a873a131
updated dist
2012-07-20 15:48:03 +02:00
vieron
18b620f6ce
the remove_widget callback must be inside the fadeout callback
2012-07-20 15:47:39 +02:00
vieron
0b310de6e7
updated dist
2012-07-20 14:03:32 +02:00
vieron
fbeb2ac05c
fixed add_widget method
2012-07-20 14:03:24 +02:00
vieron
9dbad2b29e
remove_widget accepts a callback as second argument
2012-07-20 14:03:03 +02:00
vieron
7624182bf4
updated docs and diet
2012-07-20 11:06:26 +02:00
vieron
0e03a05435
namespaced gridster events: dragstart, dragstop, drag
2012-07-20 11:04:54 +02:00
danzel
c2609c7dfb
get moveEnd working again!
2012-07-20 17:17:31 +12:00
danzel
48b444e628
Make _recursivelyAddChildrenToMap use _recursively so that it works with ones that haven't generated child clusters. also fix up when to generate child clusters
2012-07-20 16:59:56 +12:00
danzel
569b64fc3c
Trash debug bits
2012-07-20 16:43:00 +12:00
danzel
96b4d8b73e
Implement generating new clusters as required when zooming down
2012-07-20 16:42:39 +12:00
danzel
643757df40
Give the everything example add/remove buttons
2012-07-20 16:27:50 +12:00
danzel
d8317c04ba
Pass the right zoom level in so that clustering happens at the right scale
2012-07-20 16:27:33 +12:00
danzel
55d221c9e1
Fix-Fix double childCount adding bug. Fix broken icon after add bug
2012-07-20 16:15:07 +12:00
danzel
a944d7de44
Fix child counting bug
2012-07-20 16:03:14 +12:00
danzel
fb80032942
Refactor out the animation code and add a non animated addLayer animation
2012-07-20 15:35:22 +12:00
danzel
bd4780cc1e
_recursivelyAddLayer works, possible still some small bugs.
2012-07-20 15:22:17 +12:00
danzel
a39f71fad5
More work towards _recursivelyAddLayer. Still some bugs
2012-07-20 14:44:21 +12:00
danzel
cc677f0ce9
Simplify cluster function
2012-07-20 14:20:46 +12:00
danzel
96e3a8cbf7
Fixing up _recursivelyAddLayer to work correctly. This supports adding markers to existing clusters better.
2012-07-20 14:07:31 +12:00
danzel
003fceab14
removeLayer works now. addLayer still needs fixing to be clustering aware
2012-07-20 11:49:40 +12:00
danzel
603e985d58
removeLayer mostly works! Sometimes the resulting markers don't end up in parent clusters. (Hit remove 1 lots then zoom out lots)
2012-07-20 11:30:20 +12:00
danzel
eb94ab1959
Rename _recursivelyAddChildMarker -> _recursivelyAddLayer
2012-07-20 11:11:28 +12:00
danzel
f5cac38268
Get addLayer after clustering going. _recursivelyAddChildMarker still has some TODOs that need doing
2012-07-20 09:58:31 +12:00
danzel
6a55a17e95
Starting on addLayer after clustering, mostly works now, stops working after a zoom out
2012-07-20 09:40:34 +12:00
danzel
d1b1df7cae
A few small bug fixes and code tidy ups. Add/Remove marker (after clustering) should be all that is broken now.
2012-07-20 09:15:02 +12:00