1
0
Fork 0
mirror of https://github.com/imjasonh/staticmaps synced 2026-07-17 06:21:45 +00:00

remove *Location and add test

This commit is contained in:
Jason Hall 2014-10-07 10:12:42 -04:00
parent fbc80b3a45
commit d4ffbe16cc
2 changed files with 4 additions and 3 deletions

View file

@ -25,6 +25,7 @@ func TestStaticMap(t *testing.T) {
c := NewClient("")
s := Size{512, 512}
opts := &StaticMapOpts{
Center: LatLng{-5, -5},
Markers: []Markers{
{
Size: "small",
@ -65,7 +66,7 @@ func TestStaticMap(t *testing.T) {
Feature: "water",
Element: "geometry.fill",
Rules: []StyleRule{
{Hue: "0xFF0000"},
{Hue: "0x0000FF"},
},
},
},