OpenLayers OpenLayers

Changeset 6541

Show
Ignore:
Timestamp:
03/17/08 12:01:02 (10 months ago)
Author:
tschaub
Message:

leave as strings to allow templates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/topp/geoext/lib/OpenLayers/Format/SLD/v1.js

    r6539 r6541  
    167167            }, 
    168168            "MinScaleDenominator": function(node, rule) { 
    169                 rule.minScaleDenominator = parseFloat(this.getChildValue(node)); 
     169                rule.minScaleDenominator = this.getChildValue(node); 
    170170            }, 
    171171            "MaxScaleDenominator": function(node, rule) { 
    172                 rule.maxScaleDenominator = parseFloat(this.getChildValue(node)); 
     172                rule.maxScaleDenominator = this.getChildValue(node); 
    173173            }, 
    174174            "LineSymbolizer": function(node, rule) { 
     
    254254                // always string, could be empty string 
    255255                if(opacity) { 
    256                     obj.opacity = parseFloat(opacity)
     256                    obj.opacity = opacity
    257257                } 
    258258            }, 
     
    262262                // always string, could be empty string 
    263263                if(size) { 
    264                     obj.size = parseFloat(size)
     264                    obj.size = size
    265265                } 
    266266            }, 
     
    270270                // always string, could be empty string 
    271271                if(rotation) { 
    272                     obj.rotation = parseFloat(rotation)
     272                    obj.rotation = rotation
    273273                } 
    274274            },