diff options
author | Asheem Mamoowala <Asheemm@gmail.com> | 2018-02-12 12:17:57 -0800 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2018-02-12 16:56:20 -0800 |
commit | aefc3daeeddaa597be3b10f5384cd3503099e2ee (patch) | |
tree | 48079657bd3b382b66d860fefc05b0609e90d127 /src | |
parent | 94734441ce34fa8cfaa2a5148ece676d75610e69 (diff) | |
download | qtlocation-mapboxgl-aefc3daeeddaa597be3b10f5384cd3503099e2ee.tar.gz |
TileJSON Bounds allows values inclusive of world extents
Diffstat (limited to 'src')
-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 { |