Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insert image as clock face pointers

Hey,

 

I´m trying to use an image to show the pointers in the clock face.

 

Inside the g element of svg isn´t working, and make it directly in the image, the group.rotate in the app/index.js gives error.

 

Any tip?

 

Best Answer
0 Votes
3 REPLIES 3

We'll need to see the code and the error. Are you following this? https://dev.fitbit.com/build/guides/clockfaces/#analog-clock

Best Answer
0 Votes

The problem is to use an image inside the <g> element to do the translation and to have pointer events.

 

Any idea?

Best Answer
0 Votes

Pointer events should work. https://dev.fitbit.com/build/guides/user-interface/javascript/#events

If it's not, can you provide sample svg and js code?

Best Answer
0 Votes