StyleSourceInfo class final

A source in the map's style.

See mln_style_source_info in the C API reference.

Constructors

StyleSourceInfo({String id = '', StyleSourceType type = const StyleSourceType.fromRawValue(0), bool isVolatile = false, String attribution = '', String url = '', StyleSourceTileInfo? tileJson, LatLngBounds? bounds, int? tileSize, StyleVectorTileEncoding? vectorEncoding, StyleRasterDemEncoding? rasterEncoding, GeoJsonSourceOptions? geoJson})
const

Properties

attribution → String
final
bounds → LatLngBounds?
final
geoJson → GeoJsonSourceOptions?
A GeoJSON source's options, with every field set.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isVolatile → bool
final
rasterEncoding → StyleRasterDemEncoding?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileJson → StyleSourceTileInfo?
The tiles that the style lists in the source itself, instead of at a URL.
final
tileSize → int?
final
type → StyleSourceType
final
url → String
final
vectorEncoding → StyleVectorTileEncoding?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited