Commit Graph
359 Commits
Author SHA1 Message Date
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
danzel e0695b0369 Update build 2013-02-12 09:20:37 +13:00
danzel 0ea04bc833 Use addLayers and add some commented out timing functionality to the 50000 example. 2013-02-12 09:19:45 +13:00
Dave Leaver c738664063 Document removeOutsideVisibleBounds 2013-02-12 09:19:44 +13:00
Eli Dupuisanddanzel ff23ef0430 Fix link regarding bulk add/remove of markers 2013-02-12 09:19:44 +13:00
Wildhoneyanddanzel e2c9b517ca Removed IDE files 2013-02-12 09:19:44 +13:00
Wildhoneyanddanzel 604c2e25e1 Removed library files 2013-02-12 09:19:43 +13:00
Wildhoneyanddanzel ed311ad5f4 Added an option (removeOutsideVisibleBounds) to prevent removing clusters that are deemed to be outside of the visible bounds. Fixes #103 2013-02-12 09:19:43 +13:00
danzel 561f3d8bde Update build 2013-02-01 10:57:47 +13:00
danzel 0e92b6622a Don't show the coverage of spiderfied MarkerClusters because it will be wrong. Fixes #95 2013-02-01 10:57:29 +13:00
danzel ab625e1af8 Repoint readme links at leaflet.github. Fixes #117 2013-01-14 16:16:14 +13:00
Vladimir Agafonkin ff631541f5 add a link to Leaflet website 2013-01-12 15:03:57 +02:00
Dave Leaver 47c4ce8c92 Merge pull request #116 from scpike/improve-readme
Fix a minor inconsistency in the README
2013-01-09 19:24:38 -08:00
Stephen Pike 267a6878d8 Fix a minor inconsistency in the README 2013-01-09 21:09:28 -05:00