leaflet.utm
Advanced tools
Comparing version 0.0.5 to 1.0.0
{ | ||
"name": "leaflet.utm", | ||
"version": "0.0.5", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/jjimenezshaw/Leaflet.UTM", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "leaflet.utm", | ||
"version": "0.0.5", | ||
"version": "1.0.0", | ||
"description": "Converts LatLng to UTM WGS84 in Leaflet", | ||
@@ -5,0 +5,0 @@ "main": "L.LatLng.UTM.js", |
@@ -8,3 +8,3 @@ # Leaflet.UTM | ||
Simple [UTM](https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system) (WGS84) methods for L.LatLng. Tested with Leaflet 0.7, 1.0.3, 1.1.0, 1.2.0 and 1.3.1. | ||
Simple [UTM](https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system) (WGS84) methods for L.LatLng. Tested with Leaflet 0.7, 1.0.3, 1.1.0, 1.2.0, 1.3.1 and 1.6.0. | ||
@@ -32,2 +32,11 @@ Based on javascript code from Chuck Taylor's [Toolbox](http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html). | ||
You can also use the values of that `object` directly (like `c.utm().x`). Here is a dump in the Console: | ||
```JavaScript | ||
L.Utm {x: 467486.3402722592, | ||
y: 4101149.337496558, | ||
zone: 30, | ||
band: "S", | ||
southHemi: false} | ||
``` | ||
### UTM -> LatLng | ||
@@ -34,0 +43,0 @@ Just create an object with `L.utm(options)`, and call the method `latLng` like here: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48441
1
98