Commit Graph

197 Commits

Author SHA1 Message Date
Vladimir Agafonkin
90ce2ab951 Merge pull request #2136 from danzel/rtl
Correct rtl again
2013-11-03 08:23:03 -08:00
danzel
0c7e7eb373 Delete ltr/rtl code as its not needed any more, wtf? 2013-10-30 10:25:28 +13:00
Jan Pieter Waagmeester
4f6df67a85 Make Mocha ignore leaks properly and do some space -> tab replacement 2013-10-23 15:15:54 +02:00
Jan Pieter Waagmeester
a7f2d1975f Allow double quotes in template strings fixes #2120 2013-10-23 15:14:59 +02:00
Alexander Parshin
f5de36e229 Add holes support to L.Polygon.setLatLngs(). Fixes #1518 2013-10-13 20:17:12 +04:00
Vladimir Agafonkin
361c9cab6d fix isArray not working IE9 in rare cases, close #2077 2013-10-08 16:59:42 +03:00
Vladimir Agafonkin
2250cee6ec allow setZoom before setView, make setView zoom optional, close #2056, close #1449 2013-09-30 15:00:46 +03:00
Tom MacWright
befc5eb992 Add support for layers lacking Events mixin. Fixes #1962 2013-09-17 17:36:05 -04:00
Vladimir Agafonkin
5841579bb8 Merge pull request #2025 from Gnurfos/issue-1915
Accept simple objects in L.latLngBounds(). Fixes #1915.
2013-09-13 02:14:03 -07:00
Seb Emonet
16f9c9a302 Accept simple objects in L.latLngBounds(). Fixes #1915. 2013-09-13 00:22:19 +02:00
Vladimir Agafonkin
a086b336b2 fix images 404 warnings in specs 2013-09-12 13:14:00 +03:00
Vladimir Agafonkin
f04527b308 update karma config to work on version 0.10 2013-09-12 13:13:49 +03:00
Alexander Parshin
df320c3b06 Add test specifications for CRS classes. 2013-09-10 11:40:48 +04:00
Vladimir Agafonkin
f91d2d82da update happen and references to it to fix build, hello @tmcw 2013-09-09 11:47:09 +03:00
Vladimir Agafonkin
5e30c51f85 add GeoJSON rountripping of GeometryCollection and MultiPoint, close #1956 2013-08-28 12:43:04 +03:00
Vladimir Agafonkin
21d8bde0b7 fix tempate interpolation test and build 2013-08-27 22:06:01 +03:00
Vladimir Agafonkin
1581a94fc3 Merge branch 'interpolation' of https://github.com/calvinmetcalf/Leaflet
* 'interpolation' of https://github.com/calvinmetcalf/Leaflet:
  '#1968 compiled interpolation'
