public interface GoogleMapsRequest
Modifier and Type | Method and Description |
---|---|
void |
downloadTile(Point center,
int zoomlevel,
int pxwidth,
int pxheight,
File file,
ICancellable cancel)
asks Google Maps for a image tile in a file
|
void |
downloadTile(Point center,
int zoomlevel,
int pxwidth,
int pxheight,
GoogleMapsRequestListener listener)
asks Google Maps for a image tile asynchronously
|
BufferedImage |
getTile(Envelope box,
int zoomlevel,
int pxwidth,
int pxheight)
Gets a map centered in an envelope
|
BufferedImage |
getTile(Point center,
int zoomlevel,
int pxwidth,
int pxheight)
asks Google Maps for a image tile
|
BufferedImage getTile(Point center, int zoomlevel, int pxwidth, int pxheight) throws URLFormatException, DownloadingException
center
- zoomlevel
- pxwidth
- pxheight
- URLFormatException
DownloadingException
void downloadTile(Point center, int zoomlevel, int pxwidth, int pxheight, File file, ICancellable cancel) throws URLFormatException, DownloadingException
center
- zoomlevel
- pxwidth
- pxheight
- file
- cancel
- URLFormatException
DownloadingException
void downloadTile(Point center, int zoomlevel, int pxwidth, int pxheight, GoogleMapsRequestListener listener)
center
- zoomlevel
- pxwidth
- pxheight
- listener
- BufferedImage getTile(Envelope box, int zoomlevel, int pxwidth, int pxheight) throws URLFormatException, DownloadingException
box
- zoomlevel
- pxwidth
- pxheight
- DownloadingException
URLFormatException