danzel
|
92abbfd3b2
|
Work on refactoring. Zoom in/out without animations works (Unless you zoom below the initial level). Deleting old code is so good!
|
2012-07-18 17:57:00 +12:00 |
|
danzel
|
898ae51527
|
Move _cluster changes out of _cluster, so that _cluster is just clustering
|
2012-07-18 16:25:01 +12:00 |
|
danzel
|
5bca61db7f
|
Starting to refactor to keep everything only in a tree. Currently zoom out on IE works
|
2012-07-18 15:05:58 +12:00 |
|
danzel
|
0a29135aec
|
Working towards fixing adding/removing. Think I'm going to have to bite the bullet and tree this up harder.
|
2012-07-18 14:09:15 +12:00 |
|
danzel
|
12e6eb0133
|
Working on fixing adding/removing. This fixes the case where you have 2 markers clustered, then zoom out twice, then delete one.
|
2012-07-18 13:33:45 +12:00 |
|
danzel
|
e0bcc5e56c
|
Readme/Example updates
|
2012-07-18 11:55:21 +12:00 |
|
danzel
|
db3b7f2fc2
|
Tidy up examples. Add a -everything example which shows boundarys on mouse over and zooms on click.
|
2012-07-18 11:46:51 +12:00 |
|
danzel
|
d8219a81ef
|
Refactor QuickHull to use L.LatLng internally to save copying everything back and forth
|
2012-07-18 11:37:33 +12:00 |
|
danzel
|
9da6156fd4
|
tidy up JS
|
2012-07-18 11:01:54 +12:00 |
|
danzel
|
f03acfaecf
|
Should probably have this code compiling before I go refactoring
|
2012-07-18 11:00:05 +12:00 |
|
danzel
|
e32c4de14c
|
Add QuickHull and use it for calculating convex hulls. (From http://en.literateprograms.org/Quickhull_(Javascript)?oldid=18434 - Referenced in code) Needs tidying up to use LatLng objects rather than having to change back and forth
|
2012-07-18 10:52:47 +12:00 |
|
danzel
|
71662891aa
|
Don't fade between 2 clusters when zooming if they are the same
|
2012-07-17 16:52:59 +12:00 |
|
danzel
|
808b58738f
|
Update leaflet (https://github.com/CloudMade/Leaflet/pull/810)
|
2012-07-17 15:12:56 +12:00 |
|
danzel
|
d29edf7e73
|
Fade out old clusters on zoom in
|
2012-07-17 15:09:34 +12:00 |
|
danzel
|
8f97ecf963
|
Fade markers in during a zoom in.
|
2012-07-17 14:43:44 +12:00 |
|
danzel
|
4e5c29f28a
|
Add an example for zoomToBounds
|
2012-07-17 14:09:45 +12:00 |
|
danzel
|
02adc3a1b1
|
Add zoomToBounds to MarkerCluster. Fixes #6
|
2012-07-17 14:07:52 +12:00 |
|
danzel
|
9161de52cc
|
Add MIT Licence and update the readme
|
2012-07-16 16:33:57 +12:00 |
|
danzel
|
5c6520c81e
|
Move default styles out to a CSS file. Tidy up example a bit
|
2012-07-16 16:17:49 +12:00 |
|
danzel
|
9211aba187
|
Remove some redundant bits.
|
2012-07-16 10:40:53 +12:00 |
|
danzel
|
630d7ec0cd
|
Fade markers as they are moved in
|
2012-07-16 10:40:39 +12:00 |
|
danzel
|
9ae3667b14
|
Remove console.log calls
|
2012-07-13 16:44:26 +12:00 |
|
danzel
|
9447fc468f
|
Make _inZoomAnimation a counter rather than a boolean to allow for overlapping zoom animations.
|
2012-07-13 16:18:09 +12:00 |
|
danzel
|
e71cf6273f
|
Wow, didn't think I'd figure that out! Get zoom out working correctly by adding new clusters to the map immediately, but only showing them after the animation has played
|
2012-07-13 16:14:42 +12:00 |
|
danzel
|
249b075ccc
|
Heaps of hacks to try fix bug #2 (Just working on zoom out). Doesn't work :/
|
2012-07-13 15:56:02 +12:00 |
|
danzel
|
fddad2f892
|
Woops, fix the IE code.
|
2012-07-13 11:30:17 +12:00 |
|
danzel
|
8a0b912996
|
Expand the bounds out to give a screen width on each side
|
2012-07-13 11:09:02 +12:00 |
|
danzel
|
9f36f966b7
|
Formatting
|
2012-07-13 11:07:32 +12:00 |
|
danzel
|
f714c84173
|
Trim markers to the bounds after a zoom in
|
2012-07-13 11:06:28 +12:00 |
|
danzel
|
e40702346b
|
Zooming out wasn't adding markers to the map that weren't previously visible, woops
|
2012-07-13 10:57:41 +12:00 |
|
danzel
|
dd34b194b6
|
Update leaflet to fix multiple adding causing event issues
|
2012-07-12 16:59:47 +12:00 |
|
danzel
|
5fa02c8435
|
Get MarkerClusterGroup.removeLayer working the rest of the way!
|
2012-07-12 16:03:44 +12:00 |
|
danzel
|
4df7bdc9c2
|
Working towards removing markers from a MarkerClusterGroup. Currently works for markers that are not in a cluster or those that are that are in clusters of size >= 2.
|
2012-07-12 15:20:55 +12:00 |
|
Dave Leaver
|
fbe9df1d3a
|
Merge pull request #9 from mourner/patch-1
Syntax coloring for readme examples :)
|
2012-07-11 14:17:38 -07:00 |
|
Vladimir Agafonkin
|
5f87813136
|
Syntax coloring for readme examples :)
|
2012-07-12 00:15:35 +03:00 |
|
danzel
|
9c514d7c08
|
Cludging towards add support. I think this does it.
|
2012-07-11 16:26:25 +12:00 |
|
danzel
|
a1d4c8078b
|
Update leaflet from master + https://github.com/CloudMade/Leaflet/pull/795
|
2012-07-11 16:25:53 +12:00 |
|
danzel
|
660ea6c93d
|
Partially working addLayer after clustering support
|
2012-07-11 15:07:15 +12:00 |
|
danzel
|
383d961cf7
|
Add initial code from https://github.com/danzel/Leaflet/compare/clustered-markers
|
2012-07-11 14:13:46 +12:00 |
|
Dave Leaver
|
b500f4c6cc
|
Initial commit
|
2012-07-10 18:54:39 -07:00 |
|