Trying and debugging rulebased stylemaps like
http://openlayers.org/dev/examples/stylemap.html

with a vector layer build from a KML I encounter the problem that the
attribute values(!) of the vector layer are not literals/numbers, but
objects with two members: 'value' and 'displayName'

it looks like the OpenLayers.Style.createLiteral (in
OpenLayers.Style.js) is not working with that.

1) what is a normal value for attributes: always literals, or is it
supposed to be either a literal or an object (I mean is it a quirck of
the KML format parser or is that a normal convention)

2) should the createLiteral handle object values for attributes?

Regards,

Richard


_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to