Fix typo in geo.cpp (#412)
This commit is contained in:
@@ -54,7 +54,7 @@ bool LatLngBounds::contains(const LatLngBounds& area, LatLng::WrapMode wrap /*=
|
||||
} else if (wrap == LatLng::Wrapped) {
|
||||
LatLngBounds wrapped(sw.wrapped(), ne.wrapped());
|
||||
LatLngBounds other(area.sw.wrapped(), area.ne.wrapped());
|
||||
if (crossesAntimeridian() & !area.crossesAntimeridian()) {
|
||||
if (crossesAntimeridian() && !area.crossesAntimeridian()) {
|
||||
return (other.east() <= util::LONGITUDE_MAX && other.west() >= wrapped.west()) ||
|
||||
(other.east() <= wrapped.east() && other.west() >= -util::LONGITUDE_MAX);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user