Hi,

On 6/5/07, Andreas Hocevar <[EMAIL PROTECTED]> wrote:
> The problem is with VML. The v:image element stretches the image to
> the specified width and height. It should be possible to use image
> fills on a rect element, specifying an "aspect" attribute. But this
> did not work for me. If anyone knows how to do this, please speak up!

Ok, the <v:rect><v:fill aspect="atmost" src="..."</v:rect> trick is working!

I now committed a version to the sandbox without graphicWidth and
graphicSize, which takes the height from the pointRadius attribute and
keeps the aspect ratio of the image!

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

Reply via email to