AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.gis.TileImageProvider
All Implemented Interfaces:
java.io.Serializable

@AnyLogicInternalAPI
public class TileImageProvider
extends java.lang.Object
See Also:
Serialized Form

Constructor Summary

Constructors 
TileImageProvider​(com.anylogic.engine.gis.ITileImageProvider imageProvider)  
TileImageProvider​(ITileURLProvider tileURLProvider)  
Constructor Description

Method Summary

All Methods Static Methods Instance Methods Concrete Methods 
void addImageLoadedListener​(IImageLoadedListener listener)  
void cancelLoading()  
void destroy()  
byte[] getFromCache​(int x, int y, int z)  
java.awt.image.BufferedImage getImage​(int x, int y, int z)  
ITileURLProvider getTileURLProvider()  
byte[] internalGetFromCache​(int x, int y, int z)  
boolean isLoading()  
byte[] loadImage​(int x, int y, int z)  
static byte[] loadImage​(java.lang.String urlS, int connectTimeout, int readTimeout)  
void removeImageLoadedListener​(IImageLoadedListener listener)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TileImageProvider

public TileImageProvider​(com.anylogic.engine.gis.ITileImageProvider imageProvider)

TileImageProvider

public TileImageProvider​(ITileURLProvider tileURLProvider)

Method Detail

cancelLoading

public void cancelLoading()

internalGetFromCache

public byte[] internalGetFromCache​(int x,
                                   int y,
                                   int z)

getImage

public java.awt.image.BufferedImage getImage​(int x,
                                             int y,
                                             int z)

isLoading

@AnyLogicInternalAPI
public boolean isLoading()

loadImage

@AnyLogicInternalAPI
public byte[] loadImage​(int x,
                        int y,
                        int z)

loadImage

public static byte[] loadImage​(java.lang.String urlS,
                               int connectTimeout,
                               int readTimeout)

addImageLoadedListener

public void addImageLoadedListener​(IImageLoadedListener listener)

removeImageLoadedListener

public void removeImageLoadedListener​(IImageLoadedListener listener)

destroy

@AnyLogicInternalAPI
public void destroy()

getTileURLProvider

public final ITileURLProvider getTileURLProvider()

getFromCache

public byte[] getFromCache​(int x,
                           int y,
                           int z)
How can we improve this article?