Vladimir Agafonkin
cbfbc88370
optimize DomUtil.setOpacity
...
V8 can’t optimize functions with try/catch inside
2015-02-02 10:50:18 -08:00
Vladimir Agafonkin
fb6eda1fbe
don't request redundant fade in frames
2015-02-02 10:50:18 -08:00
John Firebaugh
465cfbad29
Remove opacity resetting on zoom of pre-existing tiles
...
Now that we are fading during the zoom animation, this
is no longer necessary. The zoom animation itself provides
enough of a transition, and resetting the opacity can lead
to more flickering than it solves.
2015-02-02 10:50:18 -08:00
John Firebaugh
7d90dc152e
Clean up pixel bounds calculations
2015-02-02 10:50:18 -08:00
John Firebaugh
bb19fc1bf8
Deterministic tile pruning
...
Do not throttle _pruneTiles. Instead, when adding new tiles,
prune tiles that are no longer needed immediately, and when
a new tile finishes its fade animation, immediately prune
just its parents/children.
2015-01-29 16:26:32 -08:00
Vladimir Agafonkin
e7a7bfc9ea
fix build
2015-01-28 19:45:56 +02:00
John Firebaugh
bbf32ebfcd
Begin tile loading and fading during zoom animation
2015-01-28 19:44:15 +02:00
John Firebaugh
22cfd12956
Fade tiles with requestAnimationFrame rather than CSS
2015-01-28 19:44:14 +02:00
Vladimir Agafonkin
4c0f028794
Merge pull request #3176 from Leaflet/eslint
...
Switch from JSHint to ESLint
2015-01-28 19:37:43 +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
Vladimir Agafonkin
e749d1915b
add ESLint rules; various code style fixes
2015-01-28 17:27:31 +02:00
Vladimir Agafonkin
65efd30567
minor chaining fixes
2015-01-28 17:17:26 +02:00
Vladimir Agafonkin
93f3304f22
fix zoom control regression
2015-01-27 23:15:07 +02:00
Vladimir Agafonkin
aace5b278e
add Control.Zoom disable/enable methods, close #3172
2015-01-27 19:09:49 +02:00
Vladimir Agafonkin
06d354e9cd
Merge pull request #3173 from Leaflet/locate-options
...
Don't mutate this._defaultLocateOptions. Fixes #3160
2015-01-26 03:10:31 +02:00
Tom MacWright
a28c9508be
Don't mutate this._defaultLocateOptions.
2015-01-25 19:27:24 -05:00
Vladimir Agafonkin
165bc298e0
Merge pull request #3168 from Starefossen/patch-6
...
Update year in copyright.js
2015-01-24 17:43:20 +02:00
Vladimir Agafonkin
0602136da7
Merge pull request #3169 from Starefossen/patch-8
...
Use SVG version of Travis build status badge
2015-01-24 17:43:05 +02:00
Hans Kristian Flaatten
46d5992279
Use SVG version of Travis build status badge
2015-01-24 11:23:23 +01:00
Hans Kristian Flaatten
73147bc9e6
Update year in copyright.js
2015-01-24 11:20:01 +01:00
Vladimir Agafonkin
461f82b710
Merge pull request #3154 from stsydow/master
...
preserve marker dragable state on layer deactivation
2015-01-21 00:09:32 +02:00
Stefan Sydow
4c46abe781
preserve dragable state on layer deactivation
2015-01-19 19:07:04 +01:00
Vladimir Agafonkin
9c10141cc9
Merge pull request #3153 from bb-generation/options-undefined-fix
...
fixed error in _tryAnimatedPan when options is undefined
2015-01-19 02:17:33 +02:00
Bernhard Eder
cc750d43ae
fixed error in _tryAnimatedPan when options is undefined
2015-01-18 23:45:38 +01:00
Vladimir Agafonkin
e653cbe864
Merge pull request #3143 from bcamper/flyto-3139
...
flyTo: convert targetCenter to latLng
2015-01-18 11:18:53 +02:00
Vladimir Agafonkin
59d9dcff4f
Merge pull request #3147 from cmlaidlaw/fix-early-return-bug-due-to-bad-return-value-from-_tryAnimationPan
...
BUG: ._tryAnimatedPan() lies...
2015-01-16 01:58:46 +02:00
Chris Laidlaw
48a374db05
BUG: _tryAnimatedPan lies to setView about whether or not an animation was initiated.
2015-01-15 15:42:54 -08:00
Brett Camper
c656e3f993
flyTo: convert targetCenter to latLng
...
see #3139
2015-01-14 19:47:46 -05:00
Vladimir Agafonkin
c3a39f50cf
fix accidentally broken build
2015-01-13 13:31:46 +02:00
Vladimir Agafonkin
4dfbcc46dd
remove inertiaThreshold option, ref #3063
2015-01-13 13:31:11 +02:00
Vladimir Agafonkin
646d83608f
Merge pull request #3063 from RickMohr/improve-inertial-scrolling
...
Improve inertial scrolling
2015-01-13 13:29:41 +02:00
Vladimir Agafonkin
b76caf0f3c
don't count how many tiles to load, ref #3129
2015-01-13 13:22:19 +02:00
Vladimir Agafonkin
e6796fadb8
Merge pull request #3129 from Leaflet/tile-reloading
...
Clean up tile loading
2015-01-13 13:14:40 +02:00
John Firebaugh
d08bdc8e78
Calculate _tilesToLoad
...
Avoids cached _tilesToLoad value getting out of sync with
actual loading tiles, e.g. if _removeOtherTiles or _abortLoading
removes tiles that are loading.
2015-01-12 17:40:28 -08:00
John Firebaugh
99a21117a0
Merge _tiles, _loaded, and _retain into a single map
2015-01-12 17:40:28 -08:00
John Firebaugh
c8fca59b51
Move _pruneTiles up to _update
...
_update is the only place _addTiles is called from,
makes more sense to call _add then _prune than for
_add to call _prune itself.
2015-01-12 13:03:51 -08:00
John Firebaugh
2ee1aa2c23
jshint
2015-01-12 11:03:42 -08:00
Vladimir Agafonkin
7650eaef52
simplify group popup changes, cleanup
2015-01-12 18:56:17 +02:00
Patrick Arlt
9186eade96
remove method checks from test
2015-01-11 08:31:41 -08:00
Patrick Arlt
ff8023a460
fix passing latlng to openPopup, fix build
2015-01-07 09:50:06 -08:00
Vladimir Agafonkin
a06ea76d1a
Merge pull request #3115 from snkashis/popup_text_color
...
provide a default popup text color of #333
2015-01-07 01:40:02 +02:00
Steve Kashishian
1d174cd502
provide a default popup text color of #333
2015-01-06 16:34:35 -06:00
Patrick Arlt
428095cf51
allow popups with functions to return strings or dom nodes
2015-01-06 10:49:26 -08:00
Patrick Arlt
ed4b4e70c0
cleanup logic
2015-01-06 10:34:19 -08:00
Patrick Arlt
ef0ee1483d
consistant failing test
2015-01-02 07:39:00 -08:00
Patrick Arlt
8285e9dfb5
whitespace
2015-01-02 07:35:58 -08:00
Patrick Arlt
775a8e0c3a
refactor everything to Layer.Popup
2015-01-02 07:34:16 -08:00
Patrick Arlt
95596c78a0
fix whitespace
2015-01-02 06:47:07 -08:00
Vladimir Agafonkin
2e3d4ae020
Merge pull request #3113 from batphil/patch-1
...
Happy new year :o)
2015-01-02 14:17:42 +02:00