measuretool-googlemaps-v3
Advanced tools
Comparing version 0.4.2 to 1.0.0
{ | ||
"name": "measuretool-googlemaps-v3", | ||
"version": "0.4.2", | ||
"version": "1.0.0", | ||
"description": "A handy measurement widget for Google Maps API v3. The functionalities are implemented as close as to what current Google Maps offers.", | ||
"main": "lib/MeasureTool.min.js", | ||
"module": "dist/gmaps-measuretool.esm.js", | ||
"browser": "dist/gmaps-measuretool.umd.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "webpack --env build", | ||
"dev": "webpack --progress --colors --watch --env dev" | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"prepare": "npm run build", | ||
"format": "prettier --write src" | ||
}, | ||
@@ -27,18 +33,17 @@ "repository": { | ||
"homepage": "https://github.com/zhenyanghua/MeasureTool-GoogleMaps-V3#readme", | ||
"dependencies": { | ||
"d3-drag": "^2.0.0", | ||
"d3-selection": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"babel": "^6.23.0", | ||
"babel-core": "^6.23.1", | ||
"babel-eslint": "^7.1.1", | ||
"babel-loader": "^6.3.2", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.22.0", | ||
"css-loader": "^0.26.2", | ||
"d3-drag": "^1.0.3", | ||
"d3-selection": "^1.0.4", | ||
"node-sass": "^4.5.0", | ||
"sass-loader": "^6.0.2", | ||
"style-loader": "^0.13.2", | ||
"webpack": "^2.2.1", | ||
"yargs": "^7.0.1" | ||
"@babel/core": "^7.12.10", | ||
"@babel/preset-env": "^7.12.11", | ||
"node-sass": "^5.0.0", | ||
"prettier": "2.2.1", | ||
"rollup": "^2.36.0", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-styles": "^3.12.1", | ||
"rollup-plugin-terser": "^7.0.2" | ||
} | ||
} |
@@ -1,14 +0,15 @@ | ||
# Measurement Tool for Google Maps API V3 | ||
# Measurement Tool for Google Maps JS API V3 | ||
A handy measurement widget for Google Maps API v3. The functionalities are implemented as close as to what current Google Maps offers. | ||
A mobile friendly measure tool for Google Maps JS API v3. | ||
## Features | ||
- Add measurement with one line code to your Google Maps web application. | ||
- Measure Length and Area with segment details. | ||
- Mobile friendly with native browser touch events support. | ||
- Measure **length** and **area** with segment details. | ||
- Support imperial, metric and nautical units. | ||
- Visualize and measure predefined points or as you go. | ||
- Support multiple languages (PR is welcome for more languages). | ||
- color inversion for the dark/light background | ||
- Built-in UI for measurement for convenience. | ||
- API for more customizations. | ||
- Support most modern browsers (Chrome, Firefox, Safari, Edge, IE11) | ||
## Demo | ||
@@ -27,2 +28,12 @@ [Visit demo page](https://zhenyanghua.github.com/MeasureTool-GoogleMaps-V3) | ||
## Browser Compatibility | ||
- Support various latest versions of modern browsers and IE 11. | ||
- Chrome | ||
- Firefox | ||
- Safari | ||
- Edge | ||
- IE11 | ||
- iOS Chrome | ||
- iOS Safari | ||
## Documentations | ||
@@ -29,0 +40,0 @@ - [Change List](https://github.com/zhenyanghua/MeasureTool-GoogleMaps-V3/blob/master/docs/CHANGES.md) |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9
0
42
0
166331
2
5
2859
1
+ Addedd3-drag@^2.0.0
+ Addedd3-selection@^2.0.0
+ Addedd3-dispatch@2.0.0(transitive)
+ Addedd3-drag@2.0.0(transitive)
+ Addedd3-selection@2.0.0(transitive)