LoadOptions

interface LoadOptions(source)

Initialization options for the load method.

See also

Properties

Link copied to clipboard
abstract val clampToGround: Boolean?

true if we want the geometry features (polygons or linestrings) clamped to the ground. Default value - GeoJsonDataSource.clampToGround

Link copied to clipboard
abstract val credit: Credit?

A credit for the data source, which is displayed on the canvas.

Link copied to clipboard
abstract val describe: describe?

A function which returns a Property object (or just a string). Default value - GeoJsonDataSource.defaultDescribeProperty

Link copied to clipboard
abstract val fill: Color?

The default color for polygon interiors. Default value - GeoJsonDataSource.fill

Link copied to clipboard
abstract val markerColor: Color?

The default color of the map pin created for each point. Default value - GeoJsonDataSource.markerColor

Link copied to clipboard
abstract val markerSize: Double?

The default size of the map pin created for each point, in pixels. Default value - GeoJsonDataSource.markerSize

Link copied to clipboard
abstract val markerSymbol: String?

The default symbol of the map pin created for each point. Default value - GeoJsonDataSource.markerSymbol

Link copied to clipboard
abstract val sourceUri: String?

Overrides the url to use for resolving relative links.

Link copied to clipboard
abstract val stroke: Color?

The default color of polylines and polygon outlines. Default value - GeoJsonDataSource.stroke

Link copied to clipboard
abstract val strokeWidth: Double?

The default width of polylines and polygon outlines. Default value - GeoJsonDataSource.strokeWidth