Skip to content

Commit a77a72f

Browse files
joshrosenhanstRiverfount
authored andcommitted
update icon base_url values for shapes and pushpin, from http://kml4earth.appspot.com/icons.html#mapfiles
1 parent 8b1c7c5 commit a77a72f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_googlemaps/icons.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __getattr__(self, item):
3434
)
3535

3636
shapes = Icon(
37-
base_url='//www.google.com/mapsfiles/kml/shapes/{0}.png',
37+
base_url='//maps.google.com/mapfiles/kml/shapes/{0}.png',
3838
options=['airports', 'arrow', 'arrow-reverse', 'arts', 'bars',
3939
'broken_link', 'bus', 'cabs', 'camera', 'campfire', 'campground',
4040
'capital_big', 'capital_big_highlight', 'capital_small',
@@ -58,7 +58,7 @@ def __getattr__(self, item):
5858
'wheel_chair_accessible', 'woman', 'yen']
5959
)
6060
pushpin = Icon(
61-
base_url='//www.google.com/mapsfiles/kml/pushpin/{0}.png',
61+
base_url='//maps.google.com/mapfiles/kml/pushpin/{0}.png',
6262
options=['blue-pushpin', 'grn-pushpin', 'ltblu-pushpin', 'pink-pushpin',
6363
'purple-pushpin', 'red-pushpin', 'wht-pushpin', 'ylw-pushpin']
6464
)

0 commit comments

Comments
 (0)