Commit Graph
372 Commits
Author SHA1 Message Date
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
Pieter van der Eems ce0a1f6fa6 Fix #155, work with uglify-js version 2 2013-04-12 16:14:30 +02:00
danzel bd3d3debe4 Update build 2013-04-10 09:05:51 +12:00
danzel 4883316d19 Add MarkerCluster.getBounds 2013-04-10 09:05:20 +12:00
danzel 1eea835251 Fix whitespace 2013-04-10 09:05:19 +12:00
danzel 828bb3e2d6 Fix not firing animationEnd when we have only one marker in the markerClusterGroup. Fixes #146 2013-04-10 09:05:19 +12:00
Dave Leaver 2750822516 Update Readme to mention animateAddingMarkers doesn't work with addLayers
Thanks @Driklyn
2013-04-03 08:47:10 +13:00
danzel 143e0bf3c5 Update build 2013-03-01 14:15:34 +13:00
danzel 542fc622b6 Reduce all animation timers to 200ms instead of 250ms so that they happen within the space of a leaflet zoom. Fixes #140 more details on there. 2013-03-01 14:15:34 +13:00
Dave Leaver c23f1ee429 Merge pull request #139 from leplatrem/patch-1
Fix example of passing options to constructor
2013-02-27 11:47:07 -08:00
Mathieu Leplatre 626c2c61f7 Fix example of passing options to constructor 2013-02-27 11:26:00 +01:00
Dave Leaver f8711d1636 Merge pull request #136 from spacelag/master
Removed some trailing whitespace causing a build break on OSX
2013-02-24 12:10:50 -08:00
Christopher Lakey 17846a97c4 Removed Trailing whitespaces 2013-02-23 21:26:39 -05:00