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

Project points without tracing a trajectory (only show positions, not connected) #3

Open luferau opened 5 months ago

luferau commented 5 months ago

Youtube issue reported.

@michelfavero7791 That's awesome, but how to project points without tracing a trajectory (only show positions, not connected)

luferau commented 5 months ago

You need to change and recompile .Net OfflineMaps.Controls.dll library. As you can see in https://github.com/luferau/labview-offline-maps/blob/main/vs/OfflineMaps.Controls/OfflineMapControl.cs there is public void AddPoint(PointData point) method that is used from LabVIEW to add new point and path simultaneously. Method use private void AddPinLocal(double latitude_deg, double longitude_deg, object tag, string text, Color color) method to add new point. You need to make this method public and after this you will be able to use it from LabVIEW to only create new points without path.