diff options
author | Asheem Mamoowala <Asheemm@gmail.com> | 2018-02-12 12:17:57 -0800 |
---|---|---|
committer | Asheem Mamoowala <Asheemm@gmail.com> | 2018-02-12 12:27:30 -0800 |
commit | f4f3bfd68304f82904d2acaf471810fe2cb6b508 (patch) | |
tree | 1f15f17b42e6d13ff3d4dd123d9a484b1162a63b /src/mbgl | |
parent | f0b12d581a266f8877fba32be97fe82561bb2392 (diff) | |
download | qtlocation-mapboxgl-f4f3bfd68304f82904d2acaf471810fe2cb6b508.tar.gz |
TileJSON Bounds allows values inclusive of world extentsupstream/fix-tilejson-bounds
Diffstat (limited to 'src/mbgl')
-rw-r--r-- | src/mbgl/style/conversion/tileset.cpp | 2 |
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 { |