Select to view content in your preferred language

Custom com.esri.ags.symbols.Symbol

3167
10
03-16-2011 09:26 AM
Ganael_Jatteau
Emerging Contributor
Hello!

I'm trying to write a custom symbol that extends com.esri.ags.symbols.Symbol to display my own UIComponent on the map.

I did some tests by overriding the method createSwatch but it doesn't get called...

Anyone has managed to do that ? Is there any example somewhere ?

Thanks a lot in advance
Tags (2)
0 Kudos
10 Replies
SarahBurgin
Emerging Contributor
I now have a solution to the centre location and rotation problem above - it was posted by tonypa here:
http://board.flashkit.com/board/showthread.php?t=736502

Simply omit 'm.tx += point.x; m.ty += point.y;' after the object has been rotated to ensure it's correctly located on the map!
0 Kudos