summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mbgl/style/conversion/tileset.cpp4
1 files 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<Tileset> Converter<Tileset>::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);