Very Low Activity
3
I Use This!
Project Vulnerability Report

News

Analyzed about 22 hours ago. based on code collected about 22 hours ago.
Posted 7 days ago by LSEAP
Hi, there is an example of use GMap.Net on Android ? Regards
Posted 11 days ago by NDennis
I found a not so elegant way. Here it is unless someone has a better way. polyOverlay1 = new GMapOverlay("poly1"); RectLatLng map_area = gMapControl1.ViewArea; List<PointLatLng> points = new ... [More] List<PointLatLng>(); points.Add(new PointLatLng(map_area.Top, map_area.Left)); points.Add(new PointLatLng(map_area.Top, map_area.Right)); points.Add(new PointLatLng(map_area.Bottom, map_area.Right)); points.Add(new PointLatLng(map_area.Bottom, map_area.Left)); GMapPolygon polygon = new GMapPolygon(points, "mypolygon"); polygon.Fill = new SolidBrush(Color.FromArgb(90, Color.White)); polygon.Stroke = new Pen(Color.Red, 1); polyOverlay1.Polygons.Add(polygon); gMapControl1.Overlays.Add(polyOverlay1); polyOverlay1.IsVisibile = true; [Less]
Posted 11 days ago by NDennis
I found a not so elegant way. Here it is unless someone has a better way. polyOverlay1 = new GMapOverlay("poly1"); RectLatLng map_area = gMapControl1.ViewArea; List<PointLatLng> points = new ... [More] List<PointLatLng>(); points.Add(new PointLatLng(map_area.Top, map_area.Left)); points.Add(new PointLatLng(map_area.Top, map_area.Right)); points.Add(new PointLatLng(map_area.Bottom, map_area.Right)); points.Add(new PointLatLng(map_area.Bottom, map_area.Left)); GMapPolygon polygon = new GMapPolygon(points, "mypolygon"); polygon.Fill = new SolidBrush(Color.FromArgb(90, Color.White)); polygon.Stroke = new Pen(Color.Red, 1); polyOverlay1.Polygons.Add(polygon); gMapControl1.Overlays.Add(polyOverlay1); polyOverlay1.IsVisibile = true; [Less]
Posted 11 days ago by NDennis
I want to put a polygon that covers a gMapControl perfectly. But I cannot find a way to size it (like polygon.ViewArea = gMapControl.ViewArea). And do I have to figure out how to zoom the polygon when the gMapControl zooms? Thanks for any help. I've been trying to get this for many hours.
Posted 11 days ago by NDennis
I want to put a polygon that covers a gMapControl perfectly. But I cannot find a way to size it (like polygon.size = gMapControl.size). And do I have to figure out how to zoom the polygon when the gMapControl zooms? Thanks for any help. I've been trying to get this for many hours.
Posted 18 days ago by tuxy42
Is there any way to render custom image on map like a custom building map ? It seems overlays are limited to routes, polygons and markers. Is there a way to use them in this way ?
Posted 20 days ago by NDennis
Is there a way to give OpenStreetMaps several lat lng locations and have it calculate the best route? Like the Traveling Salesman problem. Thanks
Posted 20 days ago by NDennis
That did not work but it make me think and this works: r1.Stroke = new Pen(Color.Blue); Thanks RadioMan Dennis
Posted 20 days ago by radioman
r2.Stroke = new Stro... // or new one for each layer and reuse it
Posted 20 days ago by radioman
r2.Stroke = new Stro... // or new one for each layer and reuse it