I'm here!
The alert pop ups will appear when an alert is within the radar cone, and is less than 1 mile away or has an ETA of less than a minute. In order to try to reduce the number of false positives when travelling on highways, when the vehicle speed exceeds 55 mph (88 km/h), the radar cone narrows from 90 degrees (45 degrees to the left and right of the direction of travel) to 45 degrees (22.5 degrees to the left and right of the direction of travel).
I did a good bit of testing to finally arrive at those parameters. Certainly it's not perfect, but for the most part it works pretty well. I also added the ability to dismiss the alert pop-ups one-by-one, which also helps. If you see a false positive pop up, you can just tap on it to dismiss it.
I'll look into adding road hazards and road closings. It would take a bit of work, because of the manner in which everything is geared specifically toward police alerts. It should be possible to do though. I look forward to hearing how your trip went!
In the past few weeks, I've made many updates. A couple of months ago, the map makers stopped working. Google made some changes to their map API that broke them. I updated the app to use
Mapbox instead of Google maps, and the markers were working once again.
Not long after that, the latest Tesla firmware totally broke the app, and I ended up completely rewriting it to work with the new browser. Last week, I made more updates to allow the old browser/firmware to work with the new code, so now everyone can benefit from the latest features.
The rewrite allowed me to add some new improvements to the app:
- The indicators on the map to show the direction of travel have been removed, in favor of the addition of the radar cone and circles to the map -- this makes it MUCH easier to tell the direction of travel on the map, and the relative locations of alerts
- When you tap and drag to pan the map, it stops tracking the vehicle, and a recenter button appears; tapping the recenter button will resume tracking the vehicle on the map
- Alerts outside of the warning cone now appear gray
- Alerts on the map now appear the same color as they do on the radar
- Gray - They are outside the radar warning cone
- Green - They are inside the radar warning cone, over 2 mi. (3.2 km) away
- Yellow - They are inside the radar warning cone, less than 2 mi. (3.2 km) but more than 1 mi. (1.6 km) away
- Red - They are inside the radar warning cone, either less than 1 minute away or less than 1 mi. (1.6 km) away; red alerts will cause the screen to flash red and blue
- When warnings are flashing the screen red and blue, they are now dismissable one-by-one; when the last one is dismissed, the screen no longer flashes red and blue
- The app now continues to function properly when coming back to the car, even overnight
- The app will check for updates every 6 hours, and reload if a new version is detected