|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maryanovsky.map.client.projections.FixedCoefZoomStrategy
public final class FixedCoefZoomStrategy
An implementation of ZoomStrategy
which specifies a
fixed zoom coefficient (scale multiplier) between each two neighbouring
zooms.
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 |
---|
public static ZoomStrategy getInstance(double zoomCoefficient)
ZoomStrategy
with the specified zoom coefficient
between neighbouring zooms (a value larger than 1).
public double getZoomMagnification(int startZoom, int endZoom)
Projection.getZoomMagnification(int, int)
for the contract
of this method.
getZoomMagnification
in interface ZoomStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |