java.lang.IllegalArgumentException: scale factor must not < 1 0.75

GitHub | rsudev | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NewMap: IllegalArgumentException in v6.layers.PositionLayer.draw

    GitHub | 8 months ago | rsudev
    java.lang.IllegalArgumentException: scale factor must not < 1 0.75

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      scale factor must not < 1 0.75

      at org.mapsforge.core.util.MercatorProjection.getMapSizeWithScaleFactor()
    2. org.mapsforge.core
      MercatorProjection.metersToPixelsWithScaleFactor
      1. org.mapsforge.core.util.MercatorProjection.getMapSizeWithScaleFactor(MercatorProjection.java:102)
      2. org.mapsforge.core.util.MercatorProjection.calculateGroundResolutionWithScaleFactor(MercatorProjection.java:63)
      3. org.mapsforge.core.util.MercatorProjection.metersToPixelsWithScaleFactor(MercatorProjection.java:313)
      3 frames
    3. cgeo.geocaching.maps
      PositionLayer.draw
      1. cgeo.geocaching.maps.mapsforge.v6.layers.PositionLayer.draw(PositionLayer.java:51)
      1 frame
    4. org.mapsforge.map
      PausableThread.run
      1. org.mapsforge.map.layer.LayerManager.doWork(LayerManager.java:94)
      2. org.mapsforge.map.util.PausableThread.run(PausableThread.java:140)
      2 frames