<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>just a little(?) question before I start painting myself into a corner... <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I want use OpenLayers to display a pretty huge amount of information (several thousand icons, lines, etc.). As the icons can vary greatly, using Markers seems to be a little bit inefficient, as there would be much to load and it's difficult (impossible?) to combine several icons to form a new one. So I would prefer to use a canvas to implement a Texture Atlas-like system (putting all the different icons in one big image, loading this image once and then only draw parts of that big image for each icon). This doesn't seem possible with standard markers (correct me, if I'm wrong here). So I thought about using an (HTML 5) Canvas. I see two ways here...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>a) Simply add a canvas to the page, position it directly over the OpenLayers map and draw onto it.<o:p></o:p></p><p class=MsoNormal>b) Add a Vector layer to the map, give it a Canvas Renderer, grab that Canvas and draw onto it. This would have the additional advantage of being able to simple switch it of by using a LayerSwitcher and more than one layer could be made that way more easily than with using my own Canvases.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So, the big question is... Does anyone see a problem with that approach? Something I missed? A better way?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Flo<o:p></o:p></p></div></body></html>