I have a symbol with nested symbol.
The nested symbol moves - and I can get its position like this:
var mysym = sym.getSymbol("SymbolA").getSymbol("NestedSymbol");
var thetop = Math.round(mysym.getSymbolElement().position().top);
I also have an image inside a symbol that moves. The above doesn't work (I guess getSymbol wouldn't work for an image).
How can I get the position of a moving image inside a symbol - in a way similar to the above.
Image will be either set as a background of a div or as a image element
Now to read its position use
var thetop = Math.round(mysym.$('<Your image element name>').position().top);