Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.maryanovsky.map.client.projections
Class FixedCoefZoomStrategy

    java.lang.Object
      com.maryanovsky.map.client.projections.FixedCoefZoomStrategy

All Implemented Interfaces:
  ZoomStrategy

    public final class FixedCoefZoomStrategy

extends Object
implements ZoomStrategy

An implementation of `ZoomStrategy` which specifies a fixed zoom coefficient (scale multiplier) between each two neighbouring zooms.

Author:
  Maryanovsky Alexander

Method Summary
`static ZoomStrategy` | `getInstance(double zoomCoefficient)` Returns a `ZoomStrategy` with the specified zoom coefficient between neighbouring zooms (a value larger than 1).
`double` | `getZoomMagnification(int startZoom, int endZoom)` See `Projection.getZoomMagnification(int, int)` for the contract of this method.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static ZoomStrategy getInstance(double zoomCoefficient)

  Returns a `ZoomStrategy` with the specified zoom coefficient between neighbouring zooms (a value larger than 1).

### getZoomMagnification

    public double getZoomMagnification(int startZoom,
                                       int endZoom)

  See `Projection.getZoomMagnification(int, int)` for the contract of this method.

  Specified by:
    `getZoomMagnification` in interface `ZoomStrategy`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD