Commit Graph

2931 Commits

Author SHA1 Message Date
danzel
b2959b4488 IE doesn't support e.target, use srcElement.
http://stackoverflow.com/questions/1143196/ie-e-target-id-is-not-working
2013-11-15 10:16:42 +13:00
Vladimir Agafonkin
81ae1794d3 fix world wrap with detectRetina, close #2190, cc @perliedman 2013-11-14 18:58:16 +02:00
Vladimir Agafonkin
88e60af971 fix shift-double-click on maps with vector layers #2189 2013-11-14 18:50:29 +02:00
Vladimir Agafonkin
01b714426c update changelog [skip ci] 2013-11-14 18:39:40 +02:00
Vladimir Agafonkin
0747c2b686 Merge pull request #2187 from Leaflet/maxbounds
Reimplement max bounds enforcement with proper zooming and lookahead
2013-11-14 08:12:11 -08:00
Vladimir Agafonkin
fab5c3b676 adjust whitespace and add some comments 2013-11-14 18:04:39 +02:00
Vladimir Agafonkin
507e6c7aa5 proper rounding of max bounds offsets 2013-11-14 17:52:31 +02:00
Vladimir Agafonkin
80607c6044 reimplement max bounds with proper zooming 2013-11-14 17:45:47 +02:00
Vladimir Agafonkin
e8f249e937 add max bounds outline to debug file for easier testing 2013-11-14 17:21:53 +02:00
Vladimir Agafonkin
be42f7a3b6 Merge branch 'patch-1' of https://github.com/kapouer/Leaflet into maxbounds
* 'patch-1' of https://github.com/kapouer/Leaflet:
  test Map#setMaxBounds and Map#panInsideBounds
  panInsideBounds: fit or center, pass options, remove boundsMinZoom
2013-11-14 14:13:45 +02:00
Vladimir Agafonkin
07e8198ef6 add shift-double-click to zoom out, close #2185 2013-11-13 22:13:39 +02:00
Vladimir Agafonkin
977fb99b6a fix specs after messy merge 2013-11-13 21:56:48 +02:00
Vladimir Agafonkin
3618f404f5 Merge branch 'invalidateSize' 2013-11-13 21:50:02 +02:00
John Firebaugh
33263e537d Add debounceMoveend option to invalidateSize 2013-11-13 10:53:34 -08: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
37dae858c6 update changelog [skip ci] 2013-11-13 17:48:42 +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
840be7a27a fix maxNativeZoom on retina tile layer, close #1859, ref #1798 2013-11-13 13:30:27 +02:00
Vladimir Agafonkin
9fc4e661d6 add multipoly openPopup, close #2046 2013-11-13 13:17: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
1af0ec5ca2 Merge pull request #2183 from danzel/build-windows
Fix build script on windows.
2013-11-12 13:00:48 -08:00
Vladimir Agafonkin
c96384ef82 add Path className option 2013-11-12 22:57:21 +02:00
danzel
f89829ff85 Fix build script on windows. 2013-11-13 09:53:07 +13:00
Vladimir Agafonkin
c500d5ac1f make className utils work for SVG elements in IE9, ref #2164 2013-11-12 18:52:13 +02:00
Vladimir Agafonkin
9babc039f0 use classList for class ops where available; ref #2164
makes it much faster, and also makes adding/removing classes work for
SVG elements
2013-11-12 17:50:45 +02:00
Vladimir Agafonkin
edfa2acb70 capital case for backface tile hack (just in case); add comment 2013-11-12 13:07:16 +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
John Firebaugh
248c5e7c8f Don't delay moveend event on invalidateSize
This causes unnecessary nondeterminism in the sequence of
events emitted. Instead, the caller should be responsible for
throttling, as e.g. Map#_onResize does.
2013-11-11 14:02:00 -08:00
Vladimir Agafonkin
c7fde53627 Merge pull request #2178 from snkashis/attr_handle_existing
handle any existing tilelayers when adding attribution control
2013-11-10 11:10:52 -08:00
Steve Kashishian
d5383d24f7 handle any existing tilelayers when adding attribution control 2013-11-10 11:50:05 -06:00
Vladimir Agafonkin
0d249e34c6 add chrome launcher to karma config 2013-11-10 13:08:48 +02:00
Vladimir Agafonkin
18be02fbba Merge pull request #2174 from bmcbride/patch-1
Add link to mbutil script
2013-11-08 10:28:57 -08:00
Bryan McBride
c5b6100ef0 Add link to mbutil script 2013-11-08 12:59:27 -05:00
Vladimir Agafonkin
376e14d6d3 Merge pull request #2173 from bmcbride/patch-1
Misc. grammar fixes and link to mbtiles-php script
2013-11-08 09:48:39 -08:00
Bryan McBride
5c8c31c569 Misc. grammar fixes and link to mbtiles-php script 2013-11-08 12:41:59 -05:00
Vladimir Agafonkin
33aad1e8a6 fix OSM link in the FAQ 2013-11-08 18:24:50 +02:00
Vladimir Agafonkin
fdf6378539 Add a QA about fixing map data 2013-11-08 18:23:28 +02:00
Vladimir Agafonkin
689fbc1349 fix broken twitter link to dev workflow improvements 2013-11-08 18:16:19 +02:00
Vladimir Agafonkin
7175136cd7 update changelog with build improvements [skip ci] 2013-11-08 17:59:41 +02:00
Vladimir Agafonkin
244f9f39ce improve and clean up build system, jshint specs in tests, close #2151 2013-11-08 17:55:58 +02:00
Vladimir Agafonkin
b224cd849b update changelog regarding ie support [skip ci] 2013-11-08 16:55:43 +02:00
Vladimir Agafonkin
9edf8e0ea3 remove leaflet.ie.css inclusion in all debug pages 2013-11-08 16:44:14 +02:00