antiAliasType: AntiAliasType.ADVANCED,
gridFitType: GridFitType.NONE
};
- [Embed(source="fonts/DejaVuSans.ttf", fontFamily="DejaVu", fontWeight="normal", mimeType="application/x-font-truetype")]
- public static var DejaVu:Class;
+// [Embed(source="fonts/DejaVuSans.ttf", fontFamily="DejaVu", fontWeight="normal", mimeType="application/x-font-truetype")]
+// public static var DejaVu:Class;
public var nameformat:TextFormat;
this.way = way;
this.map = map;
init();
+ way.addEventListener(Connection.TAG_CHANGE, wayTagChanged);
}
+ private function wayTagChanged(event:TagEvent):void {
+ redraw();
+ }
+
private function init():void {
recalculate();
redraw();