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
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
Vladimir Agafonkin
ea6095f259
more subtle border around controls on mobile, #1868
2013-11-13 18:53:12 +02:00
Vladimir Agafonkin
84a93374c4
drop -webkit prefix for border-radius (not relevant anymore)
2013-11-13 18:46:26 +02:00
Vladimir Agafonkin
f9e9a85e1f
subtle control improvements, remove leftover css
2013-11-13 18:45:03 +02:00
Vladimir Agafonkin
885dbb60bd
remove underline in attribution links #1868
2013-11-13 17:37:21 +02:00
Vladimir Agafonkin
6f83a385ee
remove controls text shadow for simplicity
2013-11-13 14:59:26 +02:00
Vladimir Agafonkin
d6f08ed21e
Remove text shadow on mobile, ref #2012
2013-11-13 14:03:12 +02:00
Vladimir Agafonkin
fc97965730
simplify and improve touch styles, close #1868 , close #2012
2013-11-13 14:00:17 +02:00
Vladimir Agafonkin
db446f3e46
add leaflet-drag-target class to dragged elements, ref #2164 , #1902
2013-11-13 12:56:04 +02:00
Vladimir Agafonkin
3797ac3ce7
Fix tiles bluriness regression in Chrome, ref #2078
2013-11-12 00:52:03 +02:00
Vladimir Agafonkin
cef3c7bd85
better clarity for attribution text
2013-11-12 00:39:16 +02:00
Vladimir Agafonkin
6b8c2181f8
remove attrib and layers control shadows for cleaner look
2013-11-12 00:31:20 +02:00
Vladimir Agafonkin
45181ce40b
move old IE styles to leaflet.css, ditch leaflet.ie.css, close #2159
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
2f8c959260
simplify & improve old IE styles, fix popup style
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
698fb2e877
clean up css a bit, drop ie6-related hacks
2013-11-08 16:44:14 +02:00