Commit Graph

3067 Commits

Author SHA1 Message Date
Vladimir Agafonkin
ce79ea1e81 remove TileLayer.Canvas in favor of GridLayer 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
5e6f95dc9c implement TileLayer on top of GridLayer 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
88f21d01af better bind, use native fn.bind if available 2013-12-02 19:16:00 +02:00
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
6f1784fc9a update changelog [skip ci] 2013-12-02 19:13:46 +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
Vladimir Agafonkin
83f4d91d14 Merge pull request #2250 from Zverik/sizechanged
do not change internal properties in invalidateSize() when !map._loaded
2013-12-02 08:04:04 -08:00
danzel
58551506f2 Don't fire dragend if a dragstart did not occur due to a multitouch action. fixes #2256 2013-12-02 14:06:47 +13: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
Vladimir Agafonkin
16d12f4ac0 improve build reporting more 2013-11-28 15:20:25 +02:00
Vladimir Agafonkin
941b206714 improve size reporting when building and add gzipped size 2013-11-28 14:56:32 +02:00
Vladimir Agafonkin
daf7345194 Merge pull request #2227 from nexushoratio/patch-1
Minor spelling fix
2013-11-23 14:51:46 -08: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
Vladimir Agafonkin
f100bbf7e8 Merge pull request #2217 from calvinmetcalf/terrible-mistake
remove functional constructors and compiled templates
2013-11-20 16:32:38 -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
f5580d024e bump version in changelog 2013-11-18 17:23:07 +02:00
Vladimir Agafonkin
18b445fa26 fix version in package.json 2013-11-15 17:02:54 +02:00
Vladimir Agafonkin
ff927cb42a bump version in package.json and Leaflet.js 2013-11-15 16:41:34 +02:00
Vladimir Agafonkin
58b93f80b1 remove closure compiler instructions; close #2193 2013-11-15 16:35:25 +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
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