From c83012f66adb6acbd0e6d27a1562b83515ebc613 Mon Sep 17 00:00:00 2001 From: Justyna Janczyszyn <4153982+jjanczyszyn@users.noreply.github.com> Date: Mon, 20 Aug 2018 15:14:49 +0200 Subject: [PATCH] fixed validation message for bounds --- src/mbgl/style/conversion/tileset.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mbgl/style/conversion/tileset.cpp b/src/mbgl/style/conversion/tileset.cpp index 40575838e..0db07f439 100644 --- a/src/mbgl/style/conversion/tileset.cpp +++ b/src/mbgl/style/conversion/tileset.cpp @@ -97,12 +97,12 @@ optional Converter::operator()(const Convertible& value, Error bottom = util::clamp(*bottom, -90.0, 90.0); top = util::clamp(*top, -90.0, 90.0); if (*top < *bottom){ - error.message = "bounds bottom latitude must be smaller than top latitude"; + error.message = "bounds bottom latitude must be less than or equal to top latitude"; return nullopt; } if(*left > *right) { - error.message = "bounds left longitude should be less than right longitude"; + error.message = "bounds left longitude must be less than or equal to right longitude"; return nullopt; } left = util::max(-180.0, *left);