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

Method FillNotMatchedPlaceInfo

libs/map/framework.cpp:734–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734void Framework::FillNotMatchedPlaceInfo(place_page::Info & info, m2::PointD const & mercator,
735 std::string const & customTitle /* = {} */) const
736{
737 if (customTitle.empty())
738 info.SetCustomNameWithCoordinates(mercator, m_stringsBundle.GetString("core_placepage_unknown_place"));
739 else
740 info.SetCustomName(customTitle);
741 info.SetCanEditOrAdd(CanEditMapForPosition(mercator));
742 info.SetMercator(mercator);
743}
744
745void Framework::FillPostcodeInfo(string const & postcode, m2::PointD const & mercator, place_page::Info & info) const
746{

Callers

nothing calls this directly

Calls 6

SetCanEditOrAddMethod · 0.80
emptyMethod · 0.45
GetStringMethod · 0.45
SetCustomNameMethod · 0.45
SetMercatorMethod · 0.45

Tested by

no test coverage detected