xbgmsharp / vuestic-postgsail

PostgSail frontend in VueJs with vuestic-ui
MIT License
7 stars 4 forks source link

Map: show simple dot as marker on path #105

Closed lukarenko closed 7 months ago

lukarenko commented 8 months ago

Suggestion to use simple marker instead of sailboat which clutters the image

Before:

image

After:

image
xbgmsharp commented 8 months ago

Technically, It is suppose to be a sailboat or a motorboat icon, could more options. Agreed there is too many point display, for long logs. I was thinking to display one out of two.

lukarenko commented 8 months ago

But it does not make sense to have multiple boats shown on the same track, it is kind of misleading. Also you want indicators where you can get the popup with more data.

I would add sailboat/powerboat in timelapse on current position. Also, we could add different sailboat sail setup for apparent wind angle: close-hauled, beam reach, broad reach, run https://www.kavas.com/media/wysiwyg/sail_chC1.jpg

When you select particular point on the track, we could overlay the sailboat with sail setup. I think that would be cool.

I think we should/could get all the data for the track points:

xbgmsharp commented 8 months ago

Sorry i am confused, it should display either a sailboat or a motorboat not both as it does not make sense. Currently, the following data is present in the geojson. More can be add.

      "properties": {
        "time": "",
        "notes": "",
        "latitude": ,
        "longitude": ,
        "speedoverground": ,
        "windspeedapparent": ,
        "courseovergroundtrue": 
      }
lukarenko commented 8 months ago

I agree, displaying sailboat or powerboat on track does not make sense if sailing/motoring. As I already said, I would display only one boat at a time on the map - only on current location (like in timelapse), but not on each track point. I would use then different color for sailing (let say green) than motoring (let say blue) for the track between points.

Regarding geojson: it would be great if we could add these three fields:

That way, we could:

  1. show sailboat on the current position with sail configuration:

  2. show wind arrow and direction in corner/legend of the map

xbgmsharp commented 7 months ago

I like the concept of the dot on map instead of a sailboat or motorboat. However it should be an option in the preference. Let discuss on how we can improve. In the meantime will close this as it conflict the latest change on the map