Commit Graph

3134 Commits

Author SHA1 Message Date
Vladimir Agafonkin
a6517dac60 add CRS unproject, close #1560 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
49af3fda5c merge spherical mercator / epsg3857 changes with some fixes
closes #2062
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
b9f9b285ee fix build (jshint) 2013-12-02 19:16:02 +02:00
Vladimir Agafonkin
678a5cbd05 better wrapping/bounding, make projection bounds optional 2013-12-02 19:16:01 +02:00
Per Liedman
130e53d1cd Use absolute upper tile bounds when calculating TMS row 2013-12-02 19:16:01 +02:00
Per Liedman
4dc66ccedd Round tile bounds to integers 2013-12-02 19:16:01 +02:00
Per Liedman
ad9449e7cf Replace getBounds() with property bounds, defaulting to normal lat/lng bounds 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
f92dcb3be6 cleanup, more comments and fix minor errors 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
5895abe93c fix whitespace 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
7e20997e40 remove LatLng wrap and fix wrap tests 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
e43873298c update wrapping/bounding logic to allow negative coords 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
a4fa618144 fix True Mercator & EPSG:3395 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
a03bfb753e add CRS & Map wrapLatLng, fix GridLayer bounding 2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
0305b593fe clean up TileLayer.WMS 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
8c9a513857 fix GridLayer bounds 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
627ca511d0 add Map getWorldPixelSize, remove hardcode for worldCopyJump 2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
00166b9c4f proper EPSG:4326 with 2x1 root, fixes #1207 2013-12-02 19:16:00 +02:00
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