Commit Graph

3598 Commits

Author SHA1 Message Date
John Firebaugh
a865d2b649 CSS-based outline prevention 2015-03-02 19:03:39 +02:00
Vladimir Agafonkin
63753d8564 prevent focus outline when dragging objects 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
0a68b25ce5 fix Canvas vector events 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
43c3f01a1a cleaner DOM event handling in Map 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
34bc7fa4ea switch markers to event delegation API 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
22c97d1b33 use new event delegation API in ImageOverlay 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
8e7bbff6d8 switch SVG paths to new delegation API 2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
b149f2d754 Layer add/removeInteractiveTarget methods
registers DOM elements for event delegation
2015-03-02 19:03:37 +02:00
Vladimir Agafonkin
bbc3f2fab1 fix zoom anim freeze race condition, close #2693, close #2478 2015-03-02 15:26:05 +02:00
Vladimir Agafonkin
4c8ffadf30 don't animate negligible touch movements, close #2519 2015-03-02 14:48:09 +02:00
Vladimir Agafonkin
bb230d0ac2 fix race condition in tests 2015-03-02 13:35:02 +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
Vladimir Agafonkin
954ef1cc10 add indent eslint rule and fix some whitespace 2015-03-01 12:01:28 +02:00
Vladimir Agafonkin
d7007ef353 Merge pull request #3266 from Jakobud/pane-management-redux
Vector renderers for custom Pane Management added
2015-03-01 11:56:49 +02:00
Jake Wilson
d0b5aada79 Code consistency changes 2015-02-28 21:26:20 -07:00
Jake Wilson
8c30707e56 Fixed some code style issues. 2015-02-28 21:21:45 -07:00
Jake Wilson
721cf6a689 Added ability to specify pane for vector layer creation, which will automatically create a renderer for that pane if one does not already exists. 2015-02-28 20:48:14 -07:00
Yohan Boniface
1e4b82b990 Cleaner syntax for event forwarding 2015-02-27 17:57:46 +01:00
Vladimir Agafonkin
562c579e3e Merge pull request #3263 from jieter/patch-2
Add a space to make comments look consistant
2015-02-27 18:28:32 +02:00
Yohan Boniface
66654b94eb Forward original event on drag 2015-02-27 17:27:19 +01:00
Jan Pieter Waagmeester
a7d7bedda7 Add a space to make comments look consistant
And now back to real work.
2015-02-27 15:15:16 +01:00
Vladimir Agafonkin
98bf92530f Merge pull request #3258 from jieter/patch-2
Update PLUGIN-GUIDE.md
2015-02-26 17:24:32 +02:00
Jan Pieter Waagmeester
4e21a3b54b Update PLUGIN-GUIDE.md
whitespace in plugin example
2015-02-26 15:58:22 +01:00
Vladimir Agafonkin
05f8011a37 Merge pull request #3255 from yohanboniface/eslint
Use standard .eslintrc config file naming
2015-02-26 13:06:24 +02:00
Yohan Boniface
a9658d7178 Use standard .eslintrc naming 2015-02-26 11:29:42 +01:00
John Firebaugh
4101f01778 Merge pull request #3245 from akauppi/omitted-to-in-PLUGIN-GUIDE
Small typo in plugin guide
2015-02-21 13:52:03 -08:00
John Firebaugh
34205912fc Merge pull request #3244 from akauppi/two-semicolons-in-image-overlay-demo
Two missing ;'s in a demo
2015-02-21 13:51:44 -08:00
Asko Kauppi
b995cf9023 to 2015-02-21 23:01:58 +02:00
Asko Kauppi
f02ccaa346 ;; 2015-02-21 22:59:37 +02:00
Vladimir Agafonkin
d518ad5763 Merge pull request #3231 from vsn4ik/gem_deprecated_options
Update travis.yml and CONTRIBUTING.md
2015-02-14 22:35:27 -08:00
vsn4ik
c5de3fcbb8 Changed deprecated gem options on travis.yml and updated links on CONTRIBUTING.md 2015-02-14 15:12:44 +03:00
Vladimir Agafonkin
5f29ccb220 Merge pull request #3230 from yohanboniface/disable-dragging-off-map
Do not try to remove drag class if marker as no icon
2015-02-13 09:25:31 -08: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
a998f9b6c8 Merge pull request #3217 from akauppi/two-small-typos
two small typos I spotted during code read-through
2015-02-08 11:10:28 -08:00
Asko Kauppi
a7fc9c9a5f two small typos I spotted during code read-through 2015-02-08 17:06:16 +02: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
2925be1112 Merge pull request #3215 from Leaflet/zoom-anim
Followups for zoom animation changes
2015-02-07 02:11:49 +02:00
John Firebaugh
71c11987b5 Ensure tiles have 0 opacity when first painted
Fixes #3206
2015-02-06 15:54:13 -08:00
John Firebaugh
875ec02e5f Remove obsolete unloadInvisibleTiles option 2015-02-06 15:51:20 -08:00
John Firebaugh
e47c568a0d Stricter selectors for will-change properties 2015-02-06 15:50:24 -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
1d7c492bdd discard unneeded tile buffers 2015-02-06 12:17:26 +02:00
Vladimir Agafonkin
6b67df0232 make animations significantly smoother with will-change 2015-02-06 03:13:49 +02:00
John Firebaugh
8d96505527 Remove src reset on removed tiles
This is a performance hit on Chrome; no evidence it ever
solved a real issue. (Ref #107)
2015-02-06 03:13:49 +02:00
John Firebaugh
a0ebbef007 Don't adjust opacity for non-current tiles 2015-02-06 03:13:49 +02:00
Vladimir Agafonkin
421fcca086 Merge pull request #3203 from optical/canvas-weight-consistency
Do not render the stroke if the weight is explicitly set to 0
2015-02-06 01:12:35 +02:00
Jared
ff679aa7dc Do not render the stroke if the weight is explicitly set to 0
When rendering to SVG, if the weight is 0 the outline is not displayed.
However, when rendering to canvas it will still display the outline.
This change makes the behaviour consistent when rendering to either.
2015-02-06 11:41:40 +13:00
Vladimir Agafonkin
cb1994a3db Merge pull request #3142 from Leaflet/tile-fade
Fade tiles with requestAnimationFrame rather than CSS
2015-02-04 01:15:37 +02:00