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

Method CanFillPlacePageMetadata

libs/map/bookmark.cpp:274–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274bool Bookmark::CanFillPlacePageMetadata() const
275{
276 auto const & p = m_data.m_properties;
277 if (auto const hours = p.find("hours"); hours != p.end() && !hours->second.empty())
278 return true;
279 return false;
280}
281
282void Bookmark::Attach(kml::MarkGroupId groupId)
283{

Callers 1

FillBookmarkInfoMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected