| 1 | Leaflet.GeometryUtil |
| 2 | ==================== |
| 3 | |
| 4 | [](https://travis-ci.org/makinacorpus/Leaflet.GeometryUtil) |
| 5 | |
| 6 | * Tested with stable Leaflet 0.7.0 |
| 7 | |
| 8 | Usage |
| 9 | ----- |
| 10 | |
| 11 | Check out [online documentation](http://makinacorpus.github.io/Leaflet.GeometryUtil/). |
| 12 | |
| 13 | |
| 14 | Development |
| 15 | ----------- |
| 16 | |
| 17 | ### Running tests in command-line |
| 18 | |
| 19 | * Install [nodejs](http://nodejs.org) and [phantomjs](http://phantomjs.org) |
| 20 | |
| 21 | ``` |
| 22 | sudo apt-get install nodejs phantomjs |
| 23 | ``` |
| 24 | |
| 25 | * Ready ! |
| 26 | |
| 27 | ``` |
| 28 | make test |
| 29 | ``` |
| 30 | |
| 31 | Changelog |
| 32 | --------- |
| 33 | ### master ### |
| 34 | |
| 35 | * Nothing changed yet. |
| 36 | |
| 37 | ### 0.4.0 ### |
| 38 | |
| 39 | * Same version as v0.3.3, new release as v0.4.0 to keep numbering coherent as a new feature has been added |
| 40 | |
| 41 | ### 0.3.3 ### |
| 42 | |
| 43 | * Add bearing and destination functions (thanks @doublestranded) |
| 44 | |
| 45 | ### 0.3.2 ### |
| 46 | |
| 47 | * Use a soft dependency for Leaflet (thanks Erik Escoffier) |
| 48 | |
| 49 | ### 0.3.1 ### |
| 50 | |
| 51 | * Make sure interpolateOnLine() always returns a L.LatLng object (thanks Justin Manley) |
| 52 | |
| 53 | ### 0.3.0 ### |
| 54 | |
| 55 | * Added UMD style initialization (thanks @PerLiedman) |
| 56 | * Added readable distance (thanks @Mylen) |
| 57 | * Fix side effects on latlngs with `closest()` (thanks @AndrewIngram) |
| 58 | |
| 59 | ### 0.2.0 ### |
| 60 | |
| 61 | * Locate point on line |
| 62 | * Rotate point around center |
| 63 | * Fixed bug if closest point was on last segment |
| 64 | |
| 65 | ### 0.1.0 ### |
| 66 | |
| 67 | * Line subpart extraction |
| 68 | * Line lengths |
| 69 | * Angle and slope computation |
| 70 | * Line reverse |
| 71 | * Line interpolation |
| 72 | |
| 73 | ### 0.0.1 ### |
| 74 | |
| 75 | * Initial working version |
| 76 | |
| 77 | |
| 78 | License |
| 79 | ------- |
| 80 | |
| 81 | * BSD New |
| 82 | |
| 83 | |
| 84 | Authors |
| 85 | ------- |
| 86 | |
| 87 | * [Benjamin Becquet](https://github.com/bbecquet) |
| 88 | * [Mathieu Leplatre](https://github.com/leplatrem) |
| 89 | * [Simon Thépot](https://github.com/djcoin) |
| 90 | * [Nhinze](https://github.com/nhinze) |
| 91 | * [Frédéric Bonifas](https://github.com/fredericbonifas) |
| 92 | * [Alexander Melard](https://github.com/mylen) |
| 93 | |
| 94 | [](http://makinacorpus.com) |