== Rendering (Halcyon) ==
** Infinite z-indexes
-* Point labels are now centred wrongly!
* { interactive: no; } - stop items being clicked on (and their maxwidth being taken into account)
* Shields
* More line decoration (cliffs etc.), and implied values for 'dashes' if not supplied
}
// name sprite
- var a:String, t:TextStyle;
+ var a:String='', t:TextStyle;
if (sl.textStyles[sublayer]) {
t=sl.textStyles[sublayer];
a=tags[t.text];
if (a) {
var name:Sprite=new Sprite();
addToLayer(name,NAMESPRITE);
- t.writeNameLabel(name,a,paint.map.lon2coord(node.lon),paint.map.latp2coord(node.latp));
+ t.writeNameLabel(name,a,0,0);
}
}
return r;
tf.height = tf.textHeight+4;
}
if (text_halo_radius>0) { tf.filters=getHaloFilter(); }
- d.x=x; tf.x=-tf.width/2;
- d.y=y; tf.y=(text_offset ? text_offset : 0)-tf.height/2;
+ d.x=x-tf.width/2;
+ d.y=y-tf.height/2; tf.y=text_offset ? text_offset : 0;
d.addChild(tf);
return tf;