removeLayer method

Future<void> removeLayer(
  1. String name
)

Removes layer by name

Implementation

Future<void> removeLayer(String name) {
  return MapboxGlPlatform.getInstance(_id)!.removeLayer(name);
}