Commit Graph

164 Commits

Author SHA1 Message Date
Mattias Bengtsson
e475c04eaa Add a missing semi colon and make one line < 80 chars 2012-12-12 00:45:09 +01:00
Vladimir Agafonkin
0c5f401220 Merge pull request #1159 from moonlite/master
First stab at a fix for Issue 623
2012-11-29 06:44:25 -08:00
Mattias Bengtsson
593fa82fe8 Stupid typo 2012-11-29 08:10:04 +01:00
Mattias Bengtsson
2fd70b3bb7 Wrap the last test in a map.whenReady to ensure the map has finished loading
before removeLayer is called.
2012-11-29 08:05:08 +01:00
Tom Hughes
0b2a31c1fe Update the Layers control when layers are added or removed 2012-11-24 00:33:57 +00:00
Mattias Bengtsson
c0135a219d Added a bunch of tests and fixed some bugs those exposed.
Also don't try to automatically adjust zoom. Leave that to the
layer control for now and wait for a setBaseLayer / switchLayer
or something instead.
2012-11-19 04:36:13 +01:00
Pascal Borreli
9546599520 Fixed typos 2012-11-09 23:15:48 +00:00
Vladimir Agafonkin
cca3180f30 fix Circle getBounds, closes #1068 2012-10-15 11:39:07 +03:00
John Firebaugh
0b4d2b0c44 Add Map#whenReady
Fixes #1063
2012-10-12 12:54:13 -07:00
John Firebaugh
5ee7113fe4 Add a baselayerchange event 2012-10-12 12:19:21 -07:00
John Firebaugh
2cca6586dc Test the right class 2012-10-11 08:54:04 -07:00
John Firebaugh
fbf91fef54 Ensure that getBounds can be called during the first moveend event
Fixes #1027
2012-10-04 14:02:46 -07:00
Dominik Moritz
f8d6e7052e Implemented isValid() function for Bounds and LatLngBounds. Fixes issue #966. Added specification. 2012-09-11 12:43:16 +01:00
Vladimir Agafonkin
382ef5c0b2 spec cleanup 2012-07-05 12:54:40 +03:00
mourner
fe198ce9e4 Merge branch 'master' of https://github.com/Guiswa/Leaflet into better-events 2012-06-30 13:16:51 +03:00
mourner
2f25c36222 update jasmine to 1.2.0 2012-06-30 13:13:02 +03:00
Aaron King
95ed9cdda2 Allow L.Mixin.Events.addEventListener() to accept a map in which the string keys represent one or more space-separated event types and the values represent a handler function to be called for the event(s).
Allow L.Mixin.Events.removeEventListener() to accept one or more space-separated event types. Omitting the fn parameter will remove all event handlers for the supplied event type(s).

Also allow L.Mixin.Events.removeEventListener() to accept a map where the string keys represent one or more space-separated event types and the values represent handler functions previously attached for the event(s).

