[OpenLayers-Trac] Re: [OpenLayers] #3506: The attribute size:"${...}" is not resolved by the sld reader and returns null for the pointRadius.

OpenLayers trac-20090302 at openlayers.org
Fri Sep 16 14:41:39 EDT 2011


#3506: The attribute size:"${...}" is not resolved by the sld reader and returns
null for the pointRadius.
------------------------------+---------------------------------------------
 Reporter:  andyjc            |       Owner:  tschaub     
     Type:  bug               |      Status:  new         
 Priority:  minor             |   Milestone:  2.12 Release
Component:  Symbolizer.Point  |     Version:  2.11 RC1    
 Keywords:                    |       State:              
------------------------------+---------------------------------------------

Comment(by ahocevar):

 The above patch fixes the issue, but has no tests yet. Note that the size
 becomes NaN, not null, and it is because the parsed value is divided by 2,
 and this only works for numbers, not for something like ${foo}.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3506#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list