Hi, On 6/5/07, Charlie Savage <[EMAIL PROTECTED]> wrote:
> Okay, so you went with <externalGraphic> borrowing from SLD I assume. > In that case, why not just use <img> from XTHML or <image> from SVG > (probably SVG is a better choice being a vector drawing language)? Thanks for the hint, Charlie. I already use <svg:image> for SVG. On IE I now use <v:rect><v:fill src="..."/></v:rect>, which also gives me aspect-ratio aware rendering in VML. Previously, I used <v:image>, which does not respect the aspect-ratio of the image. I now committed a version into the sandbox which works as it should for SVG and VML - the height is the size and the width is adjusted according to the aspect ratio of the image. This is as the SLD specification wants it, and there is no need for graphicWidth and graphicHeidht any more. Regards, Andreas. _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
