... I want the TextSymbol to display custom text for each map point...
public function myTextFunction(point:MapPoint, attributes:Object):String { var label:String = StringUtil.substitute("X: {0}, Y:{1}", point.x, point.y); return label; } ... <esri:TextSymbol background="true" backgroundColor="0xFFFFFF" border="true" ... textFunction="myTextFunction"> <flash:TextFormat bold="true" size="16"/> </esri:TextSymbol>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.