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

Method FillCommonParams

libs/drape_frontend/apply_feature_functors.cpp:457–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void BaseApplyFeature::FillCommonParams(CommonOverlayViewParams & p) const
458{
459 p.m_rank = m_f.GetRank();
460 p.m_tileCenter = m_tileRect.Center();
461 p.m_featureId = m_f.GetID();
462}
463
464void ApplyPointFeature::ExtractCaptionParams(CaptionDefProto const * primaryProto,
465 CaptionDefProto const * secondaryProto, TextViewParams & params) const

Callers

nothing calls this directly

Calls 3

GetRankMethod · 0.45
CenterMethod · 0.45
GetIDMethod · 0.45

Tested by

no test coverage detected