diff --git a/encoding/mvt/projection.go b/encoding/mvt/projection.go index 363303c..99aac51 100644 --- a/encoding/mvt/projection.go +++ b/encoding/mvt/projection.go @@ -1,11 +1,11 @@ package mvt import ( + "github.com/paulmach/orb/mercator" "math" "math/bits" "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" "github.com/paulmach/orb/maptile" ) diff --git a/maptile/tile.go b/maptile/tile.go index 6e7e2d6..d8a875f 100644 --- a/maptile/tile.go +++ b/maptile/tile.go @@ -3,12 +3,12 @@ package maptile import ( + "github.com/paulmach/orb/mercator" "math" "math/bits" "github.com/paulmach/orb" "github.com/paulmach/orb/geojson" - "github.com/paulmach/orb/internal/mercator" ) // Tiles is a set of tiles, later we can add methods to this. diff --git a/maptile/tile_test.go b/maptile/tile_test.go index 68eb6ad..39711d9 100644 --- a/maptile/tile_test.go +++ b/maptile/tile_test.go @@ -2,11 +2,11 @@ package maptile import ( "fmt" + "github.com/paulmach/orb/mercator" "math" "testing" "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" ) func TestQuadKey(t *testing.T) { diff --git a/internal/mercator/mercator.go b/mercator/mercator.go similarity index 100% rename from internal/mercator/mercator.go rename to mercator/mercator.go diff --git a/internal/mercator/mercator_test.go b/mercator/mercator_test.go similarity index 100% rename from internal/mercator/mercator_test.go rename to mercator/mercator_test.go diff --git a/project/define_test.go b/project/define_test.go index 9137ef4..deb9c33 100644 --- a/project/define_test.go +++ b/project/define_test.go @@ -1,10 +1,9 @@ package project import ( + "github.com/paulmach/orb/mercator" "math" "testing" - - "github.com/paulmach/orb/internal/mercator" ) func TestDefineDeg2Rad(t *testing.T) { diff --git a/project/projections_test.go b/project/projections_test.go index 947355a..1de1b84 100644 --- a/project/projections_test.go +++ b/project/projections_test.go @@ -1,11 +1,11 @@ package project import ( + "github.com/paulmach/orb/mercator" "math" "testing" "github.com/paulmach/orb" - "github.com/paulmach/orb/internal/mercator" ) func TestMercator(t *testing.T) {