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

Method FillApiMarkInfo

libs/map/framework.cpp:786–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786void Framework::FillApiMarkInfo(ApiMarkPoint const & api, place_page::Info & info) const
787{
788 FillPointInfo(info, api.GetPivot());
789 string const & name = api.GetName();
790 if (!name.empty())
791 info.SetCustomName(name);
792 info.SetApiId(api.GetApiID());
793 info.SetApiUrl(GenerateApiBackUrl(api));
794}
795
796void Framework::FillSearchResultInfo(SearchMarkPoint const & smp, place_page::Info & info) const
797{

Callers

nothing calls this directly

Calls 6

SetApiIdMethod · 0.80
SetApiUrlMethod · 0.80
GetPivotMethod · 0.45
GetNameMethod · 0.45
emptyMethod · 0.45
SetCustomNameMethod · 0.45

Tested by

no test coverage detected