diff --git a/src/mbtiles_vector_featureset.cpp b/src/mbtiles_vector_featureset.cpp index 21df659..04a6e81 100644 --- a/src/mbtiles_vector_featureset.cpp +++ b/src/mbtiles_vector_featureset.cpp @@ -23,8 +23,8 @@ mbtiles_vector_featureset::mbtiles_vector_featureset(std::shared_ptr((extent_.minx() + width / 2) * (tile_count / width)); xmax_ = static_cast((extent_.maxx() + width / 2) * (tile_count / width)); - ymin_ = static_cast(((width / 2) - extent_.miny()) * (tile_count / width)); - ymax_ = static_cast(((width / 2) - extent_.maxy()) * (tile_count / width)); + ymin_ = static_cast(((width / 2) - extent_.maxy()) * (tile_count / width)); + ymax_ = static_cast(((width / 2) - extent_.miny()) * (tile_count / width)); x_ = xmin_; y_ = ymin_; open_tile();