leeuwte / home-assistant-p2000

9 stars 5 forks source link

Feature request: feature empty lon/lat if not in range NL and feature only show incidents within variable radius from Home lon/lat #14

Open ArnolddeBolster opened 3 months ago

ArnolddeBolster commented 3 months ago

If there is no lon/lat filled in an incident, the incident is shown nearby Africa (lon/lat 0.00000/0.0000). it would be nice if the lon/lat attribute would be left empty so the incident is not shown on a map or leave lon/lat empty if the lon/lat is not in range of the lon/lat of Netherlands. (Netherlands is located at latitude 52.132633 and longitude 5.291266 https://www.geodatos.net/en/coordinates/netherlands)

And also an welcome addiotional feature would be nice, if possible, to filter and show incidents only in a variable radius from Home point.

ArnolddeBolster commented 3 months ago

This happens when lon/lat have value 0.00000 and marked neerby Africa. When value 0.00000 is transposed to 0 then it's not shown on map, and that would be a better solution. image

ArnolddeBolster commented 3 weeks ago

Hi, did you find a solution for it or isn't it possible to leave lon/lat blanc if lon/lat is 0.00000/0.00000