Low Activity

News

  Analyzed 5 days ago based on code collected 5 days ago.
 
Posted 3 days ago by radioman
/// <summary>
/// NotImplemented
/// </summary>
/// <param name="placemark"></param>
/// <param name="pointList"></param>
/// ... [More] <returns></returns>
public GeoCoderStatusCode GetPoints(Placemark placemark, out List<PointLatLng> pointList)
{
throw new NotImplementedException("use GetPoints(string keywords...");
} [Less]
Posted 3 days ago by radioman
remove: gMapControl1_Load

then
GMapOverlay routesOverlay = new GMapOverlay("routes");

public Form1()
{
InitializeComponent();

gmap.MapProvider = GMapProviders.GoogleMap;
gmap.Overlays.Add(routesOverlay);
}
Posted 3 days ago by radioman
p.s. you can try manually call:
GMapProviders.GoogleMap.OnInitialized();
Posted 6 days ago by ajarpa
I have a problem with the geocoder in my app.
In the GetPoint I need a placemark.
in my case i need to put "address[0]", that is a string, and also the string itself is a placemark to.
The program doesn't allow me to put a ... [More] string even if it is a placemark.
What can i do?

GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
PointLatLng? pos = GMapProviders.GoogleMap.GetPoint((addresses[0]), out status); [Less]
Posted 6 days ago by muscken
Hi,
Thank you very much for this great job!
I'm trying to do a test wf application reading your tutorial.
i've add one simple marker and a basic route in one overlay.
there are some problems:
1)first click on button1
the route ... [More] doesn't appear untill i resize the map

2)Resize form
marker disappear and route appear

3)scroll map,resize map, re-click on button1
marker appear in a different position.

whats'wrong?thank you.
this is my simple code
namespace TestMap {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}

private void gMapControl1_Load(object sender, EventArgs e) {
// Initialize map:
gmap.MapProvider = GMap.NET.MapProviders.GoogleMapProvider.Instance;
GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerOnly;
gmap.Position = new PointLatLng(44.731532, 11.290816);
gmap.CanDragMap = true;
}

private void simpleButton1_Click(object sender, EventArgs e) {
PointLatLng start2 = new PointLatLng(44.731532, 11.290816); ;
PointLatLng end2 = new PointLatLng(44.755298, 11.308620);
MapRoute route2 = GMap.NET.MapProviders.GoogleMapProvider.Instance.GetRoute(
start2, end2, false, false, 15);
GMapRoute r2 = new GMapRoute(route2.Points, "My route");
GMapOverlay routesOverlay = new GMapOverlay("routes");
routesOverlay.Routes.Add(r2);
GMarkerGoogle marker = new GMarkerGoogle(new PointLatLng(-25.966688, 32.580528),GMarkerGoogleType.blue_pushpin);
marker.ToolTipText = "Test Marker";
routesOverlay.Markers.Add(marker);
gmap.Overlays.Add(routesOverlay);
}

}
} [Less]
Posted 6 days ago by radioman
use release build
Posted 6 days ago by Padrone
i did not mean marker,
labels like street name or place info on satellite maps
Posted 6 days ago by XWDxel
The operation:
MapProvider = GMapProviders.GoogleHybridMap
takes too long and freezes the UI,
I tried to wrap it with Task to run async but then i get exception "Parameter count mismatch".

How can I make it load async properly?
Posted 6 days ago by radioman
markers doesn't depend on any provider
Posted 6 days ago by radioman
hi
my application sometimes gives this error and a red cross appears instead of gmapcontrol
why this happens?
thanks

```
Arithmetic operation resulted in an overflow. at ... [More] GMap.NET.Internals.Tile.<get_Overlays>d__0.MoveNext()
at GMap.NET.WindowsForms.GMapControl.DrawMap(Graphics g)
at GMap.NET.WindowsForms.GMapControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
```
Comments: in different thread? Or you use report progress event? [Less]
 

 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.