| 269 | } |
| 270 | |
| 271 | void Info::SetCustomNameWithCoordinates(m2::PointD const & mercator, std::string const & name) |
| 272 | { |
| 273 | if (IsBookmark()) |
| 274 | { |
| 275 | SetTitlesForBookmark(); |
| 276 | } |
| 277 | else |
| 278 | { |
| 279 | m_uiTitle = name; |
| 280 | m_uiSubtitle = measurement_utils::FormatLatLon(mercator::YToLat(mercator.y), mercator::XToLon(mercator.x), |
| 281 | true /* withComma */); |
| 282 | } |
| 283 | m_customName = name; |
| 284 | } |
| 285 | |
| 286 | void Info::SetFromBookmarkProperties(kml::Properties const & p) |
| 287 | { |
no test coverage detected