Package mapproxy :: Package core :: Module layer :: Class Layer
[hide private]
[frames] | no frames]

Class Layer

source code

object --+
         |
        Layer
Known Subclasses:

Base class for all renderable layers.
Instance Methods [hide private]
 
__init__(self, transparent=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
render(self, request)
Render the response for the given request.
source code
 
bbox(self) source code
 
llbbox(self)
The LatLonBoundingBox in EPSG:4326
source code
 
_bbox(self) source code
 
srs(self) source code
 
_srs(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, transparent=True)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

render(self, request)

source code 
Render the response for the given request. :param request: the map request :return: one or more ImageSource with the rendered result :rtype: ImageSource or iterable with multiple ImageSource

bbox(self)

source code 
Decorators:
  • @cached_property

llbbox(self)

source code 
The LatLonBoundingBox in EPSG:4326
Decorators:
  • @cached_property

srs(self)

source code 
Decorators:
  • @cached_property