MCPcopy Create free account
hub / github.com/comaps/comaps / TestPOI

Method TestPOI

generator/generator_tests_support/test_feature.cpp:296–300  ·  view source on GitHub ↗

TestPOI -----------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

294
295// TestPOI -----------------------------------------------------------------------------------------
296TestPOI::TestPOI(m2::PointD const & center, string const & name, string const & lang)
297 : TestFeature(center, MakeName(name, lang))
298{
299 SetTypes({{"railway", "station"}});
300}
301
302// static
303std::pair<TestPOI, FeatureID> TestPOI::AddWithEditor(osm::Editor & editor, MwmSet::MwmId const & mwmId,

Callers

nothing calls this directly

Calls 2

MakeNameFunction · 0.85
SetTypesFunction · 0.85

Tested by

no test coverage detected