Change URL

This commit is contained in:
Dmitriy Prodchenko 2019-02-26 17:30:38 +02:00
parent 082d75aa3a
commit 6eceec4427

View file

@ -61,9 +61,9 @@ public class YandexTrafficAdapter extends MapTileAdapter {
protected void updateTimeStampImpl() {
String YANDEX_BASE_URL;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD)
YANDEX_BASE_URL = "https://jgo.maps.yandex.net";
YANDEX_BASE_URL = "https://core-jams-rdr.maps.yandex.net";
else
YANDEX_BASE_URL = "http://jgo.maps.yandex.net";
YANDEX_BASE_URL = "http://core-jams-rdr.maps.yandex.net";
if (mTimestamp == null || (System.currentTimeMillis() - lastTimestampUpdated) > DELTA) {
log.info("Updating timestamp"); //$NON-NLS-1$
try {