OpenLayers OpenLayers

Changeset 5315

Show
Ignore:
Timestamp:
12/01/07 06:20:23 (1 year ago)
Author:
ahocevar
Message:

added comment pointing to the dependency on #1133

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/ahocevar/styles/lib/OpenLayers/Style.js

    r5309 r5315  
    257257    if (typeof value == "string" && value.indexOf("${") != -1) { 
    258258        var attributes = feature.attributes || feature.data; 
     259        // the following line depends on #1133 
    259260        value = OpenLayers.String.format(value, attributes) 
    260261        value = isNaN(value) ? value : parseFloat(value);