Commit Graph

2848 Commits

Author SHA1 Message Date
Vladimir Agafonkin
f2da891ff2 clean up DomEvent.DoubleTap 2013-12-03 17:05:51 +02:00
Vladimir Agafonkin
fa69db1082 clean up DomEvent, remove now irrelevant legacy IE magic 2013-12-03 16:57:24 +02:00
Vladimir Agafonkin
ea0650b399 cleanup DomUtil code 2013-12-03 16:14:12 +02:00
Vladimir Agafonkin
abd82daa27 update changelog [skip ci] 2013-12-03 14:40:33 +02:00
Vladimir Agafonkin
bc686476fd Merge pull request #2259 from danzel/fix2256
Don't fire dragend if a dragstart did not occur due to a multitouch action
2013-12-03 04:31:03 -08:00
Vladimir Agafonkin
8b97ecd716 update changelog once more [skip ci] 2013-12-02 20:41:02 +02:00
Vladimir Agafonkin
93b01f1c02 update changelog [skip ci] 2013-12-02 20:36:54 +02:00
Vladimir Agafonkin
9cb36d0a62 document refactoring in changelog, bump version 2013-12-02 20:05:31 +02:00
Vladimir Agafonkin
04c95e1af9 basic GridLayer spec, move TileLayer spec 2013-12-02 19:18:08 +02:00
Vladimir Agafonkin
dd313e6930 better CRS test coverage 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
28b26498c6 fix coverage reporting 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
a1828f3f6a change wrapNum signature, clean up 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
91a01a03da move Projection namespace to Projection.LonLat.js 2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
53d47af746 improve comments in CRS 2013-12-02 19:18:07 +02:00
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