open class SourceFactory
A factory class that allows the creation of style sources with default options.
SourceFactory()
A factory class that allows the creation of style sources with default options. |
open static fun createGeoJsonSource(id: String!): GeoJsonSource!
Creates a GeoJSONSource with default GeoJSON options. |
|
open static fun createImageSource(id: String!, coordinates: MutableList<LatLng!>!): ImageSource!
Creates an ImageSource with given corner coordinates and default ImageSource options. |
|
open static fun createSource(sourceJson: String!): Source!
Creates a source based on a provided JSON description. |