You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

measuretool-googlemaps-v3

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
M

measuretool-googlemaps-v3

A handy measurement widget for Google Maps API v3. The functionalities are implemented as close as to what current Google Maps offers.

1.0.2
latest
82

Supply Chain Security

100

Vulnerability

84

Quality

77

Maintenance

100

License

Version published
Weekly downloads
3K
-5.02%
Maintainers
1
Weekly downloads
 
Created
Issues
36

Measurement Tool for Google Maps JS API V3

A mobile friendly measure tool for Google Maps JS API v3.

Features

  • Mobile friendly with native browser touch events support.
  • Measure length and area with segment details.
  • Support imperial, metric and nautical units.
  • 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.

Demo

Visit demo page

demo screen shot

User usage

  • To start measuring, right click the map and choose Measure distance.
  • Left click the map, and the measurement between the two locations will display. Keep clicking to add more measurement waypoints.
  • To remove a waypoint, left click on the waypoint (the first point cannot be removed).
  • To insert a waypoint on the measurement line, click the line. Waypoints can be moved by clicking and dragging them.
  • When the first point and the last point are close enough, the area will display.
  • To end measuring, right click the map and choose Clear measurement.

Browser Compatibility

  • Support various latest versions of modern browsers and IE 11.
    • Chrome
    • Firefox
    • Safari
    • Edge
    • IE11
    • iOS Chrome
    • iOS Safari

Documentations

FAQs

Package last updated on 11 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts