Vector Source
Create a vector 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 TileJSON resource uri
Create a vector 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 uri
Create a vector source from a tileset
Parameters
the source id
the tileset
Deprecated
use {@link #VectorSource(String, Uri)} instead
Create a vector source from a remote url pointing to a TileJSON resource
Parameters
the source id
the TileJSON resource url