Implement a way to zoom out when search results are not visible that adheres to coding conventions

Issue #311 new
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Enforce the coding convention that one class should not know the internal workings of another class in the case of initiating a zoomout from HeaderFinderBox (when search results are not visible).

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

N/A

CURRENT BEHAVIOR

HeaderFinderBox has code like "globalSmap.setToMinScale();"

EXPECTED BEHAVIOR

HeaderFinderBox should not be aware of MapContainer's setToMinScale() method.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Perhaps an observer implementation.

FILES AFFECTED (where the changes will be implemented) - developers only

  • HeaderFinderBox
  • MapContainer
  • InteractiveMatrixView (possibly)

LEVEL OF EFFORT - developers only

medium

COMMENTS

Found during a code review of issue #233

Comments (4)

  1. Robert Leach reporter
    • removed milestone

    Removing milestone: Coding Convention Adherence (automated comment)

  2. Log in to comment