(→Editing: Added my links to Chrome Web Store) |
Twister-UK (talk | contribs) |
||
Line 136: | Line 136: | ||
---- | ---- | ||
=== | ===UR Overview Plus (URO+)=== | ||
by Twister-UK | by Twister-UK | ||
URO provides various filtering options to show/hide update request, map problem and camera markers according to type, age, comment keyword etc. For any markers that remain visible, hovering the mouse pointer over the marker then generates a pop-up which contains a summary of the marker information and some marker-type specific actions (e.g. opening an update request in a new tab, deleting a camera). For any UR markers where a conversation is taking place (currently WME beta only), the marker is modified to show a small quote icon in place of the Waze icon. | URO provides various filtering options to show/hide update request, map problem and camera markers according to type, age, comment keyword etc. For any markers that remain visible, hovering the mouse pointer over the marker then generates a pop-up which contains a summary of the marker information and some marker-type specific actions (e.g. opening an update request in a new tab, deleting a camera). For any UR markers where a conversation is taking place (currently WME beta only), the marker is modified to show a small quote icon in place of the Waze icon. | ||
As of v3.0, URO+ also includes the functionality from the DrivesTabEnhancer (DTE) and Select Roundabout Segments (SRS) scripts | |||
<u>'''DOWNLOAD Update Request Overview'''</u> | <u>'''DOWNLOAD Update Request Overview'''</u> | ||
Download | Download latest version for [http://userscripts.org/scripts/show/145186 Firefox+Greasemonkey] or [http://crx.chizzum.com/UROverview.crx Chrome packaged version] | ||
<u>'''More Information'''</u> | <u>'''More Information'''</u> | ||
[http://www.waze.com/forum/viewtopic.php?t=29054 | [http://www.waze.com/forum/viewtopic.php?t=29054 UR Overview Plus forum thread] | ||
Line 154: | Line 157: | ||
---- | ---- | ||
===WME Aerial Shifter (WAS)=== | ===WME Aerial Shifter (WAS)=== | ||
by byo, patched and packaged by berestovskyy | by byo, patched and packaged by berestovskyy |
Revision as of 00:19, 28 November 2013
The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. (Client-side possible?)
LiveMap
by Timbones
This plugin/extension works with the Waze LiveMap only. After installing, create a route in the LiveMap by clicking on the origin and destination. Once the LiveMap requests the route, the left side panel area will switch from the current events scrolling list, to a navigation list of the route. Multiple routes are displayed. Each turn is clickable and the map will zoom to that location.
- This script no longer works since Waze updated their website,
and the navigation list is built in to the new Livemap. - Go get the new WME Route Tester script instead!
DOWNLOAD LiveMap Navigation List
Download the LiveMap Navigation List from userscripts.org
More Information
LiveMap Navigation List forum thread
LiveMap UR Overlay (LMUR)
by Twister-UK
LMUR allows update requests and map problems to be displayed on the Livemap, with various filtering options to show/hide requests/problems by type, age, keyword etc. Requires Livemap to be viewed via the secure (https) URL - LMUR will prompt you if a non-secure URL is used.
DOWNLOAD LiveMap UR Overlay (LMUR)
Download the LiveMap UR Overlay script from userscripts.org
- Firefox requires the Greasemonkey Addon.
- Chrome users can leverage the Tampermonkey Extension to install and manage the script from directly within the browser. Otherwise Chrome users will need to download the crx package instead.
More Information
Editing
WME Colour Highlights for Landmarks and Segments
by Timbones
This script adds color highlighting to segments and landmarks according to their status and type. The highlighting of segments is likely to be most useful, for it shows locked and un-named roads.
DOWNLOAD WME Colour Highlights
- Firefox Download WME Colour Highlights from userscripts.org (requires Greasemonkey)
- Chrome users: Go to Chrome Web Store and install extension from there.
More Information
WME Color Highlights forum thread
WME Route Tester
by Timbones
Replacing the old Livemap Navigation script, this new script allows you to see the current navigation instructions in the editor. Simply select two segements, and click on the Routes tab that appears on the left.
Screenshot: wme-routes.png
DOWNLOAD Route Tester
- Firefox Download WME Route Tester from userscripts.org (requires Greasemonkey)
- Chrome users: Go to Chrome Web Store and install extension from there.
More Information
WME Junction Angle info
by milkboy
Waze Map Editor (WME) addon to help with junction design. If two connected segments are selected, it shows the turn angle, otherwise it shows the the angle between each segment.
DOWNLOAD WME Junction Angle info
WME-JunctionAngle for Firefox or for Chrome
More Information
http://www.waze.com/forum/viewtopic.php?f=819&t=61926
WME Junction Node Fixer (JNF)
by bgodette
Junction Node Fixer has several features. The primary focus of JNF is that it overloads the 'q' (disallowAllTurns) keyboard shortcut to preserve existing turn restrictions. 'Overloading' means that it takes over all functionality of the 'q' hotkey only. The 'q' keyboard shortcut performs the following actions
- Fixes any self and reverse connectivity issues
- Fixes closed loop roads (by splitting into two segments with a joining junction)
- Terminates dead-ends with a junction
- Makes dead-ends two-way (only if both ends of the segment are visible)
- Sets the Type of a roundabouts using lowest of two highest rule and sets country/state if needed
- For UK sets Type of roundabouts using highest type excluding Freeway rule.
- Does a traditional 'qw' (clears reverse connectivity, and locks turns)
- Causes the turn arrows to refresh (the side effect of 's' but without the shifting).
Since you end up with the same turns restricted, that means you need to press 'w' if you really want all turns allowed. This is why it overloads 'q' instead of 'w'. Ultimately this will be a separate hotkey that's editable through WME's '?' interface.
JNF also:
- Saves the state of WME's ShowAllTurns, ShowTurns and Full-screen mode across F5/Permalink.
- Forces data model reload after successful save.
This has only be tested in Chrome, it's been reported to work in FF+GM.
DOWNLOAD WME Junction Node Fixer
Download Junction Node Fixer script from userscripts.org
More Information
WME Junction Node Fixer forum thread
WME Toolbox
by OyyoDams
This script adds many features like small junctions highlight, redo roundabout, convert roundabout to standard road, clear road geometry, many permalinks to external sites, and more.
It's live updated and doesn't need to be manually updated each time a new version is released.
DOWNLOAD WME Toolbox
Download WME Toolbox for Firefox or Chrome
More Information
English forum thread - French forum thread
UR Overview Plus (URO+)
by Twister-UK
URO provides various filtering options to show/hide update request, map problem and camera markers according to type, age, comment keyword etc. For any markers that remain visible, hovering the mouse pointer over the marker then generates a pop-up which contains a summary of the marker information and some marker-type specific actions (e.g. opening an update request in a new tab, deleting a camera). For any UR markers where a conversation is taking place (currently WME beta only), the marker is modified to show a small quote icon in place of the Waze icon.
As of v3.0, URO+ also includes the functionality from the DrivesTabEnhancer (DTE) and Select Roundabout Segments (SRS) scripts
DOWNLOAD Update Request Overview
Download latest version for Firefox+Greasemonkey or Chrome packaged version
More Information
WME Aerial Shifter (WAS)
by byo, patched and packaged by berestovskyy
This script helps you adjust the position of underlying satellite imagery to work on road alignment inside WME.
DOWNLOAD Waze Aerial Shifter
Version 1.3.2 (Oct 07, 2013):
- Uninstall or disable all previous versions of WAS.
- For Google Chrome browser please download WAS.1.3.2.crx: link to Crome CRX package
Then drag and drop it into your Chrome Extensions Tab (chrome://extensions/) - For Firefox/Greasemonkey please install the script from userscripts.org: link
More Information
WME Aerial Shifter forum thread
Street to River
by aeytom
The script is designed as a helper for creating river/railroad landmarks for the free waze navigation system. The script transforms the geometry of a new unsaved street to a river or railroad landmark. You can predefine the width and the name for the new landmark in the form of a special street name.
Mini howto:
- install this script as greasemonkey script or chrome extension
- draw a new street but do not save the street
- add and apply a street name to define the rivers name and width. This step is optional.
- Example: 20m Spree creates a 20 meters wide river named Spree
- Select the helper street
- Click the Street to river or Street to railroad button
- Delete the helper street
- Edit the new landmark as you like. You can even set the landmark to another type. Here it is used to mark a railroad, using landmark type 'other'.
Examples of rivers created by the script:
- Spree: https://world.waze.com/edtior/?zoom=2&lat=52.29672&lon=14.25296
- Nottekanal: https://world.waze.com/edtior/?zoom=1&lat=52.22414&lon=13.48316&
DOWNLOAD Street to River
Download the Street to River script for userscripts.org Firefox+Greasemonkey from userscripts.org
- Firefox requires the Greasemonkey Addon.
- Chrome users can leverage the Tampermonkey Extension to install and manage the script from directly within the browser. Otherwise, Chrome users will need to downloaded manually, and then drag the script file into the Extensions tab.
More Information
WazeBar
by edsonajj
WazeBar is an alternative menu bar for WME that also integrates other scripts, making them available on Safari.
The currently integrated scripts are:
- WME Colour Highlights by timbones.
- UR Overview by Twister_UK.
- GeoWipe by bgodette.
- Junction Node Fixer bybgodette.
Other features include:
- Autosave at a certain number of edits.
More features and additional script integrations are being worked on. The original development of WazeBar was made by Mike Bronner, it is currently mantained by Edson Jiménez.
DOWNLOAD WazeBar
Download WazeBar for Safari from dropbox.
More Information
WazeBar for Safari forum thread
Roundabout Angles and Landmark
by davipt
Roundabout Angles and Landmark is a script with two features:
- selecting a roundabout node, on the left side there is a button to automatically create a "junction" landmark around the landmark. Roundabout segments shall not have street name set, but the roundabout name should be added to this landmark in the middle, so the label appears horizontally.
- selecting a roundabout node, on the left side there is a button to create a temporary landmark in the form of a leaf, which will denote the approximate 90º, 180º and 270º range that Waze uses to switch from the "take the nth exit" to the "straight ahead/turn left/turn right" on roundabouts with two to four connections.
If the created landmark is not round, it means the roundabout has something screwed up, usually a reversed A->B segment, so it also helps ensuring proper roundabouts.
DOWNLOAD Roundabout Angles and Landmark
Download Roundabout Angles and Landmark from userscripts.org
More Information
Roundabout Angles and Landmark forum thread
WME Add-Ons
by gdu1971
WME Add-Ons and its predecessor, "WME Extended Tools", are no longer supported. The major features have now been incorporated into WME Toolbox. (2013-11-07)
More Information
"(Script) WME Add-Ons" forum thread
WME Level Highlighter
by ??
WME Script allowing Segment highlighting based on segment levels. Please note that this does Conflict with Tim's WME Color Highlights and that both should NOT be active at the same time.
More Information
"(Script) WME Level Highlighter"
WME Permalink+ (WP+)
by berestovskyy
This script improves permalink in Waze Map Editor:
- W - permalink to non-beta version of Waze Map Editor with default set of layers, i.e. a permalink to share.
- L - permalink to Waze Livemap.
- + - paste a permalink from another window to position your current window to the same location.
For instance, you can paste a non-beta permalink to position your WME beta window.
DOWNLOAD WME Permalink+
- Uninstall or disable all previous versions of WP+.
- For Google Chrome browser please download: link to Crome CRX package
Then drag and drop it into your Chrome Extensions Tab (chrome://extensions) - For Firefox/Greasemonkey please install the script from userscripts.org: link
More Information (including latest version info)
Select Roundabout Segments (SRS)
by Twister-UK
This script adds a "Select roundabout" button to the segment edit panel if you select a single segment from a roundabout. Clicking the button then automatically selects the entire roundabout. Note that if the entire roundabout doesn't get selected, it probably means the roundabout itself is broken.
DOWNLOAD Select Roundabout Segments
Firefox+Greasemonkey version 0.5 - Chrome packaged version 0.5 (July 16, 2013)
More Information
Drives Tab Enhancer (DTE)
by Twister-UK
This script modifies the Drives tab in the left-hand panel to show more drives per sub-page (up to the WME limit of 50/page), and also to inform the user which of their drives are available to view on the map as a route trail - whilst Waze stores the drive summaries (date, distance etc) for seemingly every drive a user has ever made, it only stores the actual route data for the most recent drives.
DOWNLOAD Drives Tab Enhancer
Firefox+Greasemonkey version 0.3 - Chrome packaged version 0.3 (September 5th, 2013)
More Information
Device
Geocaching
[Geocaching-Waze bookmarklet] is a iOS Safari bookmarklet from davipt that allows driving to a given Geocaching coordinate. Currently it assumes a fixed flow within iOS and the official Geocaching client, but it can be adapted to other situations.
Open the iOS Geocaching app, pick up a cache, click on "Open on external map", which will open Google Maps on the browser. From this page, click on the bookmarklet, which will display the lat+lon, and then open Waze on that point, ready to drive there.
Developing
JavaScript Development Best Practices for Waze Extensions and Scripts
Best Practices
All of the normal best practice guidelines apply, some references:
To help with this, run your code through some useful analyzers to head off potential problems, like:
jQuery
WME is built on jQuery. This makes it easy to manipulate, access properties, and directly reference the built-in Waze objects underlying WME. Using jQuery enables tighter integration into WME, reduces code, and builds on what is already there. As of now, WME is running jQuery 1.7 vanilla, which does not include any optional modules like jQuery UI.
Variable & Function Prefix
To ensure that your code is safe from collision with other scripts and extensions, please prefix all variables and functions with a prefix of your choosing (this includes local variables and global variables, since your entire script is made public when it is loaded in WME). An example would be instead of naming a variable "version", name it "coolscript_version" instead, if your script is named "Cool Script".
Code Encapsulation
While not technically code encapsulation in the object oriented sense, please encapsulate all code with a function, except requisite bootstrap code and initializer calls.
UserScript Bootstraping
When creating user scripts for Greasemonkey, Chrome, or TamperMonkey, use the following bootstrap at the start of your script. timbones did extensive research on this to make sure it is completely cross-browser compatible. Not only will it work in GreaseMonkey, Chrome, and TamperMonkey, but can also be dropped into a Safari Extension without any recoding.
function coolscript_bootstrap() { var bGreasemonkeyServiceDefined = false; try { if (typeof Components.interfaces.gmIGreasemonkeyService === "object") { bGreasemonkeyServiceDefined = true; } } catch (err) { //Ignore. } if ( typeof unsafeWindow === "undefined" || ! bGreasemonkeyServiceDefined) { unsafeWindow = ( function () { var dummyElem = document.createElement('p'); dummyElem.setAttribute ('onclick', 'return window;'); return dummyElem.onclick (); } ) (); } /* begin running the code! */ coolscript_init(); } function coolscript_init() { //run your code here } // [...] // then at the end of your script, call the bootstrap to get things started coolscript_bootstrap();