removed debug output

This commit is contained in:
Florian Pigorsch 2016-02-15 08:50:09 +01:00
parent d3f731bc1b
commit 5c2c26d288

View File

@ -11,10 +11,10 @@ import (
"log"
"os"
"github.com/flopp/go-coordsparser"
"github.com/flopp/go-staticmaps/staticmaps"
"github.com/flopp/go-coordsparser"
"github.com/golang/geo/s2"
"github.com/jessevdk/go-flags"
"github.com/golang/geo/s2"
)
func main() {
@ -63,8 +63,7 @@ func main() {
}
if parser.FindOptionByLongName("center").IsSet() {
lat, lng, err := coordsparser.Parse(opts.Center)
fmt.Println(opts.Center, lat, lng)
lat, lng, err := coordsparser.Parse(opts.Center)
if err == nil {
m.SetCenter(s2.LatLngFromDegrees(lat, lng))
} else {