Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:alpine as builder

COPY . /go/src/github.com/Luzifer/staticmap
WORKDIR /go/src/github.com/Luzifer/staticmap
COPY . /go/src/github.com/christophecollet78/staticmap
WORKDIR /go/src/github.com/christophecollet78/staticmap

RUN set -ex \
&& apk add --update git \
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/Luzifer/staticmap
module github.com/christophecollet78/staticmap

go 1.22

require (
github.com/Luzifer/go-staticmaps v0.0.0-20241029093116-4051913e21ff
github.com/Luzifer/go_helpers/v2 v2.25.0
github.com/Luzifer/rconfig/v2 v2.5.2
github.com/christophecollet78/go-staticmaps v0.0.0-20260513094643-01184d92d27c
github.com/didip/tollbooth v4.0.2+incompatible
github.com/fogleman/gg v1.3.0
github.com/golang/geo v0.0.0-20230421003525-6adc56603217
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
github.com/Luzifer/go-staticmaps v0.0.0-20231015113856-fd420b8ebab9 h1:8zlr4LR4LTXamhmIFM/L5cQV0vEEIZuAIZEVnHE7Dko=
github.com/Luzifer/go-staticmaps v0.0.0-20231015113856-fd420b8ebab9/go.mod h1:Bd7I2SJ38U81rHSJM0z/AfQ0kl1s2ueLGreOKSlK86o=
github.com/Luzifer/go-staticmaps v0.0.0-20241029093116-4051913e21ff h1:QjjE3DUQcSE18ov1btDEY59W6cr6g5vzXRokmR/CEXE=
github.com/Luzifer/go-staticmaps v0.0.0-20241029093116-4051913e21ff/go.mod h1:rbV3ux/T9l7ZWi5KopLgu9FvQxrhnlRSdyDOG1x0Idw=
github.com/Luzifer/go_helpers/v2 v2.25.0 h1:k1J4gd1+BfuokTDoWgcgib9P5mdadjzKEgbtKSVe46k=
github.com/Luzifer/go_helpers/v2 v2.25.0/go.mod h1:KSVUdAJAav5cWGyB5oKGxmC27HrKULVTOxwPS/Kr+pc=
github.com/Luzifer/rconfig/v2 v2.5.2 h1:4Bfp8mTrCCK/xghUmUbh/qtKiLZA6RC0tHTgqkNw1m4=
github.com/Luzifer/rconfig/v2 v2.5.2/go.mod h1:HnqUWg+NQh60/neUqfMDDDo5d1v8UPuhwKR1HqM4VWQ=
github.com/christophecollet78/go-staticmaps v0.0.0-20260513094643-01184d92d27c h1:Y/4uhohpbGXBZGVdmAAOYVzJboBXDnBT/hDgouDS/UI=
github.com/christophecollet78/go-staticmaps v0.0.0-20260513094643-01184d92d27c/go.mod h1:3KqIFUcSjQkPoWnSeJYFUii3tVeEwPS7lpr5VZdnjDk=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
4 changes: 2 additions & 2 deletions map.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"io"
"strings"

staticMap "github.com/Luzifer/go-staticmaps"
staticMap "github.com/christophecollet78/go-staticmaps"
"github.com/fogleman/gg"
"github.com/golang/geo/s2"
"github.com/pkg/errors"
Expand Down Expand Up @@ -92,7 +92,7 @@ func (g generateMapConfig) getCacheKey() string {

func generateMap(opts generateMapConfig) (io.Reader, error) {
ctx := staticMap.NewContext()
ctx.SetUserAgent(fmt.Sprintf("Mozilla/5.0+(compatible; staticmap/%s; https://github.com/Luzifer/staticmap)", version))
ctx.SetUserAgent(fmt.Sprintf("Mozilla/5.0+(compatible; staticmap/%s; https://github.com/christophecollet78/staticmap)", version))

ctx.SetSize(opts.Width, opts.Height)
ctx.SetCenter(opts.Center)
Expand Down
2 changes: 1 addition & 1 deletion postmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

staticMap "github.com/Luzifer/go-staticmaps"
staticMap "github.com/christophecollet78/go-staticmaps"
"github.com/golang/geo/s2"
"github.com/pkg/errors"
)
Expand Down
Loading