VB .NET and mappoint 2004

Ace Master
11-04-2003, 08:55 AM
Hi to all.

I'm a newbye in mappoint and a medium programmer in vb. I want to make a small application in vb and mappoint for GPS tracking purposes.

I want to know if somebody make this possible because I search this forum for concrete answers and I didn't find one.

Anyway…I will receive in a mysql database some lat. and long values and with that I will make the application working. This is at least the first step in my app.

Or is somebody have a tiny little demo code (only net because I founded for vb6 but I have only vb.net) to see how is ActiveX working?

Thanks a lot.

Ace Master
11-05-2003, 01:51 AM
Hi .

I made my mappoint integration control in vb workspace, and now I want if anybody knows ...something simple..... I guess.

I have this two textboxes for lat and long and a button. After I insert the lat and long values and I press the button, on the map to have a small "bullet" in center of the map, and to have zoom on it.

any ideeas ??

thanks.

Anonymous
11-19-2003, 06:53 AM
Nobody knows how to make this ?

I really need that , and can't find it anyware.

I have this text file with gps data ( ex: 44.25115 , 28.54817) and I need to put the waypoint to the map from this values.

Will be one ore more waypoints.

Thanks a lot

John Meyer
11-19-2003, 09:45 AM
Here is something to try.

Try
Dim omap As MapPoint.Map
Dim oloc As MapPoint.Location
Dim opin As MapPoint.Pushpin
omap = AxMappointControl1.ActiveMap
oloc = omap.GetLocation(44.25115, 28.54817, 250)
opin = omap.AddPushpin(oloc, "Pushpin1")
opin.BalloonState = MapPoint.GeoBalloonState.geoDisplayBalloon
opin.Location.GoTo()

Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Anonymous
11-25-2003, 02:51 AM
I have a question though. In my app. is a better solution to use waypoints, not pushpins. Or if I use pushpins it is possible to make the pushpins colored in different ways or the labels? And of course all the pushpins to be fixed. No drag and drop.

Thanks

 
Web mp2kmag.com
mapforums.com