forked from organicmaps/organicmaps
* [platform] Added conversions UTM<->LatLon and MGRS<->LatLon * [search] Added UTM and MGRS format matching to search * [Android] Added UTM and MGRS coordinates to Android PlacePage UI * [ios] Added UTM & MGRS formats in search on iOS * [base] Added function to convert long to string with fixed output length * Fix non-unity compilation error * Lat,lon to UTM & MGRS error handling. Fix tests * Fix non-unity compilation error * Fix tests * Reduced number of test cases * C++ code formatting. Replaced long to string and string to long functions with standard imlementations. * [Android] Renamed method * Function std::string to_string_width is now accepts all integer types. * Refactoring of 'utm_mgrs_utils.cpp': removed functions forward declaration. Added constexpr for geo constants. * Introduced optional<string> as return type. Updated tests. * Changed easting and northing arguments to int. * Renamed functions. Added const markers. * [Android] Handling empty UTM and MGRS formats. * Fixed non-unity compilation error. * Changed UTM & MGRS API to use string instead of optional<string> * Improving using of optional variables * Fixing stupid bug * Added comments with proposal of UMT and MGRS improvements in future Signed-off-by: S. Kozyr <s.trump@gmail.com> |
||
---|---|---|
.. | ||
platform_tests | ||
platform_tests_support | ||
apple_location_service.mm | ||
background_downloader_ios.h | ||
background_downloader_ios.mm | ||
battery_tracker.cpp | ||
battery_tracker.hpp | ||
chunks_download_strategy.cpp | ||
chunks_download_strategy.hpp | ||
CMakeLists.txt | ||
constants.hpp | ||
country_defines.cpp | ||
country_defines.hpp | ||
country_file.cpp | ||
country_file.hpp | ||
downloader_defines.hpp | ||
downloader_utils.cpp | ||
downloader_utils.hpp | ||
get_text_by_id.cpp | ||
get_text_by_id.hpp | ||
gui_thread.hpp | ||
gui_thread_apple.mm | ||
gui_thread_linux.cpp | ||
http_client.cpp | ||
http_client.hpp | ||
http_client_apple.mm | ||
http_client_curl.cpp | ||
http_payload.cpp | ||
http_payload.hpp | ||
http_request.cpp | ||
http_request.hpp | ||
http_session_manager.h | ||
http_session_manager.mm | ||
http_thread_apple.h | ||
http_thread_apple.mm | ||
http_thread_callback.hpp | ||
http_thread_qt.cpp | ||
http_thread_qt.hpp | ||
http_uploader.hpp | ||
http_uploader_apple.mm | ||
http_uploader_background.hpp | ||
http_uploader_background.mm | ||
http_uploader_background_dummy.cpp | ||
http_uploader_dummy.cpp | ||
languages.hpp | ||
local_country_file.cpp | ||
local_country_file.hpp | ||
local_country_file_utils.cpp | ||
local_country_file_utils.hpp | ||
locale.hpp | ||
locale.mm | ||
locale_linux.cpp | ||
localization.cpp | ||
localization.hpp | ||
localization.mm | ||
localization_dummy.cpp | ||
location.hpp | ||
location_service.cpp | ||
location_service.hpp | ||
measurement_utils.cpp | ||
measurement_utils.hpp | ||
mwm_traits.cpp | ||
mwm_traits.hpp | ||
mwm_version.cpp | ||
mwm_version.hpp | ||
network_policy.hpp | ||
network_policy_dummy.cpp | ||
network_policy_ios.h | ||
network_policy_ios.mm | ||
platform.cpp | ||
platform.hpp | ||
platform_android.cpp | ||
platform_ios.h | ||
platform_ios.mm | ||
platform_linux.cpp | ||
platform_mac.mm | ||
platform_qt.cpp | ||
platform_qt_version.cpp.in | ||
platform_unix_impl.cpp | ||
platform_unix_impl.hpp | ||
platform_win.cpp | ||
preferred_languages.cpp | ||
preferred_languages.hpp | ||
remote_file.cpp | ||
remote_file.hpp | ||
safe_callback.hpp | ||
secure_storage.hpp | ||
secure_storage_dummy.cpp | ||
secure_storage_ios.mm | ||
secure_storage_qt.cpp | ||
servers_list.cpp | ||
servers_list.hpp | ||
settings.cpp | ||
settings.hpp | ||
socket.hpp | ||
socket_apple.mm | ||
string_storage_base.cpp | ||
string_storage_base.hpp | ||
utm_mgrs_utils.cpp | ||
utm_mgrs_utils.hpp |