Iván Sánchez Ortega
fa458e7511
Add CSS for -webkit-tap-highlight-color, fixes #5302
2017-02-07 10:44:56 +01:00
Iván Sánchez Ortega
8c95bc4503
Fix typo in touch-action CSS rules ( #5187 )
2016-12-13 10:26:06 +01:00
Jon Woyame
d5c499b732
limit css selectors for svg/canvas ( #4597 )
2016-11-11 10:45:34 +01:00
b_b
7300097d28
Fix marker shadow if max-width is set ( #5046 )
...
complement to c75af44ca2
2016-10-25 11:28:19 +02:00
Jeff Barnes
837d190933
Fix webpack using valid image file for default icon path ( #4849 ) ( #4979 )
2016-09-30 13:11:52 +03:00
Iván Sánchez Ortega
e9957cfa02
Detect L.Icon.Default.imagePath using CSS. #4604 , #3696 , #4579 ( #4605 )
...
* CSS-based paths for L.Icon.Default. #4604 , #3696 , #4579
* Unit tests for default icons
* Make CSS icon path detection IE8-friendly
* Backwards compatibility for L.Icon.Default.imagePath override.
* Don't overwrite options
2016-08-22 16:40:03 +02:00
Ville Skyttä
2ed1f2a2db
Run *.png through zopflipng -m ( #4755 )
2016-08-04 14:11:44 +02:00
Yohan Boniface
e746211be7
Better tooltip offset handling ( fix #4772 ) ( #4773 )
...
- default offset is now [0, 0]
- both offset.x and offset.y are always honoured
- positive x always move the tooltip on the right
- positive y always move the tooltip on the bottom
2016-08-02 17:51:22 +03:00
Yohan Boniface
41da75c41c
Refining tooltip css
2016-07-08 14:30:04 +02:00
Yohan Boniface
64ba1f7f95
Rename Label in Tooltip, PopupBase in DivOverlay
2016-07-08 13:51:18 +02:00
Yohan Boniface
fe3649f032
Default L.Label border and tip to white
2016-07-08 11:33:53 +02:00
Yohan Boniface
9c8590aebc
Refactor Label CSS
2016-07-02 10:56:11 +02:00
Yohan Boniface
14bfedf7ff
Merge branch 'master' into label
2016-07-02 10:36:42 +02:00
Per Liedman
2652b63f42
Use pointer-events: visiblePainted as fallback for IE <11 ( #4690 )
2016-07-01 11:14:13 +02:00
Per Liedman
bb7d23d7a0
Prevent touch-action depending on enabled handlers ( #4552 )
...
Close #4051 .
2016-06-01 17:41:50 +03:00
Jon Woyame
3ecd4273f3
disable pointer events on popup tip ( #4599 )
2016-06-01 17:21:43 +03:00
Yohan Boniface
accad9c35f
Add CSS fallback to label tip position, as calc is not supported by IE8
2016-05-17 17:12:19 +02:00
Yohan Boniface
4a9140e6b1
Add L.Label related documentation
2016-05-06 15:00:01 +02:00
Yohan Boniface
b4b97277c4
Support top and bottom direction
2016-05-06 13:30:58 +02:00
Yohan Boniface
8a2255afc3
Merge branch 'master' into label
2016-04-30 14:36:48 +02:00
Iván Sánchez Ortega
0cfe85897f
Make non-interactive markers not fire pointer events
...
* Make non-interactive markers not fire pointer events, fixes #3936
* Make non-interactive image overlays and SVGs not fire pointer events
* Make gridlayers non-interactive, fixing #2396 too.
2016-04-02 19:33:02 +02:00
Duncan
75589f367b
Optimize PNG images with ZopfliPNG and pngquant
2016-01-03 15:09:37 +01:00
Yohan Boniface
d7b721877c
First naive L.Label version
2015-10-17 22:42:17 +02:00
Yohan Boniface
c77ca40ccb
Use border-box sizing for scale control ( fix #3668 )
...
Since 8a33e94c0e
we are not more removing the padding programatically.
2015-10-08 12:14:25 +02:00
Vladimir Agafonkin
f5ed2cb2ac
ditch Android 2 hack for overzooming image overlay, close #2282
2015-07-22 19:39:43 +03:00
David Beitey
c75af44ca2
Ensure marker images show if max-width configured
...
Previous versions of Leaflet had ``.leaflet-container img { max-width: none !important }`` prior to the change in b3ff3a0e52
, when the selector became more specific.
This change ensures markers continue to be shown in the case of the page loading Leaflet has a CSS rule like ``img { max-width: 100%; }`` applied.
2015-07-20 09:36:23 +10:00
Patrick Arlt
64f7ef58cb
Move controls on top of layers
...
In my PR to expand the zindex of panes I forgot to also adjust the zindex of `.leaflet-control`. This will make controls appear on top of layers again.
2015-07-19 09:35:20 -07:00
Vladimir Agafonkin
ab1995e1ce
fix box-zoom regression, close #3633
2015-07-16 16:48:08 +03:00
Patrick Arlt
b3678d2ca8
Allow for wide use of pane z-index for ordering.
2015-07-02 12:02:47 -07:00
Vladimir Agafonkin
c38159d986
Merge pull request #3571 from rowanwins/layerControlScroll
...
Scrollbar for layers control with too many layers
2015-06-30 15:25:06 +03:00
Rowan Winsemius
9bfb6d854e
Updated approach for resolving scrollbar issue in legend
2015-06-30 21:59:20 +10:00
Dominik J. Otto
b0b2070b39
No Border on a.leaflet-popup-close-button
...
Removes any borders on the close button of popups if they where set for links in another css-stylesheet of the page.
2015-06-13 17:59:14 +02:00
Vladimir Agafonkin
1e9c8649b3
simplify zoom transform math
...
changes the transform origin for all layers from 50% 50% (implied
default) to 0 0, making it MUCH easier to understand zoom transform
math.
2015-06-05 20:51:20 +03:00
Yohan Boniface
b3ff3a0e52
More targeted max-width: !important in CSS
...
This for example allows to have images in popups not affected
by the max-width.
2015-05-09 08:54:44 +02:00
Iván Sánchez Ortega
b849568ca0
Merge pull request #3233 from juliensoret/grabbingCursor
...
Fix cursor when dragging is set to false.
2015-05-08 16:32:24 +02:00
Mitch Oliver
e44179da12
Fix broken zoom for Project Spartan browsers.
...
Special thanks to the Project Spartan team for letting us know.
2015-04-16 12:09:09 -04:00
Julien SORET
c8c436e42c
Add grabbing cursor to marker when dragged
2015-02-17 22:39:19 +01:00
Julien SORET
03fb73ed22
Fix cursor when dragging is set to false.
2015-02-15 21:18:44 +01:00
John Firebaugh
e47c568a0d
Stricter selectors for will-change properties
2015-02-06 15:50:24 -08:00
Vladimir Agafonkin
6b67df0232
make animations significantly smoother with will-change
2015-02-06 03:13:49 +02:00
John Firebaugh
22cfd12956
Fade tiles with requestAnimationFrame rather than CSS
2015-01-28 19:44:14 +02:00
Steve Kashishian
1d174cd502
provide a default popup text color of #333
2015-01-06 16:34:35 -06:00
David Jardin
1712b74363
Merged css declarations
2014-09-03 21:07:30 +02:00
David Jardin
ecb4af5e76
CSS reset for svg max-width declarations
...
Fix for https://github.com/Leaflet/Leaflet/issues/2881
2014-09-03 17:46:35 +02:00
AndreyGeonya
9445c2f9f2
this commit fixes #2499
2014-08-05 18:14:02 +03:00
Austen Talbot
2124c173df
Make indentation consistent
...
Update indentation on line 27 to be consistent with rest of file
2014-07-05 14:40:23 -07:00
Vladimir Agafonkin
02d5896740
remove leftover code
2014-01-27 18:21:06 +02:00
Vladimir Agafonkin
187d9c2368
move Safari hacks to CSS, do not optimize contrast in Chrome
2014-01-27 18:18:04 +02:00
Vladimir Agafonkin
9228b3089f
fix blurry non-retina tiles on retina iOS
2014-01-27 18:04:58 +02:00
Vladimir Agafonkin
592d2ce8f4
horrible hacks to fix iOS Safari bugging out hw-acceleration
2014-01-14 16:29:39 +02:00