OpenLayers OpenLayers

Changeset 6174

Show
Ignore:
Timestamp:
02/09/08 14:18:02 (1 year ago)
Author:
crschmidt
Message:

Pass WMC options through to versioned methods.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Format/WMC.js

    r6131 r6174  
    8686            this.parser = new format(this.options); 
    8787        } 
    88         var context = this.parser.read(data); 
     88        var context = this.parser.read(data, options); 
    8989        var map; 
    9090        if(options.map instanceof OpenLayers.Map) { 
     
    164164            this.parser = new format(this.options); 
    165165        } 
    166         var wmc = this.parser.write(obj); 
     166        var wmc = this.parser.write(obj, options); 
    167167        return wmc; 
    168168    },