LoadOptions

interface LoadOptions(source)

Initialization options for the load method.

See also

Properties

Link copied to clipboard
abstract var 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 var credit: Credit?

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

Link copied to clipboard
abstract var describe: describe?

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

Link copied to clipboard
abstract var fill: Color?

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

Link copied to clipboard
abstract var markerColor: Color?

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

Link copied to clipboard
abstract var markerSize: Double?

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

Link copied to clipboard
abstract var markerSymbol: String?

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

Link copied to clipboard
abstract var sourceUri: String?

Overrides the url to use for resolving relative links.

Link copied to clipboard
abstract var stroke: Color?

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

Link copied to clipboard
abstract var strokeWidth: Double?

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