equal
deleted
inserted
replaced
24 { |
24 { |
25 int edgeid = (int)(*mapstorage->edgemap_storage["label"])[e]; |
25 int edgeid = (int)(*mapstorage->edgemap_storage["label"])[e]; |
26 mapstorage->arrow_pos.set(e, m[edgeid]); |
26 mapstorage->arrow_pos.set(e, m[edgeid]); |
27 } |
27 } |
28 mapstorage->ArrowPosReadOK(); |
28 mapstorage->ArrowPosReadOK(); |
|
29 |
|
30 std::map<int, std::string> nm; |
|
31 x("active_nodemaps", nm); |
|
32 |
|
33 for(int i=0;i<NODE_PROPERTY_NUM;i++) |
|
34 { |
|
35 mapstorage->changeActiveMap(false, i, nm[i]); |
|
36 } |
|
37 |
|
38 std::map<int, std::string> em; |
|
39 x("active_edgemaps", em); |
|
40 for(int i=0;i<EDGE_PROPERTY_NUM;i++) |
|
41 { |
|
42 mapstorage->changeActiveMap(true, i, em[i]); |
|
43 } |
29 } |
44 } |
30 |
45 |
31 GuiReader::GuiReader(LemonReader& reader, MapStorage* ms) : Parent(reader), mapstorage(ms) |
46 GuiReader::GuiReader(LemonReader& reader, MapStorage* ms) : Parent(reader), mapstorage(ms) |
32 { |
47 { |
33 } |
48 } |