Commit Graph

812 Commits

Author SHA1 Message Date
Vladimir Agafonkin
a0ad7b6c0e clean up Poly code 2013-12-05 16:44:50 +02:00
Vladimir Agafonkin
674b7cbc3f clean up Path classes 2013-12-05 16:01:25 +02:00
Vladimir Agafonkin
42b39bf247 clean up GeoJSON.js
also changes geometryToLayer & coordsToLatLngs signatures
2013-12-05 15:14:52 +02:00
Vladimir Agafonkin
b0d6bcb0aa clean up ImageOverlay 2013-12-05 14:57:18 +02:00
Vladimir Agafonkin
b8b6e3e852 clean up Marker.Drag.js 2013-12-05 14:43:41 +02:00
Vladimir Agafonkin
3b0e6d79b0 clean up Marker.js 2013-12-05 14:39:51 +02:00
Vladimir Agafonkin
6b9731283d add and use DomUtil.remove 2013-12-05 14:35:39 +02:00
Vladimir Agafonkin
efba6b4d1c clean up Icon code 2013-12-04 18:42:13 +02:00
Vladimir Agafonkin
5bc104237e clean up Popup, add popup fade out animation 2013-12-04 16:43:24 +02:00
Vladimir Agafonkin
b151ceb63f remove LatLng constants, add move maxMargin to equals arguments 2013-12-03 19:09:36 +02:00
Vladimir Agafonkin
a1828f3f6a change wrapNum signature, clean up 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
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
e43873298c update wrapping/bounding logic to allow negative coords 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
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
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
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
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
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
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
81ae1794d3 fix world wrap with detectRetina, close #2190, cc @perliedman 2013-11-14 18:58:16 +02: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
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
Vladimir Agafonkin
e45db4cd5b drop ie6 png24 hack, drop Browser.ie6/7 props 2013-11-08 16:44:14 +02: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
Vladimir Agafonkin
04776b7ad8 fix tile filtering after #2160 2013-11-07 00:07:21 +02:00
Vladimir Agafonkin
e2977a1244 Merge pull request #2160 from perliedman/crs-size
Remove hardcoded world size from L.TileLayer
2013-11-06 14:03:30 -08:00
perliedman
37d303defb Fixed whitespace 2013-11-06 23:00:21 +01:00