diff --git a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryVectorLayer.java b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryVectorLayer.java index 2fb5cf0407..abc928ba8b 100644 --- a/OsmAnd/src/net/osmand/plus/mapillary/MapillaryVectorLayer.java +++ b/OsmAnd/src/net/osmand/plus/mapillary/MapillaryVectorLayer.java @@ -199,7 +199,7 @@ class MapillaryVectorLayer extends MapTileLayer implements MapillaryLayer, ICont } String userKey = settings.MAPILLARY_FILTER_USER_KEY.get(); HashMap userData = (HashMap) 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 to = settings.MAPILLARY_FILTER_TO_DATE.get();