react-leaflet-measure 2.1.0 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -1
- package/README.md +5 -6
- package/babel.config.js +20 -0
- package/dist/react-leaflet-measure.js +370 -131
- package/dist/react-leaflet-measure.min.js +1 -1
- package/package.json +38 -35
- package/docs/App.jsx +0 -338
- package/docs/_config.yml +0 -1
- package/docs/css/business-frontpage.css +0 -8
- package/docs/index.html +0 -118
- package/docs/vendor/bootstrap/css/bootstrap.css +0 -9887
- package/docs/vendor/bootstrap/css/bootstrap.css.map +0 -1
- package/docs/vendor/bootstrap/css/bootstrap.min.css +0 -7
- package/docs/vendor/bootstrap/css/bootstrap.min.css.map +0 -1
- package/docs/vendor/bootstrap/js/bootstrap.bundle.js +0 -6818
- package/docs/vendor/bootstrap/js/bootstrap.bundle.js.map +0 -1
- package/docs/vendor/bootstrap/js/bootstrap.bundle.min.js +0 -7
- package/docs/vendor/bootstrap/js/bootstrap.bundle.min.js.map +0 -1
- package/docs/vendor/bootstrap/js/bootstrap.js +0 -4249
- package/docs/vendor/bootstrap/js/bootstrap.js.map +0 -1
- package/docs/vendor/bootstrap/js/bootstrap.min.js +0 -7
- package/docs/vendor/bootstrap/js/bootstrap.min.js.map +0 -1
- package/docs/vendor/jquery/jquery.js +0 -10364
- package/docs/vendor/jquery/jquery.min.js +0 -2
- package/docs/vendor/jquery/jquery.min.map +0 -1
- package/docs/vendor/jquery/jquery.slim.js +0 -8269
- package/docs/vendor/jquery/jquery.slim.min.js +0 -2
- package/docs/vendor/jquery/jquery.slim.min.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
react-leaflet-measure Changelog
|
|
2
2
|
=========================
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## 3.0.0 (2025-11-28)
|
|
5
|
+
|
|
6
|
+
* Update Leaflet dependency to 1.9.4
|
|
7
|
+
* Update react-leaflet dependency to 5.0.0
|
|
8
|
+
* Update react dependency to 19.2.0
|
|
9
|
+
* NPM Audit Fix
|
|
10
|
+
|
|
11
|
+
## 2.1.1 (2019-02-07)
|
|
5
12
|
|
|
6
13
|
* Add website
|
|
7
14
|
* Update README
|
package/README.md
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
# react-leaflet-measure
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/mhasbie/react-leaflet-measure)
|
|
4
3
|
[](http://npm.im/react-leaflet-measure)
|
|
5
|
-
[](https://david-dm.org/mhasbie/react-leaflet-measure)
|
|
7
|
-
[](https://david-dm.org/mhasbie/react-leaflet-measure?type=peer)
|
|
8
|
-
[](http://npm-stat.com/charts.html?package=react-leaflet-measure&from=2018-01-01)
|
|
4
|
+
[](https://github.com/mhasbie/react-leaflet-measure)
|
|
9
5
|
[](https://github.com/mhasbie/react-leaflet-measure/issues)
|
|
6
|
+
[](http://npm-stat.com/charts.html?package=react-leaflet-measure&from=2018-01-01)
|
|
7
|
+
[](http://opensource.org/licenses/MIT)
|
|
8
|
+
|
|
10
9
|
|
|
11
10
|
React wrapper of [leaflet-measure](https://github.com/ljagis/leaflet-measure)
|
|
12
11
|
for [react-leaflet](https://github.com/PaulLeCam/react-leaflet).
|
|
13
12
|
|
|
14
13
|
Coordinate, linear, and area measure control for [Leaflet](http://leafletjs.com) maps. Extends [L.Control](http://leafletjs.com/reference.html#control).
|
|
15
14
|
|
|
16
|
-
*Tested with Leaflet 1.
|
|
15
|
+
*Tested with React 19.2.0, Leaflet 1.9.4, React-Leaflet 5.0.0, React-Leaflet 4.0.0*
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
## Demos
|
package/babel.config.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
presets: [
|
|
3
|
+
['@babel/preset-env', { modules: false }],
|
|
4
|
+
'@babel/preset-react'
|
|
5
|
+
],
|
|
6
|
+
plugins: [
|
|
7
|
+
'@babel/plugin-transform-class-properties'
|
|
8
|
+
],
|
|
9
|
+
env: {
|
|
10
|
+
test: {
|
|
11
|
+
presets: [
|
|
12
|
+
'@babel/preset-env',
|
|
13
|
+
'@babel/preset-react'
|
|
14
|
+
],
|
|
15
|
+
plugins: [
|
|
16
|
+
'@babel/plugin-transform-class-properties'
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|