path.colorNet = Color.Black;<br /> path.weight = 3;<br /> path.alpha = 150;
private void plotPoints() { GLatLng latLng = new GLatLng(-38, 176); StaticGMap1.GCenter = latLng; StaticGMap1.GZoom = 6; path = new StaticPath(); path.points.Clear(); path.colorNet = Color.Black; path.weight = 3; path.alpha = 150; StaticGMarker.ColorEnum color = (StaticGMarker.ColorEnum)3; StaticGMarker.SizeEnum size = (StaticGMarker.SizeEnum)2; path.points.Add(new GLatLng(-41.360319, 174.781494)); path.points.Add(new GLatLng(-40.9301, 175.6714)); path.points.Add(new GLatLng(-40.346544, 175.627441)); StaticGMap1.addStaticPath(path); } protected void Page_Load(object sender, EventArgs e) { plotPoints(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)