[OpenLayers-Users] shadow, or offset, a vector layer

David Doyle David.Doyle at riverbed.com
Tue Apr 1 15:17:49 PDT 2014


For visual interest, I'd like to add a shadow under some vector data that I have in OpenLayers.  I can't find any information on adding a drop shadow to a vector layer.  Is there a way to do this?

Barring that, I can add the same data again, but give it a different style to make it appear to be a shadow.  However, to make this look good, I need to offset the data slightly.  Is there some way to translate the vector data so that it is shifted a pixel down and to the right?

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140401/36c68655/attachment.html>


More information about the Users mailing list