| 832 | } |
| 833 | |
| 834 | XMLFeature TypeToXML(uint32_t type, feature::GeomType geomType, m2::PointD mercator) |
| 835 | { |
| 836 | ASSERT(geomType == feature::GeomType::Point, ("Only point features can be added")); |
| 837 | XMLFeature toFeature(XMLFeature::Type::Node); |
| 838 | toFeature.SetCenter(mercator); |
| 839 | |
| 840 | toFeature.SetOSMTagsForType(type); |
| 841 | |
| 842 | return toFeature; |
| 843 | } |
| 844 | |
| 845 | string DebugPrint(XMLFeature const & feature) |
| 846 | { |
no test coverage detected