Quantcast
Channel: GMap.NET - Great Maps for Windows Forms & Presentation
Viewing all 3384 articles
Browse latest View live

Released: Hot Build (May 19, 2015)


Updated Release: Hot Build (May 19, 2015)

Created Unassigned: 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl [16121]

$
0
0
Hi.
I have a problem
When i try to build my application i receive the following error:


__Error 40 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl'.__
at
GMap.NET.WindowsForms.HelperLineOptions.DontShow
and
GMap.NET.MouseWheelZoomType.MousePositionWithoutCenter
and
GMap.NET.WindowsForms.ScaleModes.[Integer]
in designer

When i put Global like this Global.GMap.NET.WindowsForms.HelperLineOptions.DontShow
everything is ok until next time when i try to build the application.
Please help.

New Post: Multi-Touch zoom in WPF

$
0
0
I could not find a way to get it working, so I had to use the Forms version of GMap. This has some issues in that Visual Studio and Blend will not render the window if the control is used, so I have to keep commenting it out every time I need to make other changes to the Window the control is embedded in.

If you do a google search you will be able to find how to use a forms control in a WPF Window.

New Comment on "How to generate static map image"

$
0
0
Is there some of the source code for this form app available to understand the methods used for these actions you are showing? I am trying to incorporate some of the tools you are demonstrating in this video and I am having trouble. Mainly I like how the map can get textual information about your click point.

New Post: GMAP.net in Labview: FromLocalToLatLng

$
0
0
Hi
I have successfully integrated the GMAP.net dll with LABVIEW. I have encountered one problem though; when using FromLocalToLatLng function, it returns coordinates which are slightly offset.
Has anybody else seen this issue?
Kind regards.

New Post: GMAP.net in Labview: FromLocalToLatLng

$
0
0
..how do you know there is an offset?

Closed Unassigned: 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl [16121]

$
0
0
Hi.
I have a problem
When i try to build my application i receive the following error:


__Error 40 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl'.__
at
GMap.NET.WindowsForms.HelperLineOptions.DontShow
and
GMap.NET.MouseWheelZoomType.MousePositionWithoutCenter
and
GMap.NET.WindowsForms.ScaleModes.[Integer]
in designer

When i put Global like this Global.GMap.NET.WindowsForms.HelperLineOptions.DontShow
everything is ok until next time when i try to build the application.
Please help.
Comments: using GMap.NET; using GMap.NET.WindowsForms;

Commented Unassigned: 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl [16121]

$
0
0
Hi.
I have a problem
When i try to build my application i receive the following error:


__Error 40 'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl'.__
at
GMap.NET.WindowsForms.HelperLineOptions.DontShow
and
GMap.NET.MouseWheelZoomType.MousePositionWithoutCenter
and
GMap.NET.WindowsForms.ScaleModes.[Integer]
in designer

When i put Global like this Global.GMap.NET.WindowsForms.HelperLineOptions.DontShow
everything is ok until next time when i try to build the application.
Please help.
Comments: Hi. Thank you. My code is in vb.net. I use: Imports GMap.NET Imports GMap.NET.WindowsForms on form with gmap control. And error still exist. When i put Global everything work until i change some property of gmap example MouseWheelZoomType.

New Post: GMAP.net in Labview: FromLocalToLatLng

$
0
0
Hi Radioman

I compared the coordinates I received back with coordinates I got off Google maps for the same spot. What's interesting though, is that I went further and tested the same scenario, but did it in C# as opposed to Labview and got a match between the two..so I'm kinda suspicious of the mouse coordinates that I'm getting back from Labview.

Kind regards
Werner

New Post: Markers movement

$
0
0
Hi, it's me again)
Help me please. I'm trying to do markers movement , but if i do it as in your example ( create Map.cs , xaml:src...), I get an error:
"The name Map does not exist in the namespace "clr-namespace:Flowers_WPF""
How can I do markers movement using standart GMapControl without src?

New Post: GMAP.net in Labview: FromLocalToLatLng

$
0
0
yes, you need coordinates relative to gmap control, not the application main form

New Post: Markers movement

New Post: Markers movement

$
0
0
If I use standart GMapControl, my Marker Class doesn't see this GMapControl when i write this code:
void Red_marker_MouseMove(object sender, MouseEventArgs e)
    {
        if (e.LeftButton == MouseButtonState.Pressed && IsMouseCaptured)
        {
            Point p = e.GetPosition(New_Address_Window.gmapAddress);
            // there is no gmapAddress in New_Address_Window
        }
    }

Reviewed: 1.7 (may. 21, 2015)

$
0
0
Rated 5 Stars (out of 5) - This is a great tool! It is really easy to use and it works perfect. I have implemented it in 15 minutes. Thanks!

New Post: Problem with adding Polygon in realtime

$
0
0
do not recreate polygon, instead add/insert/update/remove points

New Post: airplane bug not staying on path(route) when flying

$
0
0
Hi, I am using the control for aircraft navigation as well.
I can give you a hand if you can explain me better what you are trying to do. It seems like you don't have the actual coordinates of the aircraft, but instead you are forcing it to stay on a path. In that case you can just try to interpolate the coordinates between two way-points. Calculating the slope is never a good idea because it has some singularities. You can better work with vectors.

New Post: Problem with adding Polygon in realtime

$
0
0
The problem came up because I was adding the overlay over and over again....
Thanks for the hint radioman

Heres the code:
if (e.Button == MouseButtons.Left && Global.isDrawingPolygon)
            {

                polyOverlay.Polygons.Clear();
                
                double lat = gmap.FromLocalToLatLng(e.X, e.Y).Lat;
                double lng = gmap.FromLocalToLatLng(e.X, e.Y).Lng;

                
                if (Global.tmpPolygonList.Count == 0)
                {
                    Global.tmpPolygonList.Add(new PointLatLng(lat,lng));
                    polygon = new GMapPolygon(Global.tmpPolygonList, "myFirstpolygon");
                    polygon.Fill = new SolidBrush(Color.FromArgb(20, Color.White));
                    polygon.Stroke = new Pen(Color.Blue, 5);
                    
                    gmap.Overlays.Add(polyOverlay);
                }
                else
                {
                    polygon.Points.Add(new PointLatLng(lat, lng));
                }

                polyOverlay.Polygons.Add(polygon);
                gmap.UpdatePolygonLocalPosition(polygon);
            }

        }

New Post: Trouble with Google Satellite and Hybrid Map tiles at high zoom levels

$
0
0
Good day,

I have been using your great map control in my .Net 3.5 Windows Forms product for quite some time.
Recently my clients have started reporting that Google Satellite and Hybrid Map tiles are no longer working at higher zoom levels. I am using the source code from commit 76d7772bd36e (currently the latest).

All seems fine up until zoom level 14. Here are some of terse summaries from Fiddler:
Zoom 13, view area = RectLatLng: {Lat=-26.071586453171,Lng=27.9426956176758,WidthLng=0.282211303710938,HeightLat=0.0937124431450655}
GET http://mt2.google.com/vt/lyrs=h@298000000&hl=en&x=4736&y=4711&z=13&s=Galileo
200 OK (image/png)
GET http://mt1.google.com/vt/lyrs=h@298000000&hl=en&x=4737&y=4714&z=13&s=Galil
200 OK (image/png)
GET http://khm3.google.com/kh/v=132&hl=en&x=4735&y=4714&z=13&s=Galileo
200 OK (image/jpeg)

Zoom 14, view area = RectLatLng: {Lat=-26.0950216077775,Lng=28.0132484436035,WidthLng=0.141105651855469,HeightLat=0.0468562245480086}
GET http://khm0.google.com/kh/v=132&hl=en&x=9474&y=9423&z=14&s=Galil
404 Not Found (text/html)
GET http://khm2.google.com/kh/v=132&hl=en&x=9466&y=9422&z=14&s=Gali
404 Not Found (text/html)
GET http://mt2.google.com/vt/lyrs=h@298000000&hl=en&x=9474&y=9426&z=14&s=
200 OK (image/png)

Please could you help, this is causing my clients and I a lot of headaches.

New Post: Add image but like a polygon not marker

$
0
0
Do I need to create the mapcruncher or is there something out there? If there is, can I get the link?
Viewing all 3384 articles
Browse latest View live