How to Use Measure Tool in Google Maps JS API

  1. Left click the map, and the measurement between the two locations will display. Keep clicking to add more measurement waypoints.
  2. To remove a waypoint, left click on the waypoint (the first point cannot be removed).
  3. To insert a waypoint on the measurement line, left click the line. Waypoints can be moved by clicking and dragging them.
  4. When the first point and the last point are close enough, the area will display.

Visit the project page to find out more advanced use.

Other Demos From Me