Commit Graph

1734 Commits

Author SHA1 Message Date
Per Liedman
294a7250d0 Added tests to verify size of EPSG3857 and 4326 2013-12-02 19:16:00 +02:00
Per Liedman
6c4d607e4d Add bounds to Projection, to calculate size 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
7a3e63ea53 handle simple CRS in GridLayer 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
82e43019ee proper GridLayer wrapping/bounding 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
8f97ca619e easy async loading for GridLayer 2013-12-02 19:15:19 +02:00
Vladimir Agafonkin
e8c504b5f9 working GridLayer implementation, #1180 2013-12-02 19:15:19 +02:00
Calvin Metcalf
b2acd4e26d update 3857 based on 3395 2013-12-02 19:15:19 +02:00
Calvin Metcalf
87520df2e2 Spherical Radius is used in Spherical Mercator 2013-12-02 19:15:18 +02:00
Vladimir Agafonkin
75c813305c Merge pull request #2206 from radicalbiscuit/fix-circlemarker-setlatlng-return
Give L.CircleMarker.setLatLng a return statement.
2013-12-02 08:12:52 -08:00
Vladimir Agafonkin
78c934cbb2 revert #2207 (focusing popup close button) to fix #2254 2013-12-02 18:09:44 +02:00
Vladimir Agafonkin
5084cbf0b1 Merge pull request #2253 from gumballhead/event-layer
Use event.target as a default for event.layer
2013-12-02 08:07:29 -08:00
Andrew Kirkegaard
5a796c9897 Use event.target as a default for event.layer. Closes #2252
In 2464d13, event.layer is overwritten to equal event.target. This
commit uses event.target as a default for event.layer.
2013-11-29 12:15:40 -05:00
Ilya Zverev
0859c48fbf do not change internal properties in invalidateSize() when map is not loaded 2013-11-29 14:46:05 +04:00
nexushoratio
2e6e81e307 Minor spelling fix 2013-11-23 12:55:26 -08:00
Vladimir Agafonkin
769c2472de Merge pull request #2207 from Zombienaute/master
Issue #2199 - Set focus to popup close button when popup is opened.
2013-11-22 05:18:24 -08:00
Vladimir Agafonkin
9ae30c0fd5 Merge pull request #2216 from danzel/android23
Disable webkit3d on android 2/3 because it is buggy as
2013-11-20 16:33:22 -08:00
Calvin Metcalf
4a0beebde3 Revert "'#1968 compiled interpolation'" 2013-11-20 15:42:06 -05:00
danzel
66282f14bc Disable webkit3d on android 2/3 because it is buggy as. fixes #2198 2013-11-21 09:34:19 +13:00
Adam Bramley
5fec57d8ec Adds a check to make sure the closeButton option is set before focusing 2013-11-21 09:16:10 +13:00
Bradley Gentry
9d2f90b508 Gave L.CircleMarker.setLatLng a return statement. 2013-11-20 13:37:30 -05:00
Adam Bramley
0b9918fe4e Issue #2199 - Set focus to popup close button when popup is opened. 2013-11-20 16:09:14 +13:00
Vladimir Agafonkin
ff927cb42a bump version in package.json and Leaflet.js 2013-11-15 16:41:34 +02:00
danzel
00e0dcf3e5 Fix spelling mistake in removeClass 2013-11-15 10:17:08 +13:00
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
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
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
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
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
c96384ef82 add Path className option 2013-11-12 22:57:21 +02: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
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
Steve Kashishian
d5383d24f7 handle any existing tilelayers when adding attribution control 2013-11-10 11:50:05 -06: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
e45db4cd5b drop ie6 png24 hack, drop Browser.ie6/7 props 2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
60f5d46e53 Merge pull request #2171 from danzel/hack-2033
Fix layers control on firefox android
2013-11-07 16:45:39 -08:00
Vladimir Agafonkin
30e1e7eb55 fix build after #2167 fix 2013-11-07 21:46:50 +02:00
Vladimir Agafonkin
44d98afb6a make Popup.setLatLng faster, fix #2167 2013-11-07 19:55:22 +02:00
John Firebaugh
dd063b26a1 Prefer selectstart to user-select
Rather than both setting user-select to none and suppressing the selectstart
event, we now prefer to suppress the selectstart event if supported. This avoids
redundantly setting the user-select style, which can be slow. Fixes #2163.
2013-11-06 16:04:27 -08:00
Vladimir Agafonkin
04776b7ad8 fix tile filtering after #2160 2013-11-07 00:07:21 +02:00