Raster Source
Create the raster source from an URI.
An URI is a combination of a protocol and a resource path. The following URI protocol schemes are supported:
http://
load resources using HyperText Transfer Protocol
file://
load resources from the Android file system
asset://
load resources from the binary packaged assets folder
Parameters
the source id
the source uri
Create the raster source from an URI with a specific tile size.
An URI is a combination of a protocol and a resource path. The following URI protocol schemes are supported:
http://
load resources using HyperText Transfer Protocol
file://
load resources from the Android file system
asset://
load resources from the binary packaged assets folder
Parameters
the source id
the source uri
the tile size
Create the raster source from a TileSet
Parameters
the source id
the TileSet
Create the raster source from a TileSet with a specific tile size
Parameters
Deprecated
use {@link #RasterSource(String, URI)} instead
Create the raster source from an URL
Parameters
the source id
the source url