MCPcopy Create free account
hub / github.com/MapServer/MapServer / Main

Method Main

mapscript/csharp/examples/HTMLtemplate.cs:44–58  ·  view source on GitHub ↗
(string[] args)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

usageFunction · 0.50

Tested by

no test coverage detected