setUri

fun setUri(uri: URI)
fun setUri(uri: String?)

Updates the URI of the source.

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

uri

the GeoJSON FeatureCollection uri