Commit Graph

187 Commits

Author SHA1 Message Date
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
danzel
27e903aa03 Fix tiles disappearing on chrome for android. Fixes #2078 2013-11-05 11:04:34 +13:00
Vladimir Agafonkin
fd86dea4c2 fix incorrect scale control on pages with border-box-sizing, close #2006 2013-09-13 17:51:11 +03:00
Vladimir Agafonkin
5f36e714c6 fix touch styles for leaflet-bar class 2013-07-17 19:28:24 +03:00
John Firebaugh
2b6dbacf53 Workaround for FF user-select bug (fixes #1807) 2013-06-28 12:21:52 -04:00
Vladimir Agafonkin
de743fa890 fix clash of zoom button hover styles with Bootstrap, close #1791 2013-06-26 17:31:45 -04:00
Vladimir Agafonkin
66d6403ddd update layers icon, add retina version, cleaner popup styles, close #1739 2013-06-11 15:44:21 +03:00
Vladimir Agafonkin
e5845967cd fil back buffer z-index issue 2013-02-22 19:03:52 +02:00
John Firebaugh
1bce0760b0 Remove margin override for .leaflet-control-zoom
It should have the same margins as other .leaflet-controls (10px).
2013-02-21 13:56:50 -08:00
John Firebaugh
ade1ab2060 Fix .leaflet-bar style for a single button bar
Should have the same border radius on all corners.
2013-02-21 13:37:00 -08:00
Vladimir Agafonkin
3d26193d66 Prevent tile dragging in webkit, close #1406 2013-02-19 18:22:04 +02:00
jacobtoye
93f46bf656 Using hex color instead of rgba to support oldie. 2013-01-29 14:00:26 +13:00
Vladimir Agafonkin
9bdab60182 make toolbar styles more generic 2013-01-23 15:34:44 +02:00
Vladimir Agafonkin
0554098460 simplify toolbar classes 2013-01-23 15:16:42 +02:00
Vladimir Agafonkin
57c0ac408e rename top/bottom to first/last in control classes, thanks @yohanboniface 2013-01-21 17:04:58 +02:00
Vladimir Agafonkin
b5c9a16ffb improve zoom control design (refining @jacobtoye's work) 2013-01-21 16:55:48 +02:00
Vladimir Agafonkin
e3528c2d22 update zoom control styles, extract general toolbar classes, fix #1209 2013-01-16 17:08:06 +02:00
Vladimir Agafonkin
88a9dbd053 Merge pull request #1216 from moonlite/better-zoomcontrol-borders-take2
Smaller inner border radius.
2013-01-11 08:40:05 -08:00
Mattias Bengtsson
674757b995 Smaller inner border radius. 2012-12-12 19:00:21 +01:00
Vladimir Agafonkin
96e4c80c75 revert clearing map div contents, fix positioning, close #278 again 2012-12-10 17:57:04 +02:00
Vladimir Agafonkin
d0b8ca9ef0 bg transparent for popup close button in CSS, closes #897 2012-11-18 18:03:08 +04:00
Vladimir Agafonkin
c33a4013a2 make zoom buttons disabled when reaching min/max, closes #917 2012-11-14 15:12:31 +02:00
Vladimir Agafonkin
cc5fbf1f2e improve scale control styles 2012-11-14 11:55:34 +02:00
Vladimir Agafonkin
a1b8da5356 more css fiddling 2012-11-13 23:20:03 +02:00
Vladimir Agafonkin
c2272fb2f7 fiddling with styles more 2012-11-13 23:14:58 +02:00
Vladimir Agafonkin
e92ca29f4e subtle control style changes 2012-11-13 23:08:51 +02:00
Vladimir Agafonkin
2fadc94ec3 new zoom control look, various style fixes and cleanup 2012-11-13 16:48:25 +02:00
Vladimir Agafonkin
8a8b2be454 CSS whitespace fixes 2012-11-09 15:34:48 +02:00
Vladimir Agafonkin
3c62151929 reorganize CSS, improve dragging cursors 2012-11-09 15:20:11 +02:00
Vladimir Agafonkin
4987133828 improve zoom animation curve 2012-11-08 19:17:02 +02:00
danzel
c649a4fd92 Update L.DomUtil.getViewportOffset to support dir="rtl"
Fix css element positioning when rtl.
Fixes #1095
2012-10-29 10:18:38 +13:00
danzel
8bed7adb81 Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871 2012-10-18 14:23:09 +13:00
Alexander Parshin
20915a83fa Allow HTML in Layer Names (issue #1009) 2012-10-10 03:05:12 +04:00
mourner
9ebf60bd23 improve popup shadow 2012-08-11 01:25:35 +03:00
Juergen Treml
1a1205ea6e Provide the hooks needed for writing plugins / extensions to scale control
Separate the creation of scales as well as the updating of them into
separate methods, which allows for plugins to overwrite these methods
in order to add an extra scale and update it.

Update style to support n scales instead of exactly one or two.
2012-07-29 14:10:03 +02:00
Vladimir Agafonkin
4174390562 keyboard navigation cleanup, closes #646 #663 2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
ccd6c2956f Merge branch 'master' of https://github.com/ericmmartinez/Leaflet into keyboard 2012-07-27 14:18:46 +03:00
Vladimir Agafonkin
1f19f74fa6 Merge branch 'master' of github.com:CloudMade/Leaflet 2012-07-27 12:33:35 +03:00
Matt Currie
6142a8b74c Add zIndex support to L.TileLayer 2012-07-27 14:12:40 +12:00
danzel
3a8ce2fff5 Set pointer-events on the corner overlays so they can be clicked through (Thanks @ajbeaven @jacobtoye for showing me this). Fixes #575 2012-07-27 09:17:55 +12:00
Vladimir Agafonkin
fe4dfbadbc try to fix #335 according to danzel's comment 2012-07-26 17:42:27 +03:00
Vladimir Agafonkin
0e4e02a1d3 fix popup so that tip shadow is not cut off 2012-07-16 14:22:05 +03:00
Vladimir Agafonkin
b30df4a0fd improve close button styling 2012-07-13 16:47:25 +03:00
Vladimir Agafonkin
f4ecfe61fb improve popup close button, get rid of the image, closes #631 2012-07-12 16:22:14 +03:00
Vladimir Agafonkin
d292b16666 tidy up leaflet CSS 2012-06-26 11:48:43 +03:00
Vladimir Agafonkin
dd47877154 removed translate3d(0,0,0) hack (seems unnecessary now) 2012-06-25 20:21:37 +03:00
danzel
9cec6643f1 Use a generic class (leaflet-zoom-animated) instead of explicitly stating in the CSS what things are zoom animated. 2012-06-21 12:05:31 +12:00
danzel
6d725f02cd Change animateMarkerZoom to use a class/style rather than setting visibility directly. 2012-06-21 11:22:22 +12:00
danzel
bda2a8a2bc Add zooming animation support to Path.Canvas layers also. 2012-06-19 11:12:29 +12:00
danzel
da475a9d23 Don't animate movement when zooming by touch. Still doesn't work right for touch. 2012-06-19 09:20:35 +12:00
danzel
0b30a9b893 Move more zoom animation bits out to css 2012-06-19 09:20:33 +12:00
danzel
d30d057968 Do major tidy ups on the SVG zoom animation, pretty certain that this is tidy now.
Conflicts:

	src/map/anim/Map.ZoomAnimation.js
2012-06-19 09:20:31 +12:00
danzel
51fb9eeacf Start on making markers animate when zooming rather than disappearing and reappearing. Currently implemented as a hack in Map.ZoomAnimation. 2012-06-19 09:20:27 +12:00
mourner
44773a998c updated build, closed #451 2012-06-18 12:30:39 +03:00
Eric Martinez
a69477abcf Created a focus handler for the map. Converted keyboard handler to make use of new focus events. 2012-05-04 23:46:15 -06:00
mourner
bff72c2c8a make scale control more compact 2012-02-25 17:53:26 +02:00
mourner
90198ec519 added scale control 2012-02-25 17:04:27 +02:00
mourner
194425d24b Fix stuttering of pan animation in some cases 2012-02-24 16:53:22 +02:00
mourner
41bfa169a1 styling tweaks, remove controls box-shadow for mobile devices 2012-02-23 16:13:09 +02:00
mourner
d728779bc6 fix controls regression 2012-02-23 10:47:19 +02:00
mourner
287a58ec2a Fixed regression with disappearing controls, closed #525 2012-02-23 10:32:39 +02:00
mourner
1c579dbeac Fixed Android 3 zoom control issue, closed #335 2012-02-21 15:33:10 +02:00
mourner
10bb71fb2a Improved panning usability on marker-crowded maps, closed #506 2012-02-21 12:32:11 +02:00
mourner
1e72e40c89 Added Popup maxHeight option, updated default popup styles 2012-02-17 15:32:40 +02:00
mourner
c3b33d8ca3 Polyline editing fixes, better debug page 2012-02-16 18:11:17 +02:00
mourner
1a8a0ce632 Added DivIcon for lightweight div-based markers, and editable poly example 2012-02-16 13:00:45 +02:00
mourner
8e131c5f32 more cleanup and refactoring 2012-02-15 17:05:55 +02:00
mourner
fdde989f05 Fixed Android 3 stability issues 2012-02-13 16:01:00 +02:00
mourner
dde05f8f31 Fixed z-index marker issues in IE, closed #259 2011-10-28 16:09:38 +03:00
mourner
61d746818b Prevented some CSS frameworks from setting Leaflet img max-width, fixed #322 2011-10-21 18:52:37 +03:00
mourner
465a27e5fc Fixed IE6/7 and IE8-compat overlays not displaying regression, closed #312 2011-09-29 11:48:17 +03:00
Mourner
e4c08caf47 Fix overlay positions when panning to a copy of a world, close #273 2011-09-09 16:32:43 +03:00
Mourner
50e36cc2cb minor tweaks 2011-07-13 14:38:46 +03:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
d2487e89d0 improve mobile webkit click responsiveness, fix clicks in Android 2.1 2011-06-17 13:50:50 +03:00
Mourner
e576fd846c improve typograhy 2011-06-16 15:45:37 +03:00