Commit Graph

571 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
09ad7e8c4f fix box-zoom not displaying 2014-01-14 01:35:34 +02:00
Vladimir Agafonkin
6d5fe1f724 a bit cleaner zoom anim logic 2014-01-13 20:54:13 +02:00
Vladimir Agafonkin
76f9c7ae7f add Map createPane/getPane methods, close #1742 2013-12-30 19:17:52 +02:00
Vladimir Agafonkin
bc9721b3be simplify pane structure (remove objectsPane, not necessary) 2013-12-28 03:38:59 +02:00
Vladimir Agafonkin
e27b295261 clean up BoxZoom, fix cursors #1813 2013-12-27 17:22:16 +02:00
Vladimir Agafonkin
65ae546fa0 make canvas be underneath svg by default 2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
7976b1f284 add basic Canvas implementation 2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
ba0fb35068 bring back zoom control size on mobile, cleanup 2013-11-13 19:49:44 +02:00