addStyleSource method

Future<void> addStyleSource(
  1. String sourceId,
  2. String properties
)

Adds a new style source from a JSON properties string. Prefer the typed addSource helper when constructing sources from facade classes; this raw-JSON form is for callers driving sources from style spec strings.

Implementation

Future<void> addStyleSource(String sourceId, String properties) =>
    _impl.addStyleSource(sourceId, properties);