Wiki Translation: verschil tussen versies Geschiedenis weergeven

k (Updated download formats for lmna and lmur)
(Deze versie gemarkeerd voor vertaling)
 
(357 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 1: Regel 1:
The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. (Client-side possible?)
{{TopLine}}
==LiveMap==
<languages />
===LiveMap Navigation List===
<translate>
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 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.
==Wiki Vertaling== <!--T:6-->


<u>'''DOWNLOAD LiveMap Navigation List'''</u>
<!--T:7-->
===Wiki Vertaal Extensie===
De vertaling van onze [[Wiki]] pagina's gebeurt met behulp van de [https://www.mediawiki.org/wiki/Help:Extension:Translate Translate extension].
<br />
* Onze [[Wiki]] pagina's die beginnen met de tag <i>"languages"</i> tonen in de taalselectiebalk de beschikbare taalversies.
* De basistekst van elke pagina, die vertaald moet worden, is ingesloten in <i>''translate''</i> tags.
* De extensie splitst de aangegeven basistekst op in eenheden van alineagrootte en creëert er een berichtengroep voor. Eén pagina zou één <i>berichtgroep</i> zijn, waarbij, in de eenvoudigste vorm, elke paragraaf één <i>bericht</i> in die groep zou zijn.
* Je kan links automatisch naar de voorkeurstaalversie van de gebruiker laten gaan (alleen) als deze bestaat, door links te gebruiken in de vorm van een paginalink met <i>Speciaal:MijnTaal/Paginanaam</i>.


[http://userscripts.org/scripts/show/118389 Download the LiveMap Navigation List] from userscripts.org
*Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].
*Chrome users can leverage the [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Tampermonkey Extension] to install and manage the script from directly within the browser. Otherwise Chrome users will need drag the file downloaded to their PC into the Chrome Extensions tab.


<u>'''More Information'''</u>
<!--T:8-->
===Vertaalproces===
* Wanneer de tekst gereed is kan een pagina gemarkeerd worden voor vertaling. De Wiki-pagina [https://wazeopedia.waze.com/wiki/Netherlands/Special:PageTranslation Page translation] vermeldt de pagina's die moeten worden gemarkeerd voor vertaling en de pagina's die momenteel vertaald kunnen worden.
<br />
'''Een pagina vertalen'''
* Selecteer een pagina die is gemarkeerd voor vertaling om te vertalen. Op de pagina wordt bovenaan gecentreerd de tekst "Translate this page" weergegeven. Klik op deze tekst.
* Er wordt een venster weergegeven met "Berichtgroep Alles > plus de paginatitel. Selecteer de doeltaal via de vervolgkeuzelijst die beschikbaar is rechtsboven in het venster.
* Klik op elk berichtgroepvak en vertaal de tekst. Klik op '''Vertaling opslaan''' als u klaar bent.
* Doe dit voor alle berichtgroepvakken.
* Nadat je je vertaling hebt opgeslagen, is de pagina beschikbaar in de doeltaal.
* Klik op de knop '''Review''' via het potloodpictogram. Als u de cursor over de vertaalde tekst beweegt, kunt u nog steeds wijzigingen aanbrengen in de vertaalde tekst.<br />


[http://www.waze.com/forum/viewtopic.php?t=13511 Forum thread for discussion and feedback]
<!--T:9-->
 
===Links===
 
* [https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_example Voorbeeld van paginavertaling]
===LiveMap UR Overlay (LMUR)===
* [https://wazeopedia.waze.com/wiki/Global/Help:How_to_use_the_Translation_tool Hoe de vertaaltool te gebruiken]
The LMUR script when installs allows you to see open user requests and map problems in areas which you have permission to edit, superimposed on the Waze Livemap. The requests can be filtered by age, and individual types of requests can be selected for viewing. You must load the Livemap using a secure (https) URL for the script to work.
</translate>
 
{{Bottomline}}
<u>'''LiveMap UR Overlay (LMUR)'''</u>
 
[http://userscripts.org/scripts/show/150276 Download the LiveMap UR Overlay script] from userscripts.org
*Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].
*Chrome users can leverage the [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Tampermonkey Extension] to install and manage the script from directly within the browser. Otherwise Chrome users will need drag the file downloaded to their PC into the Chrome Extensions tab.
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?t=29381 Forum thread for discussion and feedback]
 
 
==Editing==
===WME Color Highlights for Landmarks and Segments===
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.
 
> [http://userscripts.org/scripts/show/141050 WME Color Highlights] script at userscripts.org.
 
[[Image:Wme-highlights.png]]
 
''Chrome users can leverage the [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Tampermonkey Extension] to automate the install and better manage the script from within the browser.  Without it, Chrome users will need to downloaded  manually, and then drag '141050.user.js' into the Extensions tab.''
 
''Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].''
 
Discussion of the script can be found in the forum: [http://www.waze.com/forum/viewtopic.php?f=10&t=40705 (Script) Highlights for Segments & Landmarks]
 
 
===WME Junction Angle Info===
Shows the angle between two selected (and connected) segments. Version 1.5 as of March 20, 2013.
 
<u>'''DOWNLOAD Junction Angle Info'''</u>
 
[https://chrome.google.com/webstore/detail/wme-junctionangle/cfcpfikgmfoghjfpfepmklballeagadf From the Chrome Store] - [http://userscripts.org/scripts/show/160864 From userscripts.org]
 
<u>'''More Information'''</u>
 
(The link for discussion of this script in the Waze forums needs to be added.)
 
 
===Junction Node Fixer (JNF)===
Saves the state of WME's ShowAllTurns, ShowTurns and Full-screen mode across F5/Permalink.
Forces data model reload after successful save.
 
This overloads the 'q' (disallowAllTurns) hotkey action to preserve existing turn restrictions.
* Fixes any self and reverse connectivity issues
* Fixes closed loop roads
* Terminates dead-ends
* 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.
 
This has only be tested in Chrome, it's been reported to work in FF+GM.
 
<u>'''DOWNLOAD Junction Node Fixer'''</u>
 
[http://userscripts.org/scripts/show/144939 From userscripts.org]
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?f=10&t=35237 WME Junction Node Fixer forum discussion]
 
 
===WME Toolbox===
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.
 
It requires WME Colors Highlight and WME Junction Node Fixer to work.
 
<u>'''DOWNLOAD WME Toolbox'''</u>
 
[http://userscripts.org/scripts/show/166405 Firefox] -
[http://www.wazeteam.com/chrome/WME_Toolbox_laucher.crx Chrome]
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?f=8&t=48123 English forum thread] -
[http://www.waze.com/forum/viewtopic.php?f=68&t=47964 French forum thread]
 
 
===Update Request Overview (URO)===
There are two main features to the script. The first is to add a pop-up box next to whichever user request or camera marker your mouse pointer is hovering over. This box contains a summary of the details for this UR/camera, allowing you to quickly see if it's one that you need to pay more attention to without having to click on the marker and wait for WME to reload the map at the marker position.
 
For UR markers, the box also contains three links allowing you to open up a new WME tab centred on the marker, to open up a new LiveMap tab, or to hide the marker for the remainder of this editing session (if you've decided that it's a UR you definitely don't want to be bothered with today)
 
 
The second feature is the ability to filter UR and camera markers by various parameters - type, age, keywords etc. e.g. if you don't want to see any General Error UR markers, they can all be hidden by ticking a single checkbox. If you only want to see URs that were created at least x days ago, but less than y days ago, you can do that too. If you're in the habit of setting URs to remind yourself about a map issue you want to fix when you get home, and you insert your username into the UR description to remind everyone else not to touch that UR, you can then find these URs easily by using the keyword filter...
 
Camera markers can be similarly filtered, although the range of filters is somewhat smaller here.
 
<u>'''DOWNLOAD Update Request Overview'''</u>
 
[http://userscripts.org/scripts/show/145186 Firefox+Greasemonkey version 1.31] - [http://crx.chizzum.com/UROverview.1.31.crx Chrome packaged version 1.31]
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?t=29054 Forum discussion thread]
 
 
===Waze Aerial Shifter===
This script helps you adjust the position of underlying Bing maps to work on road alignment inside WME.
 
<u>'''DOWNLOAD Waze Aerial Shifter'''</u>
 
[http://world.waze.com/forum/download/file.php?id=12800&sid=5baa948d0bf3ef6d310994462c5ca769 Chrome packaged Version 1.2.14 (June 24, 2013)]
 
<u>'''More Information'''</u>
 
[http://world.waze.com/forum/viewtopic.php?t=5302 Forum discussion thread]
 
 
===Street to River===
[[image:street-created-selected-and-named.png|thumb|Street created, selected and named]]
[[image:created-river-after-helper-street-deleted.png|thumb|River created and helper street deleted]]
 
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. [http://world.waze.com/livemap/?zoom=9&lat=52.45873&lon=6.17407&layers=BTTTTT "Here"] it is used to mark a railroad (using landmark type 'other'.
 
Examples of rivers created by the script:
* Spree: https://world.waze.com/cartouche/?zoom=2&lat=52.29672&lon=14.25296&layers=BTFFFTTTTFTTTFTTTTT
* Nottekanal: https://world.waze.com/cartouche/?zoom=1&lat=52.22414&lon=13.48316&layers=BTFFFTTTTFTTTFTTTTT
 
Download the script from: [http://userscripts.org/scripts/show/122049 userscripts.org]
(Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].)
 
Discussion for the script can be found in the forum topic: [http://www.waze.com/forum/viewtopic.php?f=10&t=14550 "Greasemonkey script for easy river drawing"]
 
 
===WazeBar===
WazeBar is an alternative menu bar for WME that also integrates other scripts, making them available on Safari.
 
The currently integrated scripts are:
* WME Color 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. You can get in on the discussion here: [http://www.waze.com/forum/viewtopic.php?f=8&t=47794]. The Safari Extension can be downloaded here: [https://dl.dropboxusercontent.com/u/86545493/Waze/Extensions/Safari/WazeBar.safariextz].
The original development of WazeBar was made by Mike Bronner, it is currently mantained by Edson Jiménez.
 
 
===Roundabout Angles and Landmark===
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.
 
* by davipt [[http://www.waze.com/forum/viewtopic.php?f=8&t=32633#p298017 Forum]]  [[http://userscripts.org/scripts/show/152981 script]]
 
===WME Add-Ons===
'''CAUTION!'''
Please do not use this tool unless you are a very experienced Waze editor and fully understand the ramifications of using this tool. Even experienced editors should learn how to use it only on very smaller areas at a time. Read the forum linked below to better learn how to use it and to understand the ramifications of its use!
 
This is a plugin/extension which displays a table of all the current view's country, state, city and street names. You can select all segments of a street using a custom button. This extension makes it very easy to find and fix incorrect cities and states (in the U.S.) and bad street names. The tool has many other capabilities as well.
 
Since this tool is updated often, please see the forum linked below for a full list of features, download links, installation instructions, and discussion for the latest version.
 
[http://www.waze.com/forum/viewtopic.php?p=334169 "(Script) WME Add-Ons"]
 
''There is a previous version of this tool called "WME Extended Tools". Due to changes to the Waze Map Editor, its functionality was broken, and the decision was made to re-write the tool from scratch. '''WME Extended Tools is no longer supported, should be uninstalled, and should no longer be used.'''
 
===WME Level Highlighter===
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.
 
[http://userscripts.org/scripts/show/158183 "(Script) WME Level Highlighter"]
 
==Device==
===Geocaching===
[[http://world.waze.com/forum/viewtopic.php?f=3&t=36866 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:
* [http://www.javascripttoolbox.com/bestpractices/ JavaScript Toolbox]
* [http://sarfraznawaz.wordpress.com/2012/02/19/842/ Sarfraz Ahmed's Blog]
To help with this, run your code through some useful analyzers to head off potential problems, like:
* [http://www.jshint.com JSHint]
* [http://www.jslint.com JSLint]
* [https://developers.google.com/closure/ JavaScript Closure Tools]
====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.
----
<pre>
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();
</pre>
----

Huidige versie van 20 mrt 2024 om 09:31

Andere talen:

Wiki Vertaling

Wiki Vertaal Extensie

De vertaling van onze Wiki pagina's gebeurt met behulp van de Translate extension.

  • Onze Wiki pagina's die beginnen met de tag "languages" tonen in de taalselectiebalk de beschikbare taalversies.
  • De basistekst van elke pagina, die vertaald moet worden, is ingesloten in translate tags.
  • De extensie splitst de aangegeven basistekst op in eenheden van alineagrootte en creëert er een berichtengroep voor. Eén pagina zou één berichtgroep zijn, waarbij, in de eenvoudigste vorm, elke paragraaf één bericht in die groep zou zijn.
  • Je kan links automatisch naar de voorkeurstaalversie van de gebruiker laten gaan (alleen) als deze bestaat, door links te gebruiken in de vorm van een paginalink met Speciaal:MijnTaal/Paginanaam.


Vertaalproces

  • Wanneer de tekst gereed is kan een pagina gemarkeerd worden voor vertaling. De Wiki-pagina Page translation vermeldt de pagina's die moeten worden gemarkeerd voor vertaling en de pagina's die momenteel vertaald kunnen worden.


Een pagina vertalen

  • Selecteer een pagina die is gemarkeerd voor vertaling om te vertalen. Op de pagina wordt bovenaan gecentreerd de tekst "Translate this page" weergegeven. Klik op deze tekst.
  • Er wordt een venster weergegeven met "Berichtgroep Alles > plus de paginatitel. Selecteer de doeltaal via de vervolgkeuzelijst die beschikbaar is rechtsboven in het venster.
  • Klik op elk berichtgroepvak en vertaal de tekst. Klik op Vertaling opslaan als u klaar bent.
  • Doe dit voor alle berichtgroepvakken.
  • Nadat je je vertaling hebt opgeslagen, is de pagina beschikbaar in de doeltaal.
  • Klik op de knop Review via het potloodpictogram. Als u de cursor over de vertaalde tekst beweegt, kunt u nog steeds wijzigingen aanbrengen in de vertaalde tekst.

Links

Main Page | Index