diff --git a/src/mbgl/map/map_context.cpp b/src/mbgl/map/map_context.cpp index e8d039d83..7647d027f 100644 --- a/src/mbgl/map/map_context.cpp +++ b/src/mbgl/map/map_context.cpp @@ -118,6 +118,8 @@ void MapContext::setStyleURL(const std::string& url) { if (res.status == Response::Successful) { loadStyleJSON(res.data, base); + } else if (res.status == Response::NotFound && (styleURL.find("mapbox://") != std::string::npos)) { + Log::Error(Event::Setup, "style %s could not be found or is an incompatible legacy map or style", styleURL.c_str()); } else { Log::Error(Event::Setup, "loading style failed: %s", res.message.c_str()); data.loading = false;