Class SvgEarthScaling


  • public class SvgEarthScaling
    extends java.lang.Object
    • Constructor Detail

      • SvgEarthScaling

        public SvgEarthScaling​(double R)
        Whole earth scaling, given radius of earth
      • SvgEarthScaling

        public SvgEarthScaling​(double[] boundingBox,
                               double R)
    • Method Detail

      • getZoomScale

        public float getZoomScale()
      • getZoomTranslateX

        public float getZoomTranslateX()
      • getZoomTranslateY

        public float getZoomTranslateY()
      • getLabelRange

        public float[] getLabelRange()
      • calcZoomScaleTranslate

        public static float[] calcZoomScaleTranslate​(float zoomXMin,
                                                     float zoomXMax,
                                                     float zoomYMin,
                                                     float zoomYMax,
                                                     float R,
                                                     float minDist,
                                                     float maxDist)