Google Map Subgurim Show Arrowed Polyline

iand

New Member
I am using Subgurim asp.net control for Google Maps in ASP.net.The Problem is that I need to show an ARROWED POLYLINE betwwen my two points on map.Following is my code , but unfortunately I am not able to apply anything for that:\[code\]GLatLng from = new GLatLng(FromLan, FromLon);GLatLng To = new GLatLng(ToLan, ToLon);GLatLngBounds llbound = new GLatLngBounds(from, To);GMap2.GZoom = GMap2.getBoundsZoomLevel(llbound);GMap2.setCenter(llbound.getCenter());GLatLng inside = llbound.getCenter();bool isInside = llbound.contains(inside);GPolyline objpolyline = new GPolyline();objpolyline.points.Add(from);objpolyline.points.Add(To);objpolyline.color = "red";objpolyline.colorNet = System.Drawing.Color.Red;objpolyline.clickable = false;objpolyline.PolylineID = "Route";objpolyline.geodesic = true;//Javascript Code//pts1.push (new GLatLng(lat111, lng222));//var poly1 = new BDCCArrowedPolyline(pts1,"#FF0000",4,0.3,// null,30,7,"#0000FF",2,0.5);//map.addOverlay(poly1);GMap2.addPolyline(objpolyline);//GMap2.addPolyline(objpolyline);\[/code\]Regards ,Vishal
 
Back
Top