JtsLayer: fix Envelope parameters order in processFeatures (#525)

This commit is contained in:
xiaoyan-qq 2018-04-13 11:39:07 +08:00 committed by Emux
parent 0604d579de
commit 12e04ca7ef
No known key found for this signature in database
GPG Key ID: 89C6921D7AF2BDD0

View File

@ -1,5 +1,7 @@
/*
* Copyright 2014 Hannes Janetzek
* Copyright 2016 devemux86
* Copyright 2018 xiaoyan-qq
*
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
*
@ -44,7 +46,7 @@ public abstract class JtsLayer extends AbstractVectorLayer<Geometry> {
@Override
protected void processFeatures(Task t, Box bbox) {
processFeatures(t, new Envelope(bbox.xmin, bbox.ymin, bbox.xmax, bbox.ymax));
processFeatures(t, new Envelope(bbox.xmin, bbox.xmax, bbox.ymin, bbox.ymax));
}