mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
touchup feature.to_string() operator to display id differently than attributes
This commit is contained in:
parent
e45948c2ab
commit
2f7d85e6d8
@ -160,8 +160,8 @@ public:
|
||||
std::string to_string() const
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "feature (" << std::endl;
|
||||
ss << " id:" << id_ << std::endl;
|
||||
ss << "feature "
|
||||
<< id_ << " (" << std::endl;
|
||||
for (std::map<std::string,value>::const_iterator itr=props_.begin();
|
||||
itr != props_.end();++itr)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user