summaryrefslogtreecommitdiff
path: root/src/mbgl/style/conversion/tileset.cpp
diff options
context:
space:
mode:
authorAsheem Mamoowala <Asheemm@gmail.com>2018-02-12 12:17:57 -0800
committerAsheem Mamoowala <Asheemm@gmail.com>2018-02-12 12:27:30 -0800
commitf4f3bfd68304f82904d2acaf471810fe2cb6b508 (patch)
tree1f15f17b42e6d13ff3d4dd123d9a484b1162a63b /src/mbgl/style/conversion/tileset.cpp
parentf0b12d581a266f8877fba32be97fe82561bb2392 (diff)
downloadqtlocation-mapboxgl-upstream/fix-tilejson-bounds.tar.gz
TileJSON Bounds allows values inclusive of world extentsupstream/fix-tilejson-bounds
Diffstat (limited to 'src/mbgl/style/conversion/tileset.cpp')
-rw-r--r--src/mbgl/style/conversion/tileset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/conversion/tileset.cpp b/src/mbgl/style/conversion/tileset.cpp
index 6e559c0cac..88e78b1a83 100644
--- a/src/mbgl/style/conversion/tileset.cpp
+++ b/src/mbgl/style/conversion/tileset.cpp
@@ -6,7 +6,7 @@ namespace style {
namespace conversion {
bool validateLatitude(const double lat) {
- return lat < 90 && lat > -90;
+ return lat <= 90 && lat >= -90;
}
optional<Tileset> Converter<Tileset>::operator()(const Convertible& value, Error& error) const {