(string[] args)
| 42 | } |
| 43 | |
| 44 | public static void Main(string[] args) |
| 45 | { |
| 46 | if (args.Length < 3) usage(); |
| 47 | |
| 48 | mapObj map = new mapObj(args[0]); |
| 49 | map.legend.template = args[1]; |
| 50 | map.web.imagepath = args[2]; |
| 51 | map.web.imageurl = ""; |
| 52 | string str = null; |
| 53 | string[] names = null, values = null; |
| 54 | names = new string[] {"map"}; |
| 55 | values = new string[] { args[0] }; |
| 56 | str = map.processLegendTemplate(names, values); |
| 57 | Console.Write(str); |
| 58 | } |
| 59 | } |
| 60 |