@Test public void testMapSize() { Assert.assertEquals(256, BingTileUtil.mapSize(0)); Assert.assertEquals(BingTile.DEFAULT_TILE_SIZE, BingTileUtil.mapSize(0)); Assert.assertEquals(512, BingTileUtil.mapSize(1)); Assert.assertEquals(BingTile.DEFAULT_TILE_SIZE * 2, BingTileUtil.mapSize(1)); Assert.assertEquals(1024, BingTileUtil.mapSize(2)); }
public static int mapSize(int zoomLevel) { return BingTile.DEFAULT_TILE_SIZE << zoomLevel; }
BingTileUtil { public static int mapSize(int zoomLevel) { return BingTile.DEFAULT_TILE_SIZE << zoomLevel; } }
BingTileUtil { public static int mapSize(int zoomLevel) { return BingTile.DEFAULT_TILE_SIZE << zoomLevel; } private  BingTileUtil(); }
BingTileUtil { public static int mapSize(int zoomLevel) { return BingTile.DEFAULT_TILE_SIZE << zoomLevel; } private  BingTileUtil(); static int[] lonLatToPixelXY(double longitude, double latitude, int zoomLevel); static double[] pixelXYToLonLat(int pixelX, int pixelY, int zoomLevel); static int mapSize(int zoomLevel); static int[] pixelXYToTileXY(int pixelX, int pixelY); static String tileXYToQuadKey(int tileX, int tileY, int zoomLevel); static String lonLatToQuadKey(double lon, double lat, int zoomLevel); static ReferencedEnvelope getTileBoundingBox(double lon, double lat, int zoomLevel); }
BingTileUtil { public static int mapSize(int zoomLevel) { return BingTile.DEFAULT_TILE_SIZE << zoomLevel; } private  BingTileUtil(); static int[] lonLatToPixelXY(double longitude, double latitude, int zoomLevel); static double[] pixelXYToLonLat(int pixelX, int pixelY, int zoomLevel); static int mapSize(int zoomLevel); static int[] pixelXYToTileXY(int pixelX, int pixelY); static String tileXYToQuadKey(int tileX, int tileY, int zoomLevel); static String lonLatToQuadKey(double lon, double lat, int zoomLevel); static ReferencedEnvelope getTileBoundingBox(double lon, double lat, int zoomLevel);  }