From 02650430e85885e7cca04a29ff1d351ba16ac262 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: 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 40575838ea..0db07f4395 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); -- cgit v1.2.1