data
Inline GeoJSON features supplied up front, applied to com.xweather.mapsgl.sources.GeoJSONSource.data when com.xweather.mapsgl.map.MapController.addSource creates the source. Use this when the features are already in hand:
val source = GeoJSONSourceDescriptor(id = "country-region")
source.data = FeatureCollection.fromJson(geoJsonString)
controller.addSource(source)Takes precedence over bundledAssetPath when both are set. Leave null to drive the source from url, from bundledAssetPath, or by assigning com.xweather.mapsgl.sources.GeoJSONSource.data after the source is added.
Declared in the class body rather than the primary constructor so that adding it did not change the generated constructor, copy, componentN, or equals/hashCode signatures — apps compiled against an earlier AAR keep working without recompiling. As a body property it is excluded from data-class equality: two descriptors differing only in data compare equal.