Socket
Socket
Sign inDemoInstall

measuretool-googlemaps-v3

Package Overview
Dependencies
3
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 1.0.0

dist/gmaps-measuretool.esm.js

41

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc