Commit Graph

3256 Commits

Author SHA1 Message Date
Vladimir Agafonkin
0cf887fdb4 fix Travis build false passes when running tests 2014-01-03 00:37:07 +02:00
Vladimir Agafonkin
c4a9418d3b add low level ellipse rendering support 2014-01-02 20:36:47 +02:00
Vladimir Agafonkin
9ce2cc5cbd use simpler distance formula (precision is good enough) 2014-01-02 16:32:57 +02:00
Vladimir Agafonkin
3d34f27df8 normalize latlng argument in Map wrapLatLng 2014-01-02 16:15:00 +02:00
Vladimir Agafonkin
ea1402ec4f simplify calculations in scale control 2014-01-02 16:13:08 +02:00
Vladimir Agafonkin
5923a64ec4 add Map distance method, close #1442 2014-01-02 16:13:03 +02:00
Vladimir Agafonkin
2ee5c90f02 add CRS.Earth, move Harvesine distance there 2014-01-02 15:42:14 +02:00
Vladimir Agafonkin
6940b5bac9 use projected coordinates in Circle, close #1465 2014-01-02 15:23:28 +02:00
Vladimir Agafonkin
d1bc836b5d HAPPY NEW YEAR!!!
Lets have an awesome year doing amazing stuff together! Cheers my
fellow leafleters!
2014-01-01 02:49:57 +02:00
Vladimir Agafonkin
b2965351e0 ignore openPopup if map not initialized, close #2343 2013-12-31 02:43:56 +02:00
Vladimir Agafonkin
7d18adbe73 don't postfix createPane name, #1742 2013-12-30 23:39:30 +02:00
Vladimir Agafonkin
2000734658 do not fail on unnamed createPane, #1742 2013-12-30 20:16:21 +02:00
Vladimir Agafonkin
76f9c7ae7f add Map createPane/getPane methods, close #1742 2013-12-30 19:17:52 +02:00
Vladimir Agafonkin
dd1b9617dd add syntactic sugar to DomEvent.on/off 2013-12-30 17:40:23 +02:00
Vladimir Agafonkin
6cea376807 add missing Canvas events, fix mouseover spam 2013-12-30 13:22:14 +02:00
Vladimir Agafonkin
bc9721b3be simplify pane structure (remove objectsPane, not necessary) 2013-12-28 03:38:59 +02:00
Vladimir Agafonkin
ee3f2f8b1e stop propagation explicitly; marker and vector mouseup
this way we know what events won’t propagate to Map and this behavior
is consistent across layers
2013-12-28 03:12:18 +02:00
Vladimir Agafonkin
7ca19b59ea clean up Marker mouse events code 2013-12-27 19:27:46 +02:00
Vladimir Agafonkin
8bf7f963e2 fix marker drag regression 2013-12-27 19:27:11 +02:00
Vladimir Agafonkin
c354113293 fix build (fire preclick even with no click listeners) 2013-12-27 18:46:10 +02:00
Vladimir Agafonkin
93214d7e3c clean up mouse events handling code 2013-12-27 18:36:24 +02:00
Vladimir Agafonkin
e7898584c3 more BoxZoom cleanup 2013-12-27 18:17:51 +02:00
Vladimir Agafonkin
e27b295261 clean up BoxZoom, fix cursors #1813 2013-12-27 17:22:16 +02:00
Vladimir Agafonkin
9ae1623910 include version info in top comment, close #2276 2013-12-26 18:46:00 +02:00
Vladimir Agafonkin
abdf0c2afa better compression for Leaflet.js 2013-12-26 18:45:29 +02:00
Vladimir Agafonkin
2b96ea5aba make Leaflet.js requirable for version, remove noConflict test
Currently tests don’t account for wrapper function around Leaflet
source, so the noConflict one failed — removing for now.
2013-12-26 18:29:46 +02:00
Vladimir Agafonkin
9a6288ef37 make Android double-click issue threshold smaller, close #2303 2013-12-25 20:37:25 +02:00
Vladimir Agafonkin
8764063c46 simpler and faster mouse pos; remove DomUtil.documentIsLtr 2013-12-24 18:46:05 +02:00
Vladimir Agafonkin
9eaaf096c1 use getTileSize when determining tile bounds 2013-12-24 00:47:11 +02:00
Vladimir Agafonkin
3ae769a4e7 pass options in canvas/svg factories 2013-12-23 22:39:42 +02:00
Vladimir Agafonkin
bc405b5911 make propagation work correctly for vector layers 2013-12-23 21:33:25 +02:00
Vladimir Agafonkin
add5bacb1f update deps 2013-12-23 20:46:23 +02:00
Vladimir Agafonkin
6edc39e19a revert ce29ac59 2013-12-23 17:21:12 +02:00
Vladimir Agafonkin
5d9cc6bf47 optimize canvas implementation further 2013-12-23 16:55:12 +02:00
Vladimir Agafonkin
6b43bc6566 fix Popup remove/add sequence 2013-12-23 12:47:02 +02:00
Vladimir Agafonkin
37485fd334 fix layers control not firing overlayadd, close #2330 2013-12-23 12:41:50 +02:00
Vladimir Agafonkin
dd72a6545a simplify bringToFront/Back, add DomUtil toFront/Back 2013-12-23 12:31:51 +02:00
Vladimir Agafonkin
a97c599201 Layer popup methods and cleanup, fix #2279, fix #2292 2013-12-21 12:46:38 +01:00
Vladimir Agafonkin
9e6a747f6f minor events-related cleanup 2013-12-21 09:53:26 +01:00
Vladimir Agafonkin
deec9d54be don't bind on each move in IE7-8 2013-12-21 09:36:53 +01:00
Vladimir Agafonkin
47783821f7 rename limitExecByInterval to throttle, better implementation 2013-12-21 01:49:25 -05:00
Vladimir Agafonkin
b7c03c8a99 add more comments to Util, clean up 2013-12-20 22:47:09 -05:00
Vladimir Agafonkin
d0051500c3 comment the Events code better 2013-12-20 17:26:27 -05:00
Vladimir Agafonkin
dcb6f74ef5 ensure execution order in events, slightly bulkier structure 2013-12-19 18:35:05 -05:00
Vladimir Agafonkin
ce29ac59a9 fire load after viewreset/moveend to fix Canvas rendering 2013-12-19 18:04:55 -05:00
Vladimir Agafonkin
70e3500716 rename _leaflet_events to _events 2013-12-19 17:20:04 -05:00
Vladimir Agafonkin
88b27fe832 clean up events code a bit 2013-12-19 17:14:53 -05:00
Vladimir Agafonkin
1dfec0a021 shortcut hasEventListeners as listens 2013-12-19 17:09:32 -05:00
Vladimir Agafonkin
d4fe4cb804 simplify events code, better footprint, speedup removal 2x 2013-12-19 17:05:36 -05:00
Vladimir Agafonkin
6d81f5e51c fix edge case with SVG event delegation 2013-12-19 16:13:34 -05:00