[Script] Live Map UR Layer v3.3 (20231011)
Posted: Wed Oct 17, 2012 6:15 am
This is a first stab at hacking together a UR/map problems layer for the Waze livemap view. This version is intended for users to test the core functionality required in such a layer - namely the ability for a third-party script to retrieve UR/problem data from the Waze server when no such data is already present on the page, and to then display it somehow over the existing map view.
After installation, you should see a new checkbox at the bottom of the Live Map window, titled "Update Requests". Tick this box to activate the script. Once active, the script monitors for any movement/zooming of the live map view, and requests the current UR/problem data from the Waze server for the area being viewed. The locations of any received URs are then plotted on the map as a small red/blue box (map problems are not plotted at present).
The Waze servers will not return any data for an area wider or taller than 1 degree of lat/lon, so if the livemap is zoomed out too far the script will only retrieve data for the central area. The area in which data is being requested should show up as a translucent yellow box.
Note that the Waze server will only return data if there is a logged-in user, and the data returned is filtered according to the editable areas assigned to that user - this script cannot display ALL the URs/problems in a given area, ONLY those that the logged-in user would be able to edit.
Userscript version for Tampermonkey etc: https://greasyfork.org/scripts/1948-livemap-ur-overlay
Due to a combination of the additional effort required to generate web store release packages, plus the increasingly overbearing control-freak behaviour exhibited by Google with regards their policing of web store content, I no longer maintain or support the web store versions of this script, and users should migrate to the Userscript version in order to continue receiving updates.
Chrome Web Store version: https://chrome.google.com/webstore/deta ... niefljookp
After installation, you should see a new checkbox at the bottom of the Live Map window, titled "Update Requests". Tick this box to activate the script. Once active, the script monitors for any movement/zooming of the live map view, and requests the current UR/problem data from the Waze server for the area being viewed. The locations of any received URs are then plotted on the map as a small red/blue box (map problems are not plotted at present).
The Waze servers will not return any data for an area wider or taller than 1 degree of lat/lon, so if the livemap is zoomed out too far the script will only retrieve data for the central area. The area in which data is being requested should show up as a translucent yellow box.
Note that the Waze server will only return data if there is a logged-in user, and the data returned is filtered according to the editable areas assigned to that user - this script cannot display ALL the URs/problems in a given area, ONLY those that the logged-in user would be able to edit.
Userscript version for Tampermonkey etc: https://greasyfork.org/scripts/1948-livemap-ur-overlay
Due to a combination of the additional effort required to generate web store release packages, plus the increasingly overbearing control-freak behaviour exhibited by Google with regards their policing of web store content, I no longer maintain or support the web store versions of this script, and users should migrate to the Userscript version in order to continue receiving updates.
Chrome Web Store version: https://chrome.google.com/webstore/deta ... niefljookp