Commit Graph

2128 Commits

Author SHA1 Message Date
John Firebaugh
1bce0760b0 Remove margin override for .leaflet-control-zoom
It should have the same margins as other .leaflet-controls (10px).
2013-02-21 13:56:50 -08:00
Vladimir Agafonkin
92c55ce77b Merge pull request #1444 from jfirebaugh/toolbar_style
Fix .leaflet-bar style for a single button bar
2013-02-21 13:42:20 -08:00
John Firebaugh
ade1ab2060 Fix .leaflet-bar style for a single button bar
Should have the same border radius on all corners.
2013-02-21 13:37:00 -08:00
Vladimir Agafonkin
5558987272 fix geolocation accuracy bounds, add more event data, close #984, related #584, #987, #1028 2013-02-21 14:41:26 +02:00
Vladimir Agafonkin
e87e010e7d update changelog and build 2013-02-21 10:28:55 +02:00
Vladimir Agafonkin
3cc75db221 Merge pull request #1440 from danzel/zoom
Fix building without zoom animations enabled
2013-02-21 00:10:13 -08:00
Vladimir Agafonkin
9c9d4286a1 Merge pull request #1439 from danzel/convert_option
Make Polyline/Polygon not overwrite the source array
2013-02-21 00:08:48 -08:00
danzel
1681365040 Fix building without zoom animations enabled 2013-02-21 15:15:24 +13:00
mourner
16b09c758a update changelog 2013-02-21 02:16:15 +02:00
Vladimir Agafonkin
5a22c25ab3 Merge pull request #1438 from yohanboniface/echap-boxzoom
Allow for cancelling a boxzoom being drawn pressing Escape key
2013-02-20 13:06:28 -08:00
Yohan Boniface
7fd4ca20fe Allow for canceling a boxzoom being drawn pressing Escape key 2013-02-20 20:47:23 +01:00
Vladimir Agafonkin
501b179bbd fix 404 error in TileLayer tests 2013-02-20 21:22:47 +02:00
Vladimir Agafonkin
5c18361aa2 fix typo, fix animated setView not converting latlng input 2013-02-20 20:54:12 +02:00
Vladimir Agafonkin
cf00a0113d fix rounding error when changing zoom, close #426 2013-02-20 20:11:47 +02:00
Vladimir Agafonkin
97454596c6 fix whitespace, update build 2013-02-20 19:49:40 +02:00
Vladimir Agafonkin
36e59c2afb minor WMS cleanup after merge 2013-02-20 19:48:33 +02:00
Vladimir Agafonkin
3063fd9192 Merge pull request #1433 from tmcw/layer-container
Add a public API for getContainer for TileLayer
2013-02-20 09:48:19 -08:00
Vladimir Agafonkin
874ec60aae Merge pull request #1080 from brianhatchl/wms-tilesize-option-bug
fixed bug where wms tilesize option was ignored
2013-02-20 09:44:54 -08:00
Vladimir Agafonkin
06190b1ec8 Merge pull request #1434 from jfirebaugh/remove
Add Map#remove
2013-02-20 09:41:44 -08:00
John Firebaugh
fb9450f975 Force touch support off for PhantomJS
PhantomJS has `'ontouchstart' in document.documentElement`, but
doesn't actually support touch.

http://code.google.com/p/phantomjs/issues/detail?id=375
https://github.com/ariya/phantomjs/pull/408
https://github.com/Leaflet/Leaflet/pull/1434#issuecomment-13843151
2013-02-20 09:17:06 -08:00
Vladimir Agafonkin
40a824fc97 refactor TileLayer animation, fix #1140, #1437, #52, #1442
Refactored TileLayer animation so that it happens for each tile layer
independently instead of animating the parent of all tile layers. Moved
TileLayer animation code into a separate file (TileLayer.Anim.js).
Fixes loads of bugs and makes the code easier to understand.
2013-02-20 18:40:00 +02:00
Tom MacWright
d8fccfb3dc Spacing. 2013-02-19 21:15:36 -05:00
John Firebaugh
6ef25866eb Add Map#remove
This is a minimal implementation; it only unbinds events
and deletes the _leaflet flag from the container.

