SourceDataLoadedEventData class

The class for source-data-loaded event in Observer

Constructors

SourceDataLoadedEventData.fromJson(Map<String, dynamic> json)

Properties

dataId String?
When the type of an event is SourceDataLoadedType.Metadata and the data identifier was provided to the setStyleGeoJSONSourceData method, this property can be used to determine what data was loaded by the GeoJSON source.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The 'id' property defines the source id.
final
loaded bool?
The 'loaded' property will be set to 'true' if all source's required for Map's visible viewport; are loaded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileID TileID?
The 'tile-id' property defines the tile id if the 'type' field equals 'tile'.
final
timeInterval EventTimeInterval
The timeInterval.begin is when source data begins loading, and the timeInterval.end is when source data is loaded.
final
type SourceDataType
The 'type' property defines if source's meta{e.g.; TileJSON} or tile has been loaded.
final

Methods

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

Operators

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