| 2363 | } |
| 2364 | |
| 2365 | string Framework::GenerateApiBackUrl(ApiMarkPoint const & point) const |
| 2366 | { |
| 2367 | string res = m_parsedMapApi.GetGlobalBackUrl(); |
| 2368 | if (!res.empty()) |
| 2369 | { |
| 2370 | ms::LatLon const ll = point.GetLatLon(); |
| 2371 | res += "pin?ll=" + strings::to_string(ll.m_lat) + "," + strings::to_string(ll.m_lon); |
| 2372 | if (!point.GetName().empty()) |
| 2373 | res += "&n=" + url::UrlEncode(point.GetName()); |
| 2374 | if (!point.GetApiID().empty()) |
| 2375 | res += "&id=" + url::UrlEncode(point.GetApiID()); |
| 2376 | } |
| 2377 | return res; |
| 2378 | } |
| 2379 | |
| 2380 | /* |
| 2381 | bool Framework::IsDataVersionUpdated() |