2013-08-27 21:28:38 +03:00
Calvin Metcalf
b2b25c8941 '#1968 compiled interpolation' 2013-08-27 13:03:07 -04:00
fastrde
a8a8ebe309 added a spec test for worldCopyJump set Center and Zoom fix #1982 2013-08-18 03:18:21 +02:00
Vladimir Agafonkin
e18b7eded6 Merge pull request #1931 from russelldavis/fix-invalidate-size
Fix rounding issues in Map::invalidateSize
2013-08-06 02:43:40 -07:00
John Firebaugh
a0c6363bb6 Invalidate _initialCenter along with size (fixes #1919) 2013-08-05 14:09:09 -07:00
Russell Davis
f568768142 Fix rounding issues in Map::invalidateSize 2013-08-01 23:14:11 -07:00
Vladimir Agafonkin
7c744d06e6 add getMinZoom test for #1866
[skip ci]
2013-07-25 12:44:55 +03:00
Vladimir Agafonkin
75c133082c fix Map min/maxZoom not overriding TileLayer-derived min/max, close #1848 2013-07-12 15:05:59 +03:00
danzel
ec3b9e0ff2 Add a few more featuregroup tests and fix regression of removeLayer. 2013-07-12 10:13:25 +12:00
Aaron Rutkovsky
0e34b8caf2 PosAnimation tests 2013-07-11 12:30:15 -05:00
John Firebaugh
4839c44509 Fire layerremove after removing the layer
This is consistent with 0.5.x and seems more useful. Updating
the state of a layer switcher using map.hasLayer in response
to layeradd and layerremove events is my use case.
2013-07-08 16:53:04 -07:00
John Firebaugh
475e736346 Revert "Consistent mouse event propagation in Marker and Path"
This reverts commit 4015f49615.
2013-06-28 16:22:20 -04:00
John Firebaugh
4015f49615 Consistent mouse event propagation in Marker and Path
Marker was missing mouseup and mousemove.
Path was missing mouseup.
2013-06-28 14:44:10 -04:00
John Firebaugh
1b7977a259 Manage happen.js with npm and upgrade it 2013-06-28 14:44:10 -04:00
Vladimir Agafonkin
cdc65c6c6b add Circle & CircleMarker toGeoJSON 2013-06-25 12:43:22 -04:00
John Firebaugh
2c22d13ab8 Fix test 2013-06-24 14:39:23 -04:00
John Firebaugh
e7d0fb1b37 Normalize all toGeoJSON output to Features 2013-06-24 14:30:24 -04:00
Vladimir Agafonkin
54befc9203 fix True Mercator projection calculations, close #1578 2013-06-24 10:42:15 -04:00
danzel
19d49e027f Add another test for marker/shadow reuse 2013-06-24 08:54:40 +12:00
Paul Bonaud
1af9769ed0 Toggle the display of a marker s popup on click 2013-06-16 22:13:31 +02:00
danzel
1a1cfb2e60 Make Marker setIcon unit tests better. 2013-06-12 16:18:20 +12:00
danzel
fa45913505 Make Icon/DivIcon reuse not try reuse the wrong dom element type. 2013-06-12 16:05:42 +12:00
danzel
7f2eff363b Add support to DivIcon for reusing a div. Fixes #1753. Still issues remain (Can't change a marker with a DivIcon to have an image Icon or vice versa) 2013-06-12 15:55:03 +12:00
John Firebaugh
4802561e0e Don't fire layerremove if layeradd was never fired 2013-06-01 22:16:53 -07:00
John Firebaugh
51fccc80fe Don't call Layer#onAdd on a layer that has been removed 2013-06-01 22:11:42 -07:00
John Firebaugh
055b3393da Don't call Layer#onRemove if Layer#onAdd was never called 2013-06-01 21:50:18 -07:00
Andrii Korzh
d1aa0f3b7e Update LatLngBoundsSpec.js 2013-05-18 13:27:45 +03:00
John Firebaugh
ade9c943ff Popup-specific closeOnClick option 2013-05-10 15:22:03 -07:00
Vladimir Agafonkin
0849d06c1b fix whitespace in event spec, #1661 2013-05-08 12:58:50 +03:00
R. Merkert
bbb7acb3f4 Make sure events don't fire after listener is removed.
This patch fixes a problem with a dangling  event listener, which is
called even after it has been removed. This situation can occur when a
listener is removed during an even dispatch.

To fix this problem, the old action is replaced with a NOOP, so that
when the listener is being fired, it is not the old listener but the
NOOP.
2013-05-07 20:16:25 -04:00
John Firebaugh
c9e2453eed Bounds-check array access in Polygon#initialize 2013-05-02 16:17:04 -07:00
Daan Mortier
c6620859e4 Updated patch for issue #1631 based on feedback 2013-04-29 13:03:05 +02:00
Daan Mortier
52498f1ef9 Issue #1631: Fixed a bug on removeEventListener
Bugfix for issue #1631 where removeEventListener would throw when no event listeners are registered on the object.
2013-04-29 11:53:16 +02:00
Vladimir Agafonkin
7cb7993571 simplify popup methods, merge #738 2013-04-20 16:58:42 +03:00