diff --git a/Makefile b/Makefile index 9338123..dc8b43e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ publish: curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh bash golang.sh + +update_example_post: + curl -X POST --data-binary @example/postmap.json -o example/postmap.png localhost:5000/map.png + +update_example_get: + curl -o example/map.png 'localhost:5000/map.png?center=53.5438,9.9768&zoom=15&size=800x500&markers=color:blue|53.54129165,9.98420576699353&markers=color:yellow|53.54565525,9.9680555636958' diff --git a/example/map.png b/example/map.png index 7805c7a..90cffbb 100644 Binary files a/example/map.png and b/example/map.png differ diff --git a/example/postmap.png b/example/postmap.png index 3bf36cb..17efeae 100644 Binary files a/example/postmap.png and b/example/postmap.png differ