77http://mabp.kiev.ua/2010/01/12/google-map-markers/
88"""
99
10- __all__ = ['dots' , 'alpha' ]
10+ __all__ = ['dots' , 'alpha' , 'shapes' , 'pushpin' ]
1111
1212
1313class Icon (object ):
@@ -32,3 +32,33 @@ def __getattr__(self, item):
3232 'L' , 'M' , 'N' , 'O' , 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' ,
3333 'X' , 'Z' , 'W' , 'Y' ]
3434)
35+
36+ shapes = Icon (
37+ base_url = '//www.google.com/mapsfiles/kml/shapes/{0}.png' ,
38+ options = ['airports' , 'arrow' , 'arrow-reverse' , 'arts' , 'bars' ,
39+ 'broken_link' , 'bus' , 'cabs' , 'camera' , 'campfire' , 'campground' ,
40+ 'capital_big' , 'capital_big_highlight' , 'capital_small' ,
41+ 'capital_small_highlight' , 'caution' , 'church' , 'coffee' , 'convenience' ,
42+ 'cross-hairs' , 'cross-hairs_highlight' , 'cycling' , 'dining' , 'dollar' ,
43+ 'donut' , 'earthquake' , 'electronics' , 'euro' , 'falling_rocks' , 'ferry' ,
44+ 'firedept' , 'fishing' , 'flag' , 'forbidden' , 'gas_stations' , 'golf' ,
45+ 'grocery' , 'heliport' , 'highway' , 'hiker' , 'homegardenbusiness' ,
46+ 'horsebackriding' , 'hospitals' , 'info' , 'info-i' , 'info_circle' ,
47+ 'lodging' , 'man' , 'marina' , 'mechanic' , 'motorcycling' , 'mountains' ,
48+ 'movies' , 'open-diamond' , 'parking_lot' , 'parks' , 'partly_cloudy' ,
49+ 'pharmacy_rx' , 'phone' , 'picnic' , 'placemark_circle' ,
50+ 'placemark_circle_highlight' , 'placemark_square' ,
51+ 'placemark_square_highlight' , 'play' , 'poi' , 'police' ,
52+ 'polygon' , 'post_office' , 'rail' , 'rainy' , 'ranger_station' ,
53+ 'realestate' , 'road_shield1' , 'road_shield2' , 'road_shield3' ,
54+ 'ruler' , 'sailing' , 'salon' , 'schools' , 'shaded_dot' , 'shopping' ,
55+ 'ski' , 'snack_bar' , 'snowflake_simple' , 'square' , 'star' , 'subway' ,
56+ 'sunny' , 'swimming' , 'target' , 'terrain' , 'thunderstorm' , 'toilets' ,
57+ 'trail' , 'tram' , 'triangle' , 'truck' , 'volcano' , 'water' , 'webcam' ,
58+ 'wheel_chair_accessible' , 'woman' , 'yen' ]
59+ )
60+ pushpin = Icon (
61+ base_url = '//www.google.com/mapsfiles/kml/pushpin/{0}.png' ,
62+ options = ['blue-pushpin' , 'grn-pushpin' , 'ltblu-pushpin' , 'pink-pushpin' ,
63+ 'purple-pushpin' , 'red-pushpin' , 'wht-pushpin' , 'ylw-pushpin' ]
64+ )
0 commit comments