Marc Jansen wrote: > Hi all, > > can anyone point me towards the documentation for the rotation of a > vector feature? >
Just added: http://trac.openlayers.org/changeset/9932 http://trac.openlayers.org/changeset/9933 Thanks for pointing out the missing docs. Tim > It works fine if I have a vectorlayer with points and a stylemap like > > var directionsStyleMap = new OpenLayers.StyleMap( > { > "default": new OpenLayers.Style( > OpenLayers.Util.applyDefaults( > { > externalGraphic: "./img/icon.png", > graphicWidth: 20, > graphicHeight: 20, > graphicOpacity: 1, > rotation: 45 > }, > OpenLayers.Feature.Vector.style["default"] > ) > ) > } > ); > > but I couldn't locate a documentation for the attribute "rotation" of a > vector feature / its style. At least it is missing here: > > http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Feature/Vector-js.html#OpenLayers.Feature.Vector.OpenLayers.Feature.Vector.style > > Is it missing there intentionally or is this a non-documented / non-API > feature of the symbolizers? Or even a bug in the docs? > > Regards, > Marc > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Tim Schaub OpenGeo - http://opengeo.org Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
