public static TileGrid getTileGrid ( Point point , int zoom , Projection projection ) { ProjectionTransform toWebMercator = projection . getTransformation ( ProjectionConstants . EPSG_WEB_MERCATOR ) ; Point webMercatorPoint = toWebMercator . transform ( point ) ; BoundingBox boundingBox = new BoundingBox ( webMercatorPoint . getX ( ) , webMercatorPoint . getY ( ) , webMercatorPoint . getX ( ) , webMercatorPoint . getY ( ) ) ; return getTileGrid ( boundingBox , zoom ) ; }
Get the tile grid for the location specified as the projection