Refs #1101.
2013-02-19 17:36:03 -08:00
Tom MacWright
8735b87980 Add public getContainer API to TileLayer, and test for it. 2013-02-19 20:05:44 -05:00
danzel
5873914062 Start on some Polyline/Polygon tests. 2013-02-20 11:03:37 +13:00
danzel
3afee7eb49 Allow overwriting the given array, for usage by spliceLatLngs. 2013-02-20 11:03:13 +13:00
snkashis
0fb7a13277 force new array 2013-02-20 10:38:44 +13:00
snkashis
57d42d1636 allow for no overwrite option in covertLatLngs 2013-02-20 10:38:43 +13:00
Vladimir Agafonkin
0b14d71d7a Merge pull request #1427 from jfirebaugh/should
Omit "should" in spec descriptions
2013-02-19 12:54:33 -08:00
Dave Leaver
db2352ae9b Merge pull request #1424 from tmcw/use-tobe
Use tobe instead of testing the result of an equality
2013-02-19 12:49:04 -08:00
John Firebaugh
01332ebead Omit "should" in spec descriptions
The rationale is this: the spec string describes the expected
behavior unconditionally. The code examples, on the other hand,
set up an expectation that is tested with the call to the expect
method. The code examples can violate the expectation, but the
spec string does not. The value of the spec string is as clearly
as possible describing the behavior. Including “should” in that
description adds no value. (From http://rubyspec.org/style_guide/)
2013-02-19 12:41:48 -08:00
Tom MacWright
a324759268 Use tobe instead of testing the result of an equality 2013-02-19 14:21:06 -05:00
Vladimir Agafonkin
b84b83bf93 fix setView test, #1420 2013-02-19 19:25:49 +02:00
Vladimir Agafonkin
e3d6dd688f Merge pull request #1421 from tmcw/setview-test
Test setView. The setTimeout can be removed when #1420 is fixed.
2013-02-19 09:10:33 -08:00
Tom MacWright
1b03d5d0b4 Test setView. The setTimeout can be removed when #1420 is fixed. 2013-02-19 11:53:42 -05:00
Vladimir Agafonkin
8e176f48aa Merge pull request #1419 from tmcw/test-jshint
Fix semicolons, breaking, whitespace, duplicate var statements.
2013-02-19 08:25:51 -08:00
Vladimir Agafonkin
3d26193d66 Prevent tile dragging in webkit, close #1406 2013-02-19 18:22:04 +02:00
Vladimir Agafonkin
aea0e3b05b fix browser test runner, close #1418 2013-02-19 18:21:01 +02:00
Tom MacWright
0a2000166a Fix semicolons, breaking, whitespace, duplicate var statements. 2013-02-19 11:18:15 -05:00
Vladimir Agafonkin
a0dd4a60e9 accept coordinates in form of simple objects, close #1412 2013-02-19 18:01:53 +02:00
Vladimir Agafonkin
5d41efe616 fix removeAttrubution, cover the control with tests, close #1410 2013-02-19 17:47:38 +02:00
Vladimir Agafonkin
c50410eadc add Control getContainer, close #1409 2013-02-19 17:45:50 +02:00
Vladimir Agafonkin
d98b4ea035 throw meaningful exception on getCenter before setView, close #1395 2013-02-19 16:54:29 +02:00
Vladimir Agafonkin
879b9f987b make Leaflet mention in attribution much less obtrusive 2013-02-18 16:11:59 +02:00
Vladimir Agafonkin
684fd7c12f Merge pull request #1405 from gismartware/master
Fix for issue #1404
2013-02-18 05:50:02 -08:00
fabriceds
2591f53a28 Fixes box-zooming in Firefox 18+ 2013-02-18 14:38:11 +01:00
snkashis
382a9965ef mouseout firing 2013-02-17 21:25:11 -05:00
snkashis
dc5c3d9492 mistaken, unneeded test file. 2013-02-17 15:26:43 -05:00
snkashis
d010d586d0 don't perform if animatingZoom 2013-02-17 14:57:32 -05:00
snkashis
70968e06d4 dupe of 50K vector test, for canvas. 2013-02-17 14:40:25 -05:00