dpaulat / supercell-wx

Supercell Wx is a free, open source advanced weather radar viewer.
https://supercell-wx.rtfd.io
MIT License
85 stars 14 forks source link

Dropping Pins or Markers on the Map #202

Open edyson07 opened 1 month ago

edyson07 commented 1 month ago

Is your feature request related to a problem? Please describe. I track storms for friends and family all over the country. Currently, I have to cross-reference another map to know where they're at so that I can make accurate predictions based on their location.

Describe the solution you'd like I'd like the ability to drop pins or markers on the map (similar to GR's "home" and "marker"). A hotkey like Alt+Click could place a pin on the map where the cursor currently is. Further enhancements could include selecting and measuring from the pin.

Describe alternatives you've considered N/A

Additional context N/A

HarvestSnowpaw commented 1 month ago

I would love this functionality! I too like to keep an eye on friends and family and that would make things much easier!

JoshCodeStuff commented 1 month ago

I second this! Also maybe adding a feature that allows you to "save" a default map view in a specific place, rather than a station.

AdenKoperczak commented 3 days ago

This would be a great feature, but if you want markers now, placefiles can do it. Bellow is a template I put together for this. {title} is the title that Supercell-WX will display, {path_to_icon} is a path or URL to a 16x16 PNG (noting that using a path does not seem to work on Linux). {lat*}, {lon*}, and {name*} are a latitude, longitude, and name (tool-tip) respectively for a location. You can get the coordinates by hovering your mouse over a location on Supercell-WX, and hitting CTRL-C. You can add as many locations as you want. Just put this into a .txt file someplace on your computer, and add it to Supercell-WX as a placefile, and you are good. There is a lot more you could do. Here is the placefile specification, if you want to take a look: https://www.grlevelx.com/manuals/gis/files_places.htm.

Title:          {title}
Threshold:      600
RefreshSeconds: 86400
Color:          255, 255, 255
IconFile:       1, 15, 15, 8, 8, {path_to_icon}
Font:           1, 11, 1, "Arial"

Icon: {lat1}, {lon1}, 0, 1, 1, "{name1}"
Icon: {lat2}, {lon2}, 0, 1, 1, "{name2}"
Icon: {lat3}, {lon3}, 0, 1, 1, "{name3}"