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

Christopher Schmidt crschmidt at metacarta.com
Sun Jun 17 13:29:42 EDT 2007


On Sun, Jun 17, 2007 at 07:09:44PM +0200, Andreas Hocevar wrote:
> I added a new patch to http://trac.openlayers.org/ticket/736 and made
> some final fixes. The patch is against the trunk.
> 
> It would be great if you decided to add this new feature to the trunk.
> If you think that it is not mature enough yet, please point me to
> things that are missing or you do not like.

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. 

If you need tips on how to write these tests, let me know, and we can
work on it, either via email or on IRC.

The tests can go at the Layer.Vector level, which means a test in 
tests/Layer/test_Vector.html .

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list