Select to view content in your preferred language

How to add shadow to Symbol?

1566
2
04-28-2011 09:57 AM
SabinaBeraha
New Contributor
I would like my point symbols to have a shadow effect. I am using esri.symbol.PictureMarkerSymbol to display an png image.

In Flex, I was able to create a shadow effect using com.esri.graphics.Graphic.filters and flash.filters.DropShadowFilter.

Can something similar be done in Javascript?
0 Kudos
2 Replies
HemingZhu
Frequent Contributor
I would like my point symbols to have a shadow effect. I am using esri.symbol.PictureMarkerSymbol to display an png image.

In Flex, I was able to create a shadow effect using com.esri.graphics.Graphic.filters and flash.filters.DropShadowFilter.

Can something similar be done in Javascript?


I have tried that on JS API. As far as i know there is no property or method to do that. I ended it up adding a shadow on my image itself.
0 Kudos
SabinaBeraha
New Contributor
Thank you.
0 Kudos