gui_writer.cc
changeset 172 fc1e478697d3
parent 150 86273bfe0e4d
child 174 95872af46fc4
     1.1 --- a/gui_writer.cc	Tue Oct 24 07:31:31 2006 +0000
     1.2 +++ b/gui_writer.cc	Wed Oct 25 13:21:24 2006 +0000
     1.3 @@ -19,6 +19,20 @@
     1.4      m[edgeid] = mapstorage->arrow_pos[e];
     1.5    }
     1.6    x("arrow_pos", m);
     1.7 +
     1.8 +  std::map<int, std::string> nm;
     1.9 +  for(int i=0;i<NODE_PROPERTY_NUM;i++)
    1.10 +    {
    1.11 +      nm[i]=mapstorage->active_nodemaps[i];
    1.12 +    }
    1.13 +  x("active_nodemaps", nm);
    1.14 +
    1.15 +  std::map<int, std::string> em;
    1.16 +  for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    1.17 +    {
    1.18 +      em[i]=mapstorage->active_edgemaps[i];
    1.19 +    }
    1.20 +  x("active_edgemaps", em);
    1.21  }
    1.22  
    1.23  GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms)