From 7c06a00ed0ba36255bc7fec6e6d24272dab2946b Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Fri, 12 Jan 2018 19:30:37 +0300 Subject: [PATCH] Fix #4776 --- OsmAnd/src/net/osmand/plus/mapillary/MapillaryVectorLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();