luferau / labview-offline-maps

Just example illustrates how the offline geographical maps capabilities can be added to Labview (using .Net control)
MIT License
8 stars 0 forks source link

Making the Map Follow the Points #4

Closed gogoben123 closed 2 months ago

gogoben123 commented 2 months ago

Hi luferau,

Is there a way to edit either the LabVIEW code or C# code in order for the map to follow the points like a GPS?

I'm looking for the map to automatically zoom to a certain level and then center around a point that was input.

gogoben123 commented 2 months ago

I figured it out.

I added this code to AddPoint:

this.radMap.Zoom(13, true); PointG location = new PointG(point.Latitude_deg, point.Longitude_deg); this.radMap.MapElement.BringIntoView(location);