public class CylindricalProjectionTileFactory extends DefaultTileFactory
| 构造器 | 说明 |
|---|---|
CylindricalProjectionTileFactory() |
|
CylindricalProjectionTileFactory(SLMapServerInfo info) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Point2D |
geoToPixel(GeoPosition c,
int zoom) |
Convert a GeoPosition to a pixel position in the world bitmap
a the specified zoom level.
|
Dimension |
getMapSize(int zoom) |
Returns a Dimension containing the width and height of the map,
in tiles at the
current zoom level.
|
GeoPosition |
pixelToGeo(Point2D pix,
int zoom) |
Convert a pixel in the world bitmap at the specified
zoom level into a GeoPosition
|
createTileRunner, getService, getTile, getTileCache, getURI, load, promote, setThreadPoolSize, setTileCache, startLoadingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInfo, getTileSizepublic CylindricalProjectionTileFactory()
public CylindricalProjectionTileFactory(SLMapServerInfo info)
public Dimension getMapSize(int zoom)
TileFactorygetMapSize 在类中 TileFactoryzoom - the current zoom levelpublic Point2D geoToPixel(GeoPosition c, int zoom)
TileFactorygeoToPixel 在类中 TileFactoryc - a GeoPositionzoom - the zoom level to extract the pixel coordinate forpublic GeoPosition pixelToGeo(Point2D pix, int zoom)
TileFactorypixelToGeo 在类中 TileFactorypix - a Point2D representing a pixel in the world bitmapzoom - the zoom level of the world bitmapCopyright © 2019. All rights reserved.