MapUtil

public class MapUtil

Methods

getPixelSize

public static double getPixelSize(int zoom)

getScaleInCm

public static double getScaleInCm(Activity activity, int zoom)

getTileCount

public static long getTileCount(AsyncTask task, GeoEnvelope bounds, double zoom, int tmsType)

getTileItems

public static List<TileItem> getTileItems(GeoEnvelope bounds, double zoom, int tmsType)

getZoomForScaleFactor

public static float getZoomForScaleFactor(double scale, float currentZoom)

isGeometryIntersects

public static boolean isGeometryIntersects(Context context, GeoGeometry geometry)

isParsable

public static boolean isParsable(String string)

isZippedGeoJSON

public static boolean isZippedGeoJSON(Context context, AtomicReference<Uri> uri)

lg

public static double lg(double x)

makePlaceholders

public static String makePlaceholders(int size)

prepareTempDir

public static File prepareTempDir(Context context, String path)