Add unit tests for the above changes.
2012-06-29 16:14:41 -07:00
danzel
61ce465134 Fix up the unit tests. Polyline.closestLayerPoint and noConflict were broken. 2012-06-25 12:16:46 +12:00
Konstantin.Myakshin
b65e95f96b Trigger popupopen/close on markers too. 2012-06-18 22:35:54 +03:00
mourner
b333f86e1d fix superclass regression 2012-03-09 11:28:14 +02:00
mourner
24375fe88d more cleanup 2012-02-25 18:57:28 +02:00
Alex Graul
57f44bc423 fix issue with 180 longs being clamped to -180 2011-12-21 13:22:07 +00:00
Vladimir Agafonkin
c726d6f3cb Merge pull request #189 from anru/domutil
Add L.DomUtil.removeClass method
2011-07-20 04:27:12 -07:00
Andrey Rublev
263a5b9b5f Add method Polyline.closestLayerPoint
Also fix method L.LineUtil.simplify for empty geometry
2011-07-20 13:23:04 +07:00
Andrey Rublev
b27922ea2c Add L.DomUtil.removeClass method 2011-07-15 19:03:35 +07:00
Andrey Rublev
9479911e69 Fix Bounds.contains method in case if obj argument is instance of L.Point 2011-07-13 18:13:35 +07:00
Mourner
e9b8353198 more Class specs to test @anru changes 2011-07-12 15:32:40 +03:00
Mourner
76d517e3e2 temporarily disable projection specs (need rewrite after refactoring) 2011-07-12 15:32:22 +03:00
Mourner
bad8021e9d update includes in spec runner 2011-07-12 15:31:54 +03:00
Mourner
61d636cc4f remove noSpec failures (enable when needed during development) 2011-07-12 14:59:43 +03:00
Mourner
ea4fd78b7c fix static properties inheritance 2011-06-21 12:09:49 +03:00
mourner
ff36820cf9 fix namespace spec 2010-09-23 17:25:55 +03:00
mourner
2b8d9eed1d LatLngBounds, moved MapSpec 2010-09-21 11:46:31 +03:00
mourner
a2d2fed2db new Point methods 2010-09-17 19:04:41 +03:00
mourner
d7a160470a empty Map spec 2010-09-15 16:46:27 +03:00
mourner
53bd768a47 TileLayer 2010-09-15 16:45:42 +03:00
mourner
b6ead1dbf2 Transformation fix 2010-09-15 16:45:16 +03:00
mourner
06d043853d multiplyBy 2010-09-15 16:45:02 +03:00
mourner
ad46474275 added getStyle, fixed setPosition 2010-09-14 14:57:45 +03:00
mourner
391e57c144 placeholder for spec 2010-09-13 19:02:49 +03:00
mourner
c958de9721 Bounds with specs 2010-09-13 14:58:28 +03:00
mourner
59a1736b3e Point fixes 2010-09-13 14:58:03 +03:00
mourner
7cef8d3851 Events fire shortcut 2010-09-10 16:54:20 +03:00
mourner
a8d55d0d47 Point add/subtract/divideBy 2010-09-10 16:54:03 +03:00
mourner
a9677fca55 removed Options 2010-09-07 18:20:43 +03:00
mourner
6a158218c1 DomUtil.get, spec 2010-09-07 17:02:45 +03:00
mourner
88ef7d1667 DomEvent fixes, specs 2010-09-07 15:04:00 +03:00
mourner
42bcb9b3b3 DomUtil, DomEvent, namespace config improvements, some specs 2010-09-07 14:27:44 +03:00
mourner
16097461f5 Projection fixes, specs 2010-09-07 11:59:58 +03:00
mourner
f734679158 Projection without specs 2010-09-06 19:17:27 +03:00
mourner
4854e0f9f7 minor renaming 2010-09-06 19:14:04 +03:00
mourner
0b5cc9c455 LatLng + specs 2010-09-06 19:06:38 +03:00
mourner
b50d878e5d minor spec fix 2010-09-06 18:38:14 +03:00
mourner
5b21def444 options merging 2010-09-06 18:26:20 +03:00
mourner
14bd27b088 Options, specs 2010-09-06 16:58:06 +03:00
mourner
0eb9cd8cc6 L.Util.stamp & specs 2010-09-06 16:17:06 +03:00
mourner
ada607fa2f namespace handling improvements, spec for noConflict 2010-09-03 19:49:32 +03:00
mourner
9d4e335fe0 improved Class spec 2010-09-03 19:27:26 +03:00
mourner
db5809b473 Events fixes, Events spec 2010-09-03 19:16:29 +03:00
mourner
341f6e726f added Events, folder renaming 2010-09-03 17:38:41 +03:00
mourner
e1efc0c93f Moved Transformation to geometry 2010-09-03 15:38:14 +03:00
mourner
7a1dcd9915 Transformation & Point classes, more specs 2010-09-02 18:23:53 +03:00
mourner
34305dabe0 Class fixes, more Class specs 2010-09-02 17:26:54 +03:00
mourner
95de45ed8c Util functions, specs for Class & Util 2010-09-02 16:14:25 +03:00