[OpenLayers-Dev] #736 (external graphic as style for vector
points)
Andreas Hocevar
andreas.hocevar at gmail.com
Tue Jun 5 05:26:24 EDT 2007
Hi,
On 6/5/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> > As in the SLD specification, only a size for the bitmap can be
> > specified. So external graphics will always be rendered with same
> > width and height. For width and height, the existing pointRadius
> > property is used.
> Instead of using pointRadius, I recommend we use two additional propeties:
> graphicWidth/graphicHeight. For SLD parsing, these can be set to the
> same thing (in the same way that the pointRadius is currently set), and
> for other formats that might have support for differently dimensioned
> images, we can support those. I assume this is possible in SVG/VML: if
> it is, I'd like to see it happen before we put this in.
Yes, I agree with you. I will change it later today. To make SLD
parsing easier, I think it would be good to use pointRadius for width
and height as fallback if no graphicWidth and graphicHeight are
specified.
Regards,
Andreas.
More information about the Dev
mailing list