Commit Graph
384 Commits
Author SHA1 Message Date
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 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
danzel a34aaa610d Test for removing with animation 2013-06-14 16:22:10 +12:00
danzel 58fe4615ce Add some starting tests for RemoveLayer. 2013-06-14 16:19:41 +12:00
danzel 0394227f49 Fix lots of bugs with using CircleMarker/Circle as children. Fixes #189 Fixes #148 2013-06-14 15:49:01 +12:00
danzel 25bb880379 Animation test for adding multiple markers with animations on 2013-06-14 15:36:22 +12:00
danzel 41ccbf8ac6 Test for having Circle(Marker) children. 2013-06-14 15:36:08 +12:00
danzel 9146eaa790 Update build 2013-06-14 14:48:48 +12:00
danzel 4307e559b7 Add all the new test files to the html runner 2013-06-14 14:47:05 +12:00
danzel 18b9f77db3 More tests about adding markers to the map 2013-06-14 14:42:36 +12:00
danzel b207656d4d AddLayerSpec -> AddLayer.SingleSpec (As it contains tests about adding a single marker). Not sure if this is the right way to organise these tests. 2013-06-14 14:18:42 +12:00
danzel 1440b56b4e More _noHas hacks. Will work around this properly at some stage, fixes #60 again. 2013-06-14 14:15:34 +12:00
danzel fc9d8953ca Tests for adding an individual marker and having it now show up. 2013-06-14 14:14:41 +12:00
danzel fc39349b3f Add unit test stuff. Current test is just stolen from leaflet, but we'll fix that soon :) 2013-06-14 10:58:48 +12:00
danzel b11665eb83 Replace all build scripts with latest ones from leaflet. Add a package.json 2013-06-14 10:56:53 +12:00
danzel e0846ced2d Don't break if calling hasLayer with null. Fixes #170. Thanks @l0c0luke 2013-05-10 09:36:15 +12:00
Vladimir Agafonkin c34f507863 update issue links in the changelog 2013-05-08 11:28:09 +03:00
danzel 6fda9a206f Update build 2013-04-26 09:59:28 +12:00
danzel e7e1d5391f Fix #160
If we are added to the map, then removed, then a marker is removed from us. Previously that marker wouldn't be removed, now it is when we get re-added to the map.
2013-04-26 09:58:40 +12:00
danzel fc3edf2958 Add broken example from @bpavot in #160 2013-04-26 09:52:52 +12:00
danzel 530d9f5189 Update build 2013-04-24 10:48:09 +12:00
danzel dcbaabe234 Remove hasProperty checks from loops. Refs leaflet/leaflet#1606 2013-04-24 10:48:00 +12:00
danzel 890406abd6 Fix clearLayers with spiderfied markers. Refs #162 2013-04-24 10:44:46 +12:00
danzel d387694ce5 Move example to old-bugs dir (not that it is fixed yet) 2013-04-24 10:20:58 +12:00
Dave Leaver 795ef85c01 Merge pull request #162 from skullbooks/master
Add an example that shows some strange error with a disappearing marker.
2013-04-23 15:19:00 -07:00
danzel cdcc23bea4 Update build 2013-04-24 10:08:30 +12:00
danzel ef4227dcd2 Make this work on old leaflet too. Thanks @nkovacs 2013-04-24 10:08:20 +12:00
Jan-Victor Krille 654926aff2 Fix IDs in example data. 2013-04-23 17:16:50 +02:00
Jan-Victor Krille 1fd27f3ca5 Add a real world example that shows a bug. 2013-04-23 17:00:46 +02:00
danzel 0ae31e9164 Update build 2013-04-22 09:31:28 +12:00
danzel 47c147d9a9 Cludge around our hasLayer implementation to make us work with the latest Leaflet master. Fixes #159
Our hasLayer returns true when we contains a marker. FeatureGroup/LayerGroup (which we inherit from) now check hasLayer when addLayer is called. At this stage our hasLayer will return true, stopping the marker from ending up on the map.
2013-04-22 09:31:10 +12:00
danzel 17b6f14416 Update build 2013-04-15 10:12:00 +12:00
danzel 6276021bd9 Fix some warnings from new uglify 2013-04-15 10:11:49 +12:00
Dave Leaver 7565031727 Merge pull request #156 from pietervandereems/master
#155
2013-04-14 15:01:41 -07:00