GMap.NET is a simple server control to allow easy implementation of google maps into any C# or VB.NET project without the use of any code and includes seamless integration with a .Kml file.
Questions tagged [gmap.net]
270 questions
20
votes
2 answers
gmap dragging using left mouse button
I'm using the gmap.net control to display the maps on windows forms.as of now everything works fine except the map dragging functionality.in general map dragging is supported with Left-Mouse Button , but in gmap.net control dragging is supported…

Sudhakar Tillapudi
- 25,935
- 5
- 37
- 67
17
votes
1 answer
How can I make the map be infinite in GMap.NET?
I am writing a WinForms app using GMap.NET Windows Forms. I noticed that the map is finite. It does not show anything to the east of Australia, for example:
Notice the white bit on the right.
This is my code to create the map (not including the…

Sweeper
- 213,210
- 22
- 193
- 313
13
votes
1 answer
How to update/refresh overlays in GMap?
I have this problem:
I have a list of points List and an overlay where a trajectory of the points is shown. I also use TabPages and inside one page there is the gMapcontrol. Unfortunately the trajectory is updated only when the page is…

Okenite
- 189
- 1
- 10
8
votes
3 answers
GMap .net offline
I'm developing an application using Gmap in c# (great API, btw), not to confuse with google-map API, and I did some really cool and useful stuff ever since.
My problem is that some of my clients won't have an internet connection, and that is why I…

Damien Chaudois
- 83
- 1
- 1
- 6
8
votes
2 answers
Location information where mouse click on the map GMap.net
I'm working on Win Forms application along with GMap.net(a library that enables us to use Google Maps in Win Forms Application). Coming straight to the point, I be able to get the coordinates i.e (Latitude and Longitude) where my mouse click (left…

Zeeshan Ajmal
- 880
- 1
- 16
- 29
6
votes
2 answers
GMap.NET.GMapControl with custom map provider?
I want to use another map provider in my GMapControl.
For example, I can use GoogleMap:
GMapControl myMapControl = new GMapControl();
myMapControl.MapProvider = GMapProviders.GoogleMap;
All build-in map providers are stored in GMapProviders.
How…

Binakot
- 298
- 5
- 15
6
votes
2 answers
Gmap.Net Marker at incorrect position but when the map is zoomed the marker goes to right place
I've a Windows Forms Application with a Gmap.Net controller, what I want to do is to add markers based on an outside sources that provides locations. The thing is that when I add a marker is initially drawn in an incorrect location, but after I zoom…

Guillermo Oramas R.
- 1,303
- 2
- 14
- 31
6
votes
2 answers
Overlays in GMap.Net Wpf
I am building an application that needs a tool for rendering a geographic map, in addition the application needs the tool to provide a way for adding custom overlays.
I found GMap.Net to be a great tool for the job.
I found a lot of WinForm examples…

Matan Givoni
- 1,080
- 12
- 34
6
votes
1 answer
Gmap.net marker removal
I am using the GMap.NET code for maps and markers. Adding markers and doing anything with the map hasn't been the problem its removing a single marker from the map I am having issues with. I researched everywhere on Google to remove a marker from…

Solorn
- 101
- 2
- 2
- 6
6
votes
2 answers
How to return Lat/Long with MouseMove in GMap.net
I am trying to put together a c# program with GMap, and I'd like the coordinates where the mouse is to show up on the bottom of the screen. I've added an OnMouseMove method to the form, and I do get coordinates out, but only if the mouse is not…

user2791846
- 61
- 1
- 2
6
votes
1 answer
How does Gmap.net cache works?
I´m using the GMAP.net library in a project and I found it was a powerful tool. It´s cache facility made it a real profit to my project. Anyway, I need if someone can tell me a little bit of how that cache works. As far as I tested it, I can see…

NicoRiff
- 4,803
- 3
- 25
- 54
5
votes
1 answer
GMap - cannot detect clicking on polygon
IsMouseOverMarker property detects clicking on marker just fine, but when trying to use IsMouseOverPolygon property of GMap Control to detect if user clicked on polygon line - it doesn't seem to be working.
Note: PolygonEnabled property of GMap…

InitK
- 1,261
- 13
- 21
5
votes
5 answers
GMap.NET route is returning null
I'm working on a programme with C# and I want to calculate the route, but it's returning null.
Here's my code ;
PointLatLng start = new PointLatLng(38.481858, 27.089006);
PointLatLng end = new PointLatLng(38.468447, 27.113793);
MapRoute route =…

ilke kalkan
- 101
- 1
- 8
5
votes
2 answers
can I add a control in system.drawing, e.g a button perhaps?
using System.Drawing;
using System.Drawing.Drawing2D;
namespace WindowsFormsApplication1
{
[Serializable]
public class GMapBaloonTool: GMapToolTip, ISerializable
{
public float Radius = 10f;…

AdorableVB
- 1,383
- 1
- 13
- 44
4
votes
9 answers
How to draw circle on the MAP using GMAP.NET in C#
I am using GMAP.NET in c#. I am able to display the map on the form, now i am trying to draw a CIRCLE mouse by clicking on a certian point, keeping the left mouse button and dragging the mouse upto specific place. Once the circle is drawn I want to…

Shax
- 4,207
- 10
- 46
- 62