| 211 | } |
| 212 | |
| 213 | ref_ptr<MarksIDGroups> UserMarkGenerator::GetUserLinesGroups(TileKey const & tileKey) |
| 214 | { |
| 215 | auto itTile = m_index.end(); |
| 216 | int const lineZoom = GetNearestLineIndexZoom(tileKey.m_zoomLevel); |
| 217 | CalcTilesCoverage(tileKey.GetGlobalRect(), lineZoom, [this, &itTile, lineZoom](int tileX, int tileY) |
| 218 | { itTile = m_index.find(TileKey(tileX, tileY, lineZoom)); }); |
| 219 | if (itTile != m_index.end()) |
| 220 | return make_ref(itTile->second); |
| 221 | return nullptr; |
| 222 | } |
| 223 | |
| 224 | void UserMarkGenerator::GenerateUserMarksGeometry(ref_ptr<dp::GraphicsContext> context, TileKey const & tileKey, |
| 225 | ref_ptr<dp::TextureManager> textures) |
nothing calls this directly
no test coverage detected