Merge branch 'master' of ssh://github.com/osmandapp/Osmand

This commit is contained in:
PavelRatushnyi 2018-01-12 18:57:22 +02:00
commit e5fc56a799

View file

@ -199,7 +199,7 @@ class MapillaryVectorLayer extends MapTileLayer implements MapillaryLayer, ICont
} }
String userKey = settings.MAPILLARY_FILTER_USER_KEY.get(); String userKey = settings.MAPILLARY_FILTER_USER_KEY.get();
HashMap<String, Object> userData = (HashMap<String, Object>) data; HashMap<String, Object> userData = (HashMap<String, Object>) data;
long capturedAt = (long) userData.get("captured_at"); long capturedAt = ((Number) userData.get("captured_at")).longValue();
long from = settings.MAPILLARY_FILTER_FROM_DATE.get(); long from = settings.MAPILLARY_FILTER_FROM_DATE.get();
long to = settings.MAPILLARY_FILTER_TO_DATE.get(); long to = settings.MAPILLARY_FILTER_TO_DATE.get();