Esempio n. 1
0
    public static void Main(string[] args)
    {
        if (args.Length < 3) usage();
        
        mapObj map = new mapObj(args[0]);
		map.legend.template = args[1];
		map.web.imagepath = args[2];
		map.web.imageurl = "";
		string str = null;
		string[] names = null, values = null;
		names = new string[] {"map"};
		values = new string[] { args[0] };
		str = map.processLegendTemplate(names, values);
		Console.Write(str);
    }
Esempio n. 2
0
    public static void Main(string[] args)
    {
        if (args.Length < 3)
        {
            usage();
        }

        mapObj map = new mapObj(args[0]);

        map.legend.template = args[1];
        map.web.imagepath   = args[2];
        map.web.imageurl    = "";
        string str = null;

        string[] names = null, values = null;
        names  = new string[] { "map" };
        values = new string[] { args[0] };
        str    = map.processLegendTemplate(names, values);
        Console.Write(str);
    }