Hey-

This sounds cool.  If you're doing what I think you're doing, perhaps 
this could be moved to the OpenLayers.String namespace.

The function could have a signature like:

/*{String}*/ OpenLayers.String.format(/*{String}*/ template, 
/*{Object}*/ context);

If that sounds right, see if http://trac.openlayers.org/ticket/1133 does 
what you want it to.

Tim

Andreas Hocevar wrote:
> Hi,
> 
> I added a new method to [1]. It is faster than andreas' method 2, and
> has the same scaling characteristics. I also changed
> OpenLayers.Style.createLiteral to use this new method.
> 
> Regards,
> Andreas.
> 
> [1] 
> http://dev.openlayers.org/sandbox/ahocevar/sldRenderer/examples/profilingAttributeName.html
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
> 
> !DSPAM:4033,4732069d6402458217002!
> 

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to