allow copy of mapnik::projection when proj_transform is created - closes #658 - TODO - consider using shared_ptr
This commit is contained in:
parent
ac3488efb6
commit
ff006dd3f0
1 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/projection.hpp>
|
#include <mapnik/projection.hpp>
|
||||||
|
#include <mapnik/box2d.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
#include <boost/utility.hpp>
|
||||||
|
|
||||||
|
@ -47,8 +49,8 @@ public:
|
||||||
mapnik::projection const& dest() const;
|
mapnik::projection const& dest() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
projection const& source_;
|
projection const source_;
|
||||||
projection const& dest_;
|
projection const dest_;
|
||||||
bool is_source_longlat_;
|
bool is_source_longlat_;
|
||||||
bool is_dest_longlat_;
|
bool is_dest_longlat_;
|
||||||
bool is_source_equal_dest_;
|
bool is_source_equal_dest_;
|
||||||
|
|
Loading…
Reference in a new issue