withCategory abstract method

MapLayerPriorityBuilder withCategory(
  1. String category
)

Sets the layer category for which a priority could be defined with the next call to the functions renderedFirst|Last|BeforeLayer|AfterLayer.

After a priority is defined by calling one of the aforementioned functions, the current category is cleared and the builder refers again to the layer itself.

  • category The name of the layer category.

Returns MapLayerPriorityBuilder. This class instance.

Implementation

MapLayerPriorityBuilder withCategory(String category);