setCarparksStyleWithId abstract method

bool setCarparksStyleWithId({
  1. required int id,
  2. required String style,
})

Applies JSON style transformations to the carparks layer. Replaces previous styling with the specified ID (if such exists). Stylings are applied in an ascending order. Set to empty string to clear previous styling with the specified ID. Returns true if the style was successfully parsed; false otherwise. If the return value is false, the current carparks style remains unchanged.

Implementation

core.bool setCarparksStyleWithId({
  required core.int id,
  required core.String style,
});