Interface ILspScaleLevelProvider
- All Known Implementing Classes:
TLspRasterBasedScaleLevelProvider
public interface ILspScaleLevelProvider
This interface provides a method to retrieve scale levels for a point in the view.
This interface is used by TLspZoomController
and is used to snap
to the provided scale levels when using ctrl-zoom.
- Since:
- 2012.0
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A scale level object. -
Method Summary
Modifier and TypeMethodDescriptiongetScaleLevels
(int aX, int aY, ILspView aView) Returns the scale levels for the given view point.
-
Method Details
-
getScaleLevels
Returns the scale levels for the given view point. The scales should be in order, from smallest to largest. The scale levels can be based on the given view coordinate, for example the ideal scales for a raster under this view position.
- Parameters:
aX
- an x view coordinateaY
- an y view coordinateaView
- the view- Returns:
- the scale levels for the given view point, in toolkit pixels/world unit
-