/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
map/tips_api_delegate.hpp
22 строки
693 B
Arsentiy Milchakov
[isolines][tips] checking isolines data quality before showing isolines map layer tip is added
27 фев 2020, 13:42
27 фев 2020, 13:42
1b756c4
Код
Авторство
О чём код?
#pragma once #include "map/framework.hpp" #include "map/tips_api.hpp" class TipsApiDelegate : public TipsApi::Delegate { public: explicit TipsApiDelegate(Framework const & framework); std::optional<m2::PointD> GetCurrentPosition() const override; bool IsCountryLoaded(m2::PointD const & pt) const override; bool HaveTransit(m2::PointD const & pt) const override; double GetLastBackgroundTime() const override; m2::PointD const & GetViewportCenter() const override; storage::CountryId GetCountryId(m2::PointD const & pt) const override; isolines::Quality GetIsolinesQuality(storage::CountryId const & countryId) const override; private: Framework const & m_framework; };