Commit Graph

2906 Commits

Author SHA1 Message Date
Vladimir Agafonkin
3a0b1bf1d5 don't overwrite default options if not specified (faster construction) 2013-12-04 17:38:55 +02:00
Vladimir Agafonkin
5bc104237e clean up Popup, add popup fade out animation 2013-12-04 16:43:24 +02:00
Vladimir Agafonkin
ee334476f7 clean up Control.Zoom 2013-12-04 14:51:18 +02:00
Vladimir Agafonkin
a00360bef6 clean up Control.Scale 2013-12-04 14:45:40 +02:00
Vladimir Agafonkin
14afb4fa8f clean up Control.Layers 2013-12-04 14:18:00 +02:00
Vladimir Agafonkin
81aa8e7298 update changelog [skip ci] 2013-12-04 13:25:44 +02:00
Vladimir Agafonkin
b151ceb63f remove LatLng constants, add move maxMargin to equals arguments 2013-12-03 19:09:36 +02:00
Vladimir Agafonkin
3d7520ff27 clean up Browser.js, simplify old FF touch detection 2013-12-03 18:47:43 +02:00
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