Math::wrapAround( $res->lon1, $res->lon2, -180, 180 );
Needs to take the globe into account.
Math::wrapAround( $res->lon1, $res->lon2, -180, 180 );
Needs to take the globe into account.
Change #1031548 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/GeoData@master] [WIP] Change Math::distance to accept Coord instances
Change #1040728 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/GeoData@master] Fix Coord::bboxAround() not supporting non-Earth globes
Change #1040728 merged by jenkins-bot:
[mediawiki/extensions/GeoData@master] Fix Coord::bboxAround() not supporting non-Earth globes