[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #736: external graphic as style for vector points

Andreas Hocevar andreas.hocevar at gmail.com
Mon Jun 18 17:41:56 EDT 2007


Hi,

On 6/17/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> Tests. Doesn't have to be terribly complete, but something which looks
> at the element, and given the pointRadius, graphicWidth, graphicHeight,
> and makes sure that the output height/width on the element is correct
> (via elem.style.width/height in VML, and elem.getAttributeNS() in SVG)
> would be good.

I added a test to Layer/test_Vector.html. A runnable version is in the
sandbox (http://dev.openlayers.org/sandbox/camptocamp/externalGraphics/tests/run-tests.html).
I also updated #736 and uploaded a new patch containing the test.

Is this test sufficient?

Regards,
Andreas.



More information about the Dev mailing list