Fix url parser to work with lat/lng when checking for "best" imagery

(closes #3586)
This commit is contained in:
Bryan Housel
2016-11-15 13:13:28 -05:00
parent 857c54c634
commit ff5372490b
+1 -1
View File
@@ -197,7 +197,7 @@ export function rendererBackground(context) {
if (!qmap) return false;
var args = qmap.split('/').map(Number);
if (args.length < 3 || args.some(isNaN)) return false;
return geoExtent([args[1], args[2]]);
return geoExtent([args[2], args[1]]);
}
var dataImagery = data.imagery || [],