Yohan Boniface
4e25056703
Typo in test description
2015-03-09 10:13:42 +01:00
Yohan Boniface
c10f81f95d
Remove flyTo callback (but keep test refactored)
2015-03-09 10:11:20 +01:00
Yohan Boniface
60df920452
Add optional callback to map.flyTo
2015-03-08 12:21:43 +01:00
Vladimir Agafonkin
8e78c429e0
Merge pull request #3291 from Leaflet/popupAnchor
...
Fix popupAnchor not taken into account when passing L.Popup to bindPopup
2015-03-07 23:57:10 +02:00
Yohan Boniface
250f03339b
Fix popupAnchor not taken into account when passing L.Popup to bindPopup
2015-03-07 19:00:27 +01:00
Yohan Boniface
d53a0a9779
Allow to use console in tests
...
This prevents us from adding /* eslint no-console: 0 */ each time
we need to use console.log/trace for debugging.
This also means that we will not be blocked if we forget a console
in the tests before commiting, but this should also happen while using
the inline "no-console" config, and given that this only affects tests
files, I think the confort of being able to use console easily worths
the risk of pushing a console in the tests files.
2015-03-07 12:48:46 +01:00
Vladimir Agafonkin
4e44e12ecf
add basic marker click test
2015-03-02 19:33:39 +02:00
Vladimir Agafonkin
d84c38a5a2
Merge pull request #3267 from akauppi/fix-jake-indents
...
fix 'jake'
2015-03-01 23:11:31 +02:00
Asko Kauppi
f61a681c56
fix 'jake'
2015-03-01 22:51:04 +02:00
Yohan Boniface
a9658d7178
Use standard .eslintrc naming
2015-02-26 11:29:42 +01:00
Yohan Boniface
5b3ba078bf
Do not try to remove drag class if marker as no icon
...
Since 4c46abe781
it's possible
to have a marker off the map with dragging still enabled.
We want to be able to disable it in this situation too.
2015-02-13 17:53:23 +01:00
John Firebaugh
21701a6fae
Remove test specific to old zoom code
2015-02-06 16:36:43 -08:00
John Firebaugh
e52c551652
Remove trailing whitespace
2015-02-06 16:36:27 -08:00
Vladimir Agafonkin
54c712cf2b
Merge pull request #2926 from aparshin/clip-round
...
Add optional parameter for result rounding in L.PolyUtil.clipPolygon and L.LineUtil.clipSegment
2015-02-06 17:42:53 +02:00
Vladimir Agafonkin
aeb5083170
complete the switch to ESLint
2015-01-28 19:33:45 +02:00
Vladimir Agafonkin
d145b1fdba
fix a bunch of eslint warnings in the spec suite
2015-01-28 19:32:27 +02:00
Stefan Sydow
4c46abe781
preserve dragable state on layer deactivation
2015-01-19 19:07:04 +01:00
John Firebaugh
2ee1aa2c23
jshint
2015-01-12 11:03:42 -08:00
Sergey Kruk
c8e5d7c61b
L.latLng factory not to throw error on empty array parameter
2014-12-05 20:36:35 +03:00
Sergey Kruk
c5ebd534b2
Factory L.latLng to accept altitude as third parameter or an object's 'alt' property
2014-12-01 16:02:43 +03:00
John Firebaugh
87c7d1d563
No-op Control#remove if not on a map ( fixes #2877 )
2014-11-13 11:25:49 -08:00
John Firebaugh
0b86fa3266
Remove control from existing map in onAdd ( fixes #3020 )
2014-11-13 10:49:43 -08:00
John Firebaugh
ef96884021
Ensure parent init hooks are called ( fixes #2545 )
2014-11-12 14:49:46 -08:00
John Firebaugh
bad49e7612
Add autoClose option to Popup
...
Fixes #2716
Fixes #1853
2014-11-12 12:52:50 -08:00
John Firebaugh
d2871e68e5
Add test for #3008
2014-11-12 10:53:26 -08:00
John Firebaugh
68f86d85d3
Better fix for tile pruning
...
Need to always prune in _addTiles, otherwise tiles can
get stranded.
2014-11-07 16:27:42 -08:00
Jeff Smale
c6dea37d86
Preserve marker draggability on setIcon ( fixes #2578 )
2014-11-05 18:12:21 -08:00
John Firebaugh
4825fc05b3
Add test for #1871
2014-11-05 15:44:23 -08:00
John Firebaugh
e6d857eb70
jshint
2014-11-05 15:22:49 -08:00
John Firebaugh
ea2c397523
No-op bringToFront/Back when Path is not on a map ( fixes #2439 )
2014-11-05 15:13:28 -08:00
Vladimir Agafonkin
0c70dcb581
remove slow tests
2014-10-29 17:20:06 +02:00
Yohan Boniface
1ddac9361a
Fix array of array of LatLngs toGeoJSON edge case
2014-10-26 21:00:56 +01:00
Vladimir Agafonkin
e2e1ccb2f0
fix 404 warnings in tests
2014-10-23 13:52:19 +03:00
Vladimir Agafonkin
2ff2c42847
move some GridLayer tests, add createTile stub
2014-10-23 12:58:29 +03:00
Vladimir Agafonkin
a33eff73f0
replace CSS transitions in pan animations with frames
2014-10-21 12:21:32 +03:00
Tom MacWright
74133f49f0
Fix MarkerSpec in retina browsers.
2014-10-21 12:21:29 +03:00
Tom MacWright
dc573b768a
Add safari and firefox launchers
2014-10-21 12:21:29 +03:00
Alexander Parshin
3a5d45d62e
Add optional parameter for result rounding in L.PolyUtil.clipPolygon and L.LineUtil.clipSegment
2014-09-30 09:57:53 +04:00
bennlich
4eb033c719
Included leaflet.css in html instead of TileLayerSpec.js
2014-07-31 23:43:14 -06:00
bennlich
abfcd9ea59
Added TileLayerSpec.js tests for loading events
2014-07-31 15:38:21 -06:00
Vladimir Agafonkin
760c730f92
fix LatLng.distanceTo race condition, close #2705
2014-05-28 17:26:41 +03:00
Vladimir Agafonkin
1a7b12604b
run view reset before load, fix #2510
2014-03-05 23:27:32 +02:00
Antoine Pultier
63e22f0ed0
Manage empty L.LatLngBounds objects
2014-02-27 19:03:00 +02:00
danzel
d5a3112852
Another break with adding and removing tile layers.
2014-01-30 16:35:08 +13:00
danzel
2396a10282
Fix adding and immediately removing a Layer from the map when the map is never initialized
2014-01-30 16:15:03 +13:00
danzel
8cc7404f53
This should be oldLatLng, even if latlng is wrong, let's have this be right. refs #2412 #1423
2014-01-29 14:51:55 +13:00
danzel
e2d9a97836
Add oldLatlng parameter to Marker move event, will allow MarkerCluster to support moving markers.
2014-01-29 11:33:08 +13:00
Vladimir Agafonkin
dab0cbfc14
update tests to reflect no clamping near poles
2014-01-03 17:37:28 +02:00
Vladimir Agafonkin
7ff0fa9c72
approximate Circle with ellipse
2014-01-03 00:37:34 +02:00
Vladimir Agafonkin
2b96ea5aba
make Leaflet.js requirable for version, remove noConflict test
...
Currently tests don’t account for wrapper function around Leaflet
source, so the noConflict one failed — removing for now.
2013-12-26 18:29:46 +02:00