public interface GoogleMapsRequest
Modifier and Type | Method and Description |
---|---|
void |
downloadTile(Point center,
int zoomlevel,
int pxwidth,
int pxheight,
java.io.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
|
java.awt.image.BufferedImage |
getTile(Envelope box,
int zoomlevel,
int pxwidth,
int pxheight)
Gets a map centered in an envelope
|
java.awt.image.BufferedImage |
getTile(Point center,
int zoomlevel,
int pxwidth,
int pxheight)
asks Google Maps for a image tile
|
java.awt.image.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, java.io.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
- java.awt.image.BufferedImage getTile(Envelope box, int zoomlevel, int pxwidth, int pxheight) throws URLFormatException, DownloadingException
box
- zoomlevel
- pxwidth
- pxheight
- DownloadingException
URLFormatException