Package mapproxy :: Package wms :: Module layer :: Class AttributionLayer
[hide private]
[frames] | no frames]

Class AttributionLayer

source code

      object --+        
               |        
core.layer.Layer --+    
                   |    
            WMSLayer --+
                       |
                      AttributionLayer

A layer with an attribution line (e.g. copyright, etc).
Instance Methods [hide private]
 
__init__(self, attribution, inverse=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
info(self, request) source code
 
render(self, request)
Render the response for the given request.
source code

Inherited from WMSLayer: caches, has_info

Inherited from core.layer.Layer: bbox, llbbox, srs

Inherited from core.layer.Layer (private): _bbox, _srs

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, attribution, inverse=False)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • attribution - the attribution message to add to the rendered output
Overrides: object.__init__

info(self, request)

source code 
Overrides: WMSLayer.info

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
Overrides: core.layer.Layer.render
(inherited documentation)