AnsweredAssumed Answered

How to apply CSS effects to custom graphics layer?

Question asked by rmartin4 on Aug 26, 2013
Latest reply on Aug 28, 2013 by DSwingley-esristaff
I noticed that the Mobile tutorial uses CSS to make the GPS indicator (a blue dot) pulse when shown. This is the selector:

#map_graphics_layer {  -webkit-animation-duration:3s;  -webkit-animation-iteration-count:infinite;  -webkit-animation-name:pulse;  -webkit-animation-timing-function:ease-in-out; }

Unfortunately I can't do this because I use the layer for other things that shouldn't pulse. Instead I made a custom graphics layer for the GPS point and gave it its own ID, like "gps-graphics-layer". I tried using the same CSS on #gps-graphics-layer but that didn't work. Does anyone know how to do this?