[Script] WME Street View Availability (2.1.1)

I found the time to fix the issue. While doing so, I noticed that Waze added programmatic events for when the Street View marker gets dragged and when the Street View window is displayed, which allowed me to completely rewrite the script using just the SDK. This should mean that this script will continue to work no matter which changes Waze does (as long as the SDK remains stable, which it should).

One thing I couldn’t port over to the SDK was putting the layer checkbox in the “Roads” layers group. The checkbox is now located under the default “Userscripts” section. This looks like an acceptable trade-off to me.

7 Likes

Today’s WME prod release is causing the blue lines to not show.

It seems that the new shortcut to add a traffic light clashes with WME Street View Availability’s shortcut. I’ve had to change it from Shift+T to Alt+T, and I’ve added error catching around the bit of code that tries to add the shortcut to prevent future issues from causing issues.

2 Likes

I’ve installed the script and enabled the layer, but I’m not seeing any highlighting where street view is available, for example:

https://waze.com/editor?env=row&lat=12.10267&lon=-86.26633&zoomLevel=21&segments=197752927

For some reason, the map service Google provides indeed doesn’t return any Street View lines in that area. It just returns a 1 by 1 pixel image with no additional data. I don’t know why this happens, but I’m afraid there is nothing I can do about this. I’m not aware of any region-specific servers or special parameters I should set for certain regions.

Sometimes when this comes up, it’s because the Street View imagery is still very fresh and there’s a bit of a delay between the addition of the images and the appearance in that map layer. But here, I can see that the Street View is often already several years old.