# -*- coding: utf-8 -*-
[docs]
class MapLayeringRecord(object):
"""
Represents a map layering entry with the view service, layer index and layer opacity.
Attributes:
view_service (dict): View service.
layer_index (int): Index for sorting the layering of the view services within a theme.
layer_opacity (float): Opacity of a view service.
"""
[docs]
def __init__(self, view_service, layer_index, layer_opacity):
"""
Args:
view_service (dict): View service.
layer_index (int): Index for sorting the layering of the view services within a theme.
layer_opacity (float): Opacity of a view service.
"""
self.view_service = view_service
self.layer_index = layer_index
self.layer_opacity = layer_opacity