mapx1.Layers.Item['China Highways'].Editable:=true;
if mapx1.Layers.Item['China Highways'].Selection.Count>0 then
begin
t:=mapx1.Layers.Item['China Highways'].Selection.Item[1];
t.Style.LineColor:=micolorblack;
t.update(emptyparam,emptyparam);
mapx1.Refresh;
showmessage('1');
end;