GeoJsonSource constructor
GeoJsonSource({
- required FeatureCollection data,
- String? promoteId,
Implementation
factory GeoJsonSource({
required FeatureCollection data,
String? promoteId,
}) =>
GeoJsonSource.fromJsObject(GeoJsonSourceJsImpl(
type: 'geojson',
promoteId: promoteId,
data: data.jsObject,
));