132 Commits

Author SHA1 Message Date
Florian Pigorsch
4b82c94de8
Fix latitude centering. Closes #44. (#45) 2020-11-14 16:17:22 +01:00
Balázs Lécz
112a0c57b9
Export Transformer (#43)
Export Transformer
2020-10-17 09:48:34 +02:00
Florian Pigorsch
3465b33495 Update badges 2020-08-29 11:01:08 +02:00
Florian Pigorsch
8798ebae91 Add github actions in favour of travis-ci 2020-08-29 10:51:46 +02:00
Florian Pigorsch
8f2f8a0f96 Add Arcgis World Imagery tiles 2020-08-29 10:12:46 +02:00
Florian Pigorsch
3b0d2a5807 Add go module support. 2020-06-28 12:50:49 +02:00
Knut Ahlers
f6cd17d268 Allow to ignore 404 errors for overlays
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-28 12:30:51 +02:00
Knut Ahlers
e2febeb0aa Fix: Use one cache-dir per provider
in order to have overlays being cached in their own directory

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-06-28 12:29:02 +02:00
Dan
456a5d548b Issue #37: Fixed lint problems 2019-07-22 13:50:53 +02:00
Dan
1dc44d2aab Issue #37: support cache directory as an argument 2019-07-22 13:50:53 +02:00
Dan
683c2d30d5 Return error when a tile cannot be fetched from the tile http service 2019-07-03 08:22:44 +02:00
Florian Pigorsch
09de382f74 Temporarily disable megacheck 2019-07-03 08:17:47 +02:00
Florian Pigorsch
320790ed53
Merge pull request #32 from Luzifer/allow-disable-of-attribution-rendering
Allow override of attribution rendering
2018-04-04 20:51:16 +02:00
Knut Ahlers
fda044e653
Change attribution disable to attribution override
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-04 20:05:00 +02:00
Knut Ahlers
d701c2c232
Allow disable of attribution rendering
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-03 20:48:36 +02:00
Florian Pigorsch
5f69ec7945
Merge pull request #31 from Luzifer/add-overlay-capabilities
Add ability to add overlays to the map
2018-04-01 18:06:37 +02:00
Knut Ahlers
7208cdf54c
Add ability to add overlays to the map
This adds the ability to render transparent overlay tiles over the
rendered map in order to display further information on it.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-22 21:04:06 +01:00
flopp
270aadaf4e fix travis config 2017-12-12 21:59:11 +01:00
flopp
2038e38dc9 add travis-ci badge 2017-12-12 21:57:47 +01:00
flopp
e28f85ddc5 add initial travis config 2017-12-12 21:54:32 +01:00
flopp
5403c24c93 fix formatting with 'go fmt' 2017-12-12 21:46:04 +01:00
Florian Pigorsch
2acbd216f1
Update README.md 2017-12-12 08:48:39 +01:00
Florian Pigorsch
558ea2f897
Merge pull request #29 from tsukumaru/add_new_funcs
Add NewPath and NewArea functions
2017-12-12 08:46:40 +01:00
tsukumaru
55b0b0b7fa delete a duplicate line (and a little formatting) 2017-12-12 13:28:45 +09:00
tsukumaru
3e3c6a8eac add NewArea func 2017-12-12 13:27:32 +09:00
tsukumaru
252df33fe1 add NewPath func 2017-12-12 13:26:34 +09:00
flopp
f5e2b6815f fix lint errors 2017-12-11 23:32:24 +01:00
flopp
8fe02365eb finish/fix circles implementation 2017-12-11 23:26:18 +01:00
Florian Pigorsch
868defe617
Merge pull request #28 from alnkapa/circle
add Circle
2017-12-11 22:12:59 +01:00
Alexander A. Kapralov
c2261a7606 add Circle 2017-12-11 18:54:07 +03:00
flopp
6ffd6e9aaf fix spelling, extend list of contributors 2017-09-18 18:34:29 +02:00
Florian Pigorsch
cd623fc102 Merge pull request #26 from jasonpfox/Bounded_Render_for_Registration
RenderWithBounds to allow registration of returned image
2017-09-18 18:24:14 +02:00
Jason Fox
dbba1d741e Add RenderWithBounds capability tor render and return explicit bounding box of actual as-returned data to support registration of image with other data.
When rendering in this way, include all tile sets needed to cover teh requested area with extra data provided as part of the return.
Add some comments to transformer struct fields along the way
2017-08-03 15:33:45 -04:00
flopp
0afd637f53 fix formatting 2017-06-27 22:24:58 +02:00
flopp
b0138b7c96 fix latlng to pixel transformation; don't display markers outside the coordinates range 2017-06-27 22:24:16 +02:00
flopp
4bf3a97b02 fix formatting error in command line options 2017-06-27 20:58:26 +02:00
flopp
7c2bea0a80 add proper methods to overwrite the HTTP user agent 2017-06-27 20:51:40 +02:00
flopp
f69176185f add the possibility to specify a background color 2017-06-27 20:21:09 +02:00
Florian Pigorsch
e8779c9839 Update README.md
add latest contributors
2017-06-25 20:35:58 +02:00
Florian Pigorsch
bd09d0e459 Merge pull request #25 from Luzifer/master
Add overwritable user-agent
2017-06-25 20:32:24 +02:00
Florian Pigorsch
3e08be730d Merge pull request #24 from pshevtsov/patch-1
Don't draw attribution if empty
2017-06-25 20:30:56 +02:00
Knut Ahlers
a3f9ce644a
Add user-agent
to comply to OSM tile usage policy

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-23 14:40:43 +02:00
Petr Shevtsov
a5cae7220f Don't draw attribution if empty 2017-06-06 13:00:51 +03:00
Florian Pigorsch
a78c0122aa Update list of contributors 2017-02-10 13:10:48 +01:00
Florian Pigorsch
43c9c04772 Merge pull request #22 from bcicen/fix-example-typo
fix typo in library example
2017-02-10 13:09:25 +01:00
Bradley Cicenas
efe7b91e47 fix typo in library example 2017-02-10 13:44:37 +11:00
Florian Pigorsch
9234c94379 Update list of contributors 2017-02-08 18:42:05 +01:00
Florian Pigorsch
73ffdab75b Merge pull request #21 from digitocero/issue20
fix #20 with type change
2017-02-08 18:38:39 +01:00
gsus
1ab69e47c1 fix issue 22 with type change
prvents the following error when compiling:
/usr/local/opt/go/bin/src/github.com/flopp/go-staticmaps/create-static-map/create-static-map.go:76:
cannot assign *s2.Rect to bbox (type s2.Rect) in multiple assignment
/usr/local/opt/go/bin/src/github.com/flopp/go-staticmaps/create-static-map/create-static-map.go:81:
invalid indirect of bbox (type s2.Rect)
2017-02-08 03:46:51 +01:00
flopp
79a46b5d2d fix setting of bounding box 2017-01-28 17:33:19 +01:00