| 79 | } |
| 80 | |
| 81 | bool FeatureMakerSimple::BuildFromNode(OsmElement & p, FeatureBuilderParams const & params) |
| 82 | { |
| 83 | FeatureBuilder fb; |
| 84 | fb.SetCenter(mercator::FromLatLon(p.m_lat, p.m_lon)); |
| 85 | |
| 86 | fb.SetOsmId(base::MakeOsmNode(p.m_id)); |
| 87 | fb.SetParams(params); |
| 88 | |
| 89 | m_queue.push(std::move(fb)); |
| 90 | return true; |
| 91 | } |
| 92 | |
| 93 | bool FeatureMakerSimple::BuildFromWay(OsmElement & p, FeatureBuilderParams const & params) |
| 94 | { |
nothing calls this directly
no test coverage detected