/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms/layer.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Extensions/wms/layer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2179 by joey, Thu Apr 15 16:06:24 2004 UTC revision 2438 by joey, Thu Dec 9 10:34:03 2004 UTC
# Line 229  class WMSLayer(BaseLayer): Line 229  class WMSLayer(BaseLayer):
229          image/wbmp or WBMP which refers to WAP bitmap format and is          image/wbmp or WBMP which refers to WAP bitmap format and is
230          not supported by the included render engine.          not supported by the included render engine.
231          """          """
232          prio = ['jpeg', 'bmp']          prio = ['png', 'gif', 'jpeg', 'bmp']
233          for p in prio:          for p in prio:
234              for f in formats:              for f in formats:
235                  if f.lower().find(p) > -1:                  if f.lower().find(p) > -1:
# Line 292  class WMSLayer(BaseLayer): Line 292  class WMSLayer(BaseLayer):
292          format -- format, one of getFormats()          format -- format, one of getFormats()
293          """          """
294          self.wmsformat = format          self.wmsformat = format
295            self.format = self.getFormat(format)
296    
297    
298      def getVisibleLayers(self):      def getVisibleLayers(self):

Legend:
Removed from v.2179  
changed lines
  Added in v.2438

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26