Changeset 5315
- Timestamp:
- 12/01/07 06:20:23 (1 year ago)
- Files:
-
- sandbox/ahocevar/styles/lib/OpenLayers/Style.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/ahocevar/styles/lib/OpenLayers/Style.js
r5309 r5315 257 257 if (typeof value == "string" && value.indexOf("${") != -1) { 258 258 var attributes = feature.attributes || feature.data; 259 // the following line depends on #1133 259 260 value = OpenLayers.String.format(value, attributes) 260 261 value = isNaN(value) ? value : parseFloat(value);
