equal
deleted
inserted
replaced
17 { |
17 { |
18 int edgeid = (int)(*(mapstorage->edgemap_storage["label"]))[e]; |
18 int edgeid = (int)(*(mapstorage->edgemap_storage["label"]))[e]; |
19 m[edgeid] = mapstorage->arrow_pos[e]; |
19 m[edgeid] = mapstorage->arrow_pos[e]; |
20 } |
20 } |
21 x("arrow_pos", m); |
21 x("arrow_pos", m); |
|
22 |
|
23 std::map<int, std::string> nm; |
|
24 for(int i=0;i<NODE_PROPERTY_NUM;i++) |
|
25 { |
|
26 nm[i]=mapstorage->active_nodemaps[i]; |
|
27 } |
|
28 x("active_nodemaps", nm); |
|
29 |
|
30 std::map<int, std::string> em; |
|
31 for(int i=0;i<EDGE_PROPERTY_NUM;i++) |
|
32 { |
|
33 em[i]=mapstorage->active_edgemaps[i]; |
|
34 } |
|
35 x("active_edgemaps", em); |
22 } |
36 } |
23 |
37 |
24 GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms) |
38 GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms) |
25 { |
39 { |
26 } |
40 } |