upfrontsoftware / izinto-angular

0 stars 0 forks source link

Ad more Icons, or make clear where all Icons are located and a comprehensive list for use #210

Open GronumSmith opened 4 years ago

GronumSmith commented 4 years ago

Currently we have the following Icons on Maps (and will possibly use these elsewhere in future (e.g. compact table)) image These are also same ones used on Pin.

They are called from this list image through this command image Here the source: http://erikflowers.github.io/weather-icons/ For general use DT should also offer another list: "comprehensive" one can expand list but here I can think of quickly. 1) Battery 2) Signal Strength 3) Flow (electricity or water) 4) Pressure (there is one from Erik used in weather context) 5) RPM and other Industrial ??

rochecompaan commented 4 years ago

@GronumSmith you will notice on the template map (https://dashtweak.com/dashboards/162/view) that we removed the selection of parameters since they are not entirely compatible with how leaflet works. In the original example you linked to at https://ahorn.lima-city.de/owm/ in #107 the checkboxes are for tile layers and you cannot force the selection of a single layer without hacking leaflet.

Previously we "hijacked" the map layers (satellite, street map, etc) to make variable selection possible, but since we are now using the map layers to make satellite map selection possible, we can't use that anymore.

Please review https://dashtweak.com/dashboards/162/view for the current map implementation.

GronumSmith commented 4 years ago

Hi Roche: OK in can understand that you dont like hacking Leaflet. But the functionality to get easily to different parameters is really important. it is not only for weather forecasting (in fact for a single site e.g. MountCeder or Akkerdal) the weather will be the same. For a National View: Magnus Mega ... it will make sense. At Mount Ceder there is a need to see soil moisture at many probes, currenty they only have one but are looking for more: https://grafana.izinto.cloud/d/QjhdCHvWz/soil-moisture-zones?orgId=1 Seems as if we need to discuss to get consensus .

rochecompaan commented 4 years ago

Multiple parameters are already shown in the popup for each pin and one can easily add more info to the popup, so why does one have to toggle them individually and adjust the pins and icons too?

You are of course more than welcome to use our first implementation where you could toggle between parameters but that would exclude map layer selection (satellite vs street map).