Commit Graph

33 Commits

Author SHA1 Message Date
Vladimir Agafonkin
703ae02aa8 ES6 modules & Rollup (#4989)
* WIP ES6 modules & rollup

* WIP ES6 modules & rollup 2

* WIP ES6 modules & rollup 3

* WIP ES6 modules Browser

* WIP ES6 module fixes

* WIP ES6 modules: simpler browser exports

* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base

* get rid of unnecessary index.js

* WIP ES6 modules, dom events and stuff

* Make linter happy, rollup to dist/

* revert to CRS namespace/class for now

* WIP rollup: export more stuff

* export controls

* rollup: export Layer

* rollup: export DomEvent

* rollup: export more layer types

* rollup: export Popup/Tooltip

* WIP: ES6-ify marker, icon, domutil, draggable.

* ES6-ify gridlayer, tilelayer.

* ES6-ify: Tweak imports-exports, code is now runnable!!

* ES6-ify: Fix scope in some DomUtils

* ES6-ify: Path, fix Popup

* ES6-ify: Lint & cleanup

* ES6-ify map handlers, more linting

* ES6-ify: Icon.Default namespacing

* ES6-ify: Renderers, CircleMarker

* ES6-ify: Circle, Polyline, LineUtil

* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting

* ES6-ify: SVG.VML

* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap

* ES6-ify: Linting, make Karma play nice with Rollup

* ES6-ify: More work on fixing bits breaking some unit tests.

* ES6-ify: rollup the version number, fiddled with build scripts

* ES6-ify: Fiddle with test scripts

* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports

* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports

* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds

* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions

* Typo

* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2

* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML

* Make linter happy.

* ES6: Fixing typos and sxrew-ups after big rebase

* Fix symlink for debugging scripts

* ES6: Cleanup old build scripts

* ES6-ify: Update build system to include git rev in L.version

* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline

* Export Path

* ES6ify: cleanup old banner file

* ES6-ify: whitespace in var declarations

* ES6-ify: Export toTransformation as L.transformation

* ES6-ify: cleanup L.transform exports

* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Iván Sánchez Ortega
e9957cfa02 Detect L.Icon.Default.imagePath using CSS. #4604, #3696, #4579 (#4605)
* CSS-based paths for L.Icon.Default. #4604, #3696, #4579

* Unit tests for default icons

* Make CSS icon path detection IE8-friendly

* Backwards compatibility for L.Icon.Default.imagePath override.

* Don't overwrite options
2016-08-22 16:40:03 +02:00
Vladimir Agafonkin
0d3aa59f9c cleanup leaflet-include.js 2013-01-31 12:59:41 +02:00
Eldar Djafarov
82b327d9f5 use global deps file instead of ustom list 2013-01-30 18:01:32 -02:00
Vladimir Agafonkin
b4770906b3 tweak simple projection, add debug file 2012-12-11 20:18:54 +02:00
Vladimir Agafonkin
44a785f80d convenience method for debugging 2012-11-14 13:37:25 +02:00
danzel
8bed7adb81 Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871 2012-10-18 14:23:09 +13:00
Vladimir Agafonkin
2d2fc74110 get rid of the legacy L.Transition, replace with a better and simpler L.PosAnimation 2012-08-10 18:43:46 +03:00
Vladimir Agafonkin
2aa30376db fix IE9 regression (sorry!) 2012-08-07 18:43:52 +03:00
Vladimir Agafonkin
4174390562 keyboard navigation cleanup, closes #646 #663 2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
33d9bc0cff move L.Icon.Default to separate file, fix popup anchor 2012-07-18 13:55:49 +03:00
mourner
3c8495b6f3 Fixed layers control in IE7, closed #652 2012-05-16 16:39:03 +03:00
mourner
796105a9a4 fix debug files for IE6 2012-05-16 15:34:36 +03:00
mourner
6f40aeeb97 refactor icon and default marker image paths, wrap library in a function 2012-05-10 17:03:50 +03:00
mourner
90198ec519 added scale control 2012-02-25 17:04:27 +02:00
Jason Sanford
b18491c25d Adding L.Rectangle. Just ready to test in debug, still needs added to build scripts, documentation to be comlete. Addresses #494. 2012-02-16 23:36:46 -07:00
mourner
43305b9ffb Initial polyline/polygon editing implementation, #174 2012-02-16 14:15:47 +02:00
mourner
1a8a0ce632 Added DivIcon for lightweight div-based markers, and editable poly example 2012-02-16 13:00:45 +02:00
mourner
8504147844 Restructure handler code 2011-12-14 13:12:54 +02:00
mourner
a38f9dd6ae vector code refactoring to fix #339 2011-10-21 17:50:59 +03:00
Mourner
e89f431d70 debug page for polygon setLatLngs 2011-08-11 14:30:46 +03:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
7e22f3426c vector namespaces/consants refactoring 2011-06-21 17:58:26 +03:00
Mourner
f8f44401d7 move SVG-specific code into a separate file 2011-06-21 16:19:55 +03:00
Mourner
b257c022e3 move path canvas code to a separate folder 2011-06-21 14:05:51 +03:00
Mourner
f80674a9e3 refactoring, cleanup, take strokeWidth into account in circle click 2011-06-21 13:02:45 +03:00
florian
f3205aab50 Changed implementation as discussed in first push request. 2011-06-20 20:27:09 +02:00
florian
86414aeef0 Canvas overlay implementation. Added more shapes to vector.html test. 2011-06-20 10:15:53 +02:00
Mourner
3b58a8bbe7 GeoJSON (finally!), setStyle for paths 2011-06-10 14:26:16 +03:00
Mourner
00a107f162 add MultiPolygon and MultiPolyline layers 2011-06-10 12:45:34 +03:00
Mourner
43b3bdc143 added LayerGroup and FeatureGroup layers 2011-06-10 12:38:24 +03:00
antonj
a1db696f1c Fix null pointer error leaflet-include.js 2011-06-03 17:45:10 +08:00
Mourner
3488f88c38 improve debug handling 2011-06-02 17:07:56 +03:00