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

New Post: TO RADIOMAN: How to access the map during offline?

$
0
0

Hi Radioman,

Good day.

I would like to inquire on how to access the map eventhough I am offline.

I have a program that uses your map but it only works when I am connected to the internet. When I have no internet, it only shows blue screen. The message shown is "Exception: The remote name couldn't be resolved mt1.google.com. We are sorry but we don't have imagery at this zoom level for this region."

How can I store the gmdb file to the cache even though I have no internet connection?

Please give me guidelines or sample procedures.

Thanks.

 

Jeff Jaret


New Post: TO RADIOMAN: How to access the map during offline?

$
0
0

map.Manager.Mode = AccessMode.CacheOnly;

New Post: route through the given points

$
0
0

hi all!

is it possible to get a route through the given points? for exmpl, i want route from London to Ely through Bedford. 

I tried to add "via" statement for url.. Did't help(

http://maps.google.com/maps?f=q&output=dragdir&doflg=p&hl=en&mra=ls&dirflg=d&q=&saddr=@London&daddr=@ely&via=@Bedford

what's wrong? or mb this func already included in the last svn version?

thanks!

New Post: Address by marker position

$
0
0

i want to know how too, how to use this map provider function.

New Post: route through the given points

New Post: Trouble with SetCurrentPositionByKeywords()

$
0
0

Agreed, that is the method I was using to find the message. The results are message box that shows the following text:

"The type initializer for 'GMap.NET.MapProviders.GMapProviders' threw an exception."

Looking further, it looks like I'll need to add my new source to GmapProviders. If I initialize to my map source (not in GmapProvders) I encounter an exception upon attempting to change map types.

Otherwise, is it possible to set a Control.MapProvider property to something other than an element in the GmapProviders enum?

Thank you for your time.

New Post: Trouble with SetCurrentPositionByKeywords()

$
0
0

?

try
{
map.SetCurrentPositionByKeywords("usa");
}
catch
(Exception ex)
{
MessageBox.Show(ex.InnerException.Message);
}

New Post: Trouble with SetCurrentPositionByKeywords()


New Post: Trouble with SetCurrentPositionByKeywords()

$
0
0

It looks like rev "dbfffa5b4adc" is the 1.6 release. I'll try using that source code.

New Post: Rotate Marker (and Custom Marker)

$
0
0

First I congratulate you for this excellent control that you has given life, on the other hand I apologize for my English (Isn´t good).

The situation: I'm trying to rotate a marker using Bearing property as I have been seeing in your answers Radioman, but I had no luck in my attempts and I´m worried because you indicate in your comments that is working. Could you confirm this? and if you were so kind to tell me: In which version is working?

Grateful for a reply. Best regards

New Post: Rotate Marker (and Custom Marker)

$
0
0

it works in last release, hot build version requires to rotate markers image

New Post: Rotate Marker (and Custom Marker)

$
0
0

Thanks by your quick answer :D

When you said last release you mean: http://greatmaps.codeplex.com/downloads/get/517982 or http://greatmaps.codeplex.com/releases/view/20235 ???

Cause I test the one in first link and nothing hapens when I set myMarker.Bearing= myBearing; or do I need to do something else?

Thanks a lot

New Post: Rotate Marker (and Custom Marker)

$
0
0

latest version GMarkerGoogle bearing is disabled, you have to create custom marker with custom rotation, or modify the code...

New Post: Rotate Marker (and Custom Marker)

New Post: GMarker with 2 PointLatLng

$
0
0

Hello radioman,

is it possible to give 2 Geopoints to a marker?

 I want to draw 2 Icons on the map, but they should work as one Marker. First Position is no problem, but the second position is far away...

 

do you have some idea?

 

Imports GMap.NET
Imports GMap.NET.WindowsForms
Imports GMap.NET.WindowsForms.Markers
Public Class Test_Marker
    Inherits GMapMarker


    Public Property Point2 As PointLatLng


    Public Sub New(ByVal p1 As PointLatLng, ByVal p2 As PointLatLng)
        MyBase.New(p1)
        Point2 = p2

        Size = New System.Drawing.Size(My.Resources.Network_icon_32.Width, My.Resources.Network_icon_32.Height)
        Offset = New Point(-My.Resources.Network_icon_32.Width / 2, -My.Resources.Network_icon_32.Height / 2)

    End Sub


    Public Overrides Sub OnRender(ByVal g As Graphics)

        g.DrawImageUnscaled(My.Resources.Network_icon_32, LocalPosition.X, LocalPosition.Y)
        Dim LocalPosition2 As New Point()
        LocalPosition2.X = Form_Main.MainMap.MapProvider.Projection.FromLatLngToPixel(Point2, Form_Main.MainMap.Zoom).X
        LocalPosition2.Y = Form_Main.MainMap.MapProvider.Projection.FromLatLngToPixel(Point2, Form_Main.MainMap.Zoom).Y

        g.DrawImageUnscaled(My.Resources.Network_icon_32, px.X, px.Y)


    End Sub

End Class

 

bye EDE


New Post: Moving marker between 2 points

$
0
0

Hello ,

I would like to draw the marker to follow a route line (the one used by the pen in the Stroke).

I have 2 gps points for this route.

I try with : GMapProviders.GoogleMap.GetRoute without luck, since it seem to follow a logic.

Seem no way to have points in a straight line  between 2 points as long as I know.

Anyone?

Thanks

Created Issue: Load and show GPX tracks in map [16053]

$
0
0
Would be great if there were a possible to load GPX files and show them in the map.

New Post: Moving marker between 2 points

$
0
0

just add these two point and you'll get the straight line

Closed Issue: Load and show GPX tracks in map [16053]

$
0
0
Would be great if there were a possible to load GPX files and show them in the map.
Comments: there is button 'GPX' in demo to open it ;}

New Post: Moving marker between 2 points

$
0
0

This will not give me the points between them right?. I want to make something like a vehicule moving on the route. I pretty sure someone already try that.

Viewing all 3384 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>