setPriority abstract method
- MapLayerPriority priority
Sets the render priority for the layer group which replaces any previously defined priority.
priorityThe priority to position the group. The MapLayerPriority must contain only one priority and this priority must have no category and no group, i.e. MapLayerPriorityBuilder.inGroup and MapLayerPriorityBuilder.withCategory should not be used when building the MapLayerPriority. Example:
new MapLayerPriorityBuilder().renderedAfterLayer("water").build()
MapLayerPriorityBuilder().renderedAfterLayer("water").build()
Implementation
void setPriority(MapLayerPriority priority);