public class CustomRectangularMapGrid extends AbstractRectangularMapGrid
| Constructor and Description |
|---|
CustomRectangularMapGrid() |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
getBoundingBox(String name) |
CoordinateSystem |
getCoordinateSystem() |
String |
getFormattedMapTileName(String name) |
GeometryFactory |
getGeometryFactory() |
double |
getGridValue(double origin,
double gridSize,
double value) |
String |
getMapTileName(double x,
double y) |
String |
getMapTileName(Point coordinates) |
double |
getOriginX() |
double |
getOriginY() |
RectangularMapTile |
getTileByLocation(double x,
double y) |
RectangularMapTile |
getTileByName(String name) |
double |
getTileHeight() |
List<RectangularMapTile> |
getTiles(BoundingBox boundingBox) |
double |
getTileWidth() |
void |
setGeometryFactory(GeometryFactory geometryFactory) |
void |
setOriginX(double originX) |
void |
setOriginY(double originY) |
void |
setTileHeight(double tileHeight) |
void |
setTileWidth(double tileWidth) |
getBoundingBox, getMapTileName, getName, getPolygon, getPolygon, getPolygon, setNamepublic BoundingBox getBoundingBox(String name)
public CoordinateSystem getCoordinateSystem()
public GeometryFactory getGeometryFactory()
public double getGridValue(double origin,
double gridSize,
double value)
public String getMapTileName(double x, double y)
public double getOriginX()
public double getOriginY()
public RectangularMapTile getTileByLocation(double x, double y)
public RectangularMapTile getTileByName(String name)
public double getTileHeight()
public List<RectangularMapTile> getTiles(BoundingBox boundingBox)
public double getTileWidth()
public void setGeometryFactory(GeometryFactory geometryFactory)
public void setOriginX(double originX)
public void setOriginY(double originY)
public void setTileHeight(double tileHeight)
public void setTileWidth(double tileWidth)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.