Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

CAD-704: Create Box Zoom Functionality #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

benrvars
Copy link

Release Notes and Issues

This creates the functionality for box zoom by using Google Maps drawing manager. It allows us to draw a rectangle, calculate the zoom, and propagate the change.

CAD-704

New Feature Testing Notes for QA:

  • Select the magnifying glass button in the top right corner. When activated that button will change colors and the cursor on the map will be a cross.
  • Once activated click, drag, and release or click, move mouse, and click again to draw a rectangle. The map will zoom to the rectangle as much as possible without cutting out anything enclosed by the drawn rectangle. You will also deactivate the box zoom mode.
  • Once activated you can switch map modes and stay in box zoom. The color of the drawn rectangle should change.
  • While activated if you select a category, manipulate the zoom/map with a scroll or the other zoom controls, or click the box zoom button again you will deactivate box zoom mode.

General notes

  • My PR's name starts with a CAD ticket number (if there is one)
  • My changes have corresponding tests that run in CI

Front end

  • I removed console references, window references, and general shenanigans

@benrvars benrvars changed the title Enable box zoom gmap CAD-704: Create Box Zoom Functionality Aug 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant