[OpenLayers-Users] Canvas renderer causing fill in style, map, to be ignored
Robert Hicks
robhyx at gmail.com
Tue Jul 31 14:40:16 PDT 2012
Thanks Mike,
So, I tried adding multiple renderers ['SVG,'VML,'Canvas'] but it fails just the same.
Is there another renderer I should try?
How do you specify the renderer when the vectors are being drawn? Maybe it's defaulting to Canvas for some reason even though it's last in the list.
On Jul 31, 2012, at 4:33 PM, Mike Ryan wrote:
> I had to alter Canvas.js to fill my layer features with an image (aka "hatching"), which is not yet supported. Hatching in general is not supported.
>
> The fillColor worked for me in a Canvas renderer without hacking anything.
>
> I just pointed out that function to you, because it might help you track down the problem. Maybe there's a problem with the Style object you created?
>
> If you're only having the fillColor problem with the features, just don't use the Canvas renderer with them. You don't have to use the same renderer for everything.
> -m
>
> So, is there a bug in OpenLayers that you had to hack in a fix for, or is this something that just wasn't supported yet? I need the canvas renderer to 'draw' the map tiles to a canvas, but I don't need it for rendering the features on the map.
HYX
http://hyxspace.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120731/1ebdd479/attachment.html>
More information about the Users
mailing list