|
7 | 7 | http://mabp.kiev.ua/2010/01/12/google-map-markers/ |
8 | 8 | """ |
9 | 9 |
|
10 | | -__all__ = ['dots', 'alpha','shapes','pushpin'] |
| 10 | +__all__ = ['dots', 'alpha','shapes','pushpin','paddle'] |
11 | 11 |
|
12 | 12 |
|
13 | 13 | class Icon(object): |
@@ -62,3 +62,23 @@ def __getattr__(self, item): |
62 | 62 | options=['blue-pushpin', 'grn-pushpin', 'ltblu-pushpin', 'pink-pushpin', |
63 | 63 | 'purple-pushpin', 'red-pushpin', 'wht-pushpin', 'ylw-pushpin'] |
64 | 64 | ) |
| 65 | + |
| 66 | +paddle = Icon( |
| 67 | + base_url='//maps.google.com/mapfiles/kml/paddle/{0}.png', |
| 68 | + options=['1-lv','2-lv','3-lv','4-lv','5-lv','6-lv','7-lv','8-lv','9-lv','10-lv', |
| 69 | + '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', |
| 70 | + 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K' |
| 71 | + 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', |
| 72 | + 'X', 'W', 'Y', 'Z', |
| 73 | + 'blu-blank-lv', 'blue-blank', 'blu-circle-lv', 'blu-circle', 'blu-diamond-lv', 'blu-diamond', 'blu-square-lv', 'blu-square', 'blu-stars-lv', 'blu-stars', |
| 74 | + 'grn-blank-lv', 'grn-blank', 'grn-circle-lv', 'grn-circle', 'grn-diamond-lv', 'grn-diamond', 'grn-square-lv', 'grn-square', 'grn-stars-lv', 'grn-stars', |
| 75 | + 'ltblu-blank', 'ltblu-circle', 'ltblu-diamond', 'ltblu-square', 'ltblu-stars', |
| 76 | + 'pink-blank', 'pink-circle', 'pink-diamond', 'pink-square', 'pink-stars', |
| 77 | + 'purple-blank', 'purple-circle-lv', 'purple-circle', 'purple-diamond-lv', 'purple-diamond', 'purple-square-lv', 'purple-square', 'purple-stars-lv', 'purple-stars', |
| 78 | + 'red-circle-lv', 'red-circle', 'red-diamond-lv', 'red-diamond', 'red-square-lv', 'red-square', 'red-stars-lv', 'red-stars', |
| 79 | + 'white-blank', 'wht-blank-lv', 'wht-circle-lv', 'wht-circle', 'wht-diamond-lv', 'wht-diamond', 'wht-square-lv', 'wht-square', 'wht-stars-lv', 'wht-stars', |
| 80 | + 'yellow-blank', 'ylw-blank-lv', 'ylw-circle-lv', 'ylw-circle', 'ylw-diamond-lv', 'ylw-diamond', 'ylw-square-lv', 'ylw-square', 'ylw-stars-lv', 'ylw-stars', |
| 81 | + 'orange-blank', 'orange-circle', 'orange-diamond', 'orange-square', 'orange-stars', |
| 82 | + 'go-lv', 'go', 'pause-lv', 'pause', 'stop-lv', 'stop', 'route' |
| 83 | + ] |
| 84 | +) |
0 commit comments