|
|
(42 tussenliggende versies door 2 gebruikers niet weergegeven) |
Regel 1: |
Regel 1: |
| {{construction | | {{TopLine}} |
| | contact = http://www.waze.com/forum/viewtopic.php?f=276&t=94974
| | <languages /><translate> |
| | contacttype = forum
| |
| | draft = yes
| |
| | open = yes}}
| |
|
| |
|
| A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands to extend the browser's functionality through a single mouse click. For instance, a bookmarklet might enable the user to select an editor username on a page, click the bookmarklet, and be taken directly to the private message page with the username already entered.
| | == Extra kaartbewerkingstips == <!--T:1--> |
| | '''Aanpak'''<br /> |
| | * Maak een kruising - met behoud van volledige functionaliteit - altijd zo [[KISS|eenvoudig]] mogelijk. |
| | * Houd altijd voor ogen hoe de instructies in the [[Waze app|app]] getoond zullen worden en zullen klinken. |
| | <br /> |
| | '''Editing'''<br /> |
| | * Start de [[Waze Map Editor|WME]] op de laatste locatie: https://www.waze.com/nl/editor |
| | * Start de WME opnieuw op een bepaalde locatie: maak een [[PL]] van de locatie en bookmark deze. |
| | * Selecteren meerdere segmenten: Houd de '''Ctrl''' toets ingedrukt en klik op de te selecteren segmenten. |
| | * Voor het makkelijk verplaatsen en verwijderen geometrie nodes dichtbij een kruising: selecteer beide segmenten. |
| | * Gebruik '''Alt-shift-r''' om te verversen (opnieuw laden van alle WME layers) zonder het complete browser venster te herladen (F5). |
| | * Skip een voorgestelde straat- of plaatsnaam met de '''Esc'''-toets. |
| | * Controleer wegen op het satellietbeeld: Zet de Wegen [[Waze_Map_Editor#Layers_menu|kaartlaag]] tijdelijk uit. Voor het aan- en uitzetten van de Wegen kaartlaag kan de [https://wazeopedia.waze.com/wiki/Global/Keyboard_shortcuts toetscombinatie] '''Shift-r''' gebruikt worden. |
| | * Splits een segment in twee segmenten: voeg een nieuwe weg toe en verbind deze met het te splitsen segment op de plaats waar je het segment wilt splitsen en verwijder vervolgens de nieuw gemaakte weg weer. |
| | <br /> |
| | '''Aanpak van kruising naar rotonde'''<br /> |
| | Bij het aanpassen van een kruising naar [[Roundabout|rotonde]] is het het makkelijkst om wat segmenten op te knippen zodat je een klein stukje kunt afsluiten en dan nog ruimte overhoudt om de rotonde in te tekenen.<br> |
| | <br> |
|
| |
|
| == Adding to a browser ==
| | <!--T:3--> |
| | '''Nieuwe weg, nog niet beschikbaar voor verkeer'''<br> |
| | Wanneer je een nieuwe weg wilt intekenen terwijl deze nog niet beschikbaar is voor het verkeer volg dan de volgende stappen:<br> |
| | Initieel:<br> |
| | - Teken de nieuwe wegsegmenten.<br> |
| | - Voeg [[Restrictions|restricties]] toe die de betreffende segmenten effectief afsluiten voor al het verkeer.<br> |
| | - Verbind de segmenten met het overige wegennet.<br> |
| | Wacht totdat de [[Map-update]] de nieuwe segmenten heeft toegevoegd.<br> |
| | - Verwijder de restricties.<br> |
| | - Voeg [[Closures]] toe voor het op deze wijze afsluiten van de wegsegmenten.<br> |
| | Wanneer de wegsegmenten opengesteld worden voor het verkeer:<br> |
| | - Verwijder de Closures.<br> |
|
| |
|
| === Chrome ===
| |
| {{NeedInfo|These instructions have not yet been verified for Chrome.}}
| |
|
| |
|
| * Left click on the "Customization and control Google Chrome" menu button in the right upper corner of your browser. (three horizonal bars) | | <!--T:2--> |
| | <br /> |
| | Zie ook de algemene wereldwijde Wiki pagina's |
| | * [https://wazeopedia.waze.com/wiki/Global/Map_Editing_Tips_and_Hints Map editing tips and hints]. |
| | * [https://wazeopedia.waze.com/wiki/Global/Keyboard_shortcuts Keyboard shortcuts]. |
|
| |
|
| * Left click on "Bookmarks"
| | </translate> |
|
| |
|
| * Left click on "Bookmark Manager"
| | {{Bottomline}} |
| | |
| * In the left window pane, navigate to where you want to add the bookmarklet.
| |
| | |
| * In the main window pane, right click to see the context menu.
| |
| | |
| * Left click on "Add page"
| |
| | |
| * In the "Name" box, enter "Wazer Profile" or any name you prefer.
| |
| | |
| * In the "URL" box, paste the code your previously copied.
| |
| | |
| While other methods exist, this method should always work.
| |
| | |
| === Firefox ===
| |
| {{NeedInfo|Add instructions.}} | |
| | |
| == Defined scripts ==
| |
| The following bookmarklet scripts could be helpful to map editors. Following the instructions above for adding a bookmarklet based on your browser, select the code below with your mouse, highlighting all the code inside the box. Use that code to paste into the bookmark as the target or location.
| |
| | |
| ''Formatted (viewable) code can be seen on the [[Talk:Bookmarklets#Expanded views|talk page]].''
| |
| | |
| === Map editing ===
| |
| | |
| ==== Open Waze Map Editor from LiveMap ====
| |
| This script opens a window with [[Waze Map Editor]] when currently viewing LiveMap.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var center_lonlat=new OpenLayers.LonLat(wazeMap.center.lon,wazeMap.center.lat);center_lonlat.transform(new OpenLayers.Projection('EPSG:900913'),new OpenLayers.Projection('EPSG:4326'));var mapZoom=(window.location.hostname=='world.waze.com'?(wazeMap.zoom<5?(wazeMap.zoom<2?wazeMap.zoom+6:wazeMap.zoom+5):9):(wazeMap.zoom<5?wazeMap.zoom+11:15));window.open('http://'+window.location.hostname+'/livemap/?zoom='+mapZoom+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'LiveMap')})();
| |
| </pre>
| |
| | |
| ''A drag-n-drop link can be copied from [http://dl.dropbox.com/u/1437031/waze_bookmarklets.html this dropbox page] (AlanOfTheBerg's dropbox).''
| |
| | |
| ==== Open LiveMap from Waze Map Editor ====
| |
| This script opens a window with [[Live Map]] when currently viewing Waze Map Editor.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var center_lonlat=OpenLayers.Layer.SphericalMercator.inverseMercator(g_map.getCenter().lon,g_map.getCenter().lat);var mapZoom=(window.location.hostname=='www.waze.com'?(g_map.zoom>6?(g_map.zoom>7?g_map.zoom-5:g_map.zoom-6):0):(g_map.zoom>10?g_map.zoom-11:0));window.open('http://'+window.location.hostname+'/editor/?zoom='+mapZoom+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Waze Map Editor')})();
| |
| </pre>
| |
| | |
| ''A drag-n-drop link can be copied from [http://dl.dropbox.com/u/1437031/waze_bookmarklets.html this dropbox page] (AlanOfTheBerg's dropbox).''
| |
| | |
| === User information and communication ===
| |
| | |
| ==== Create private message to user ====
| |
| This script will use the mouse-selected (highlighted) text on the page to prepare a private message page with the username already populated. If you don't highlight a username, the script will ask for one to be entered.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var s='';if(window.getSelection){s=window.getSelection()}else if(document.getSelection){s=document.getSelection()}else if(document.selection){s=document.selection.createRange().text}if(s==""){var s=prompt("Enter Username for sending PM (or highlight name before selecting bookmarklet).")}if((s!="")&&(s!=null)){window.location.href="http://www.waze.com/forum/ucp.php?i=pm&mode=compose&username="+s}})();
| |
| </pre>
| |
| | |
| ==== Display user's forum posts ====
| |
| This script will use the mouse-selected (highlighted) text on the page to display the user's forum posts. If you don't highlight a username, the script will ask for one to be entered.
| |
| | |
| Once on that page, selecting any entry of the user's name will move to the user's forum profile data.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var s='';if(window.getSelection){s=window.getSelection()}else if(document.getSelection){s=document.getSelection()}else if(document.selection){s=document.selection.createRange().text}if(s==""){var s=prompt("Enter Username to view forum posts (or highlight name before selecting bookmarklet).")}if((s!="")&&(s!=null)){window.location.href="http://www.waze.com/forum/search.php?keywords=&terms=all&sv=0&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search&author="+s}})();
| |
| </pre>
| |
| | |
| ==== Display user's Wiki page ====
| |
| This script will use the mouse-selected (highlighted) text on the page to display the user's Wiki page. If you don't highlight a username, the script will ask for one to be entered.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var s='';if(window.getSelection){s=window.getSelection()}else if(document.getSelection){s=document.getSelection()}else if(document.selection){s=document.selection.createRange().text}if(s==""){var s=prompt("Enter Username for Wiki user page (or highlight name before selecting bookmarklet).")}if((s!="")&&(s!=null)){window.location.href="http://wiki.waze.com/wiki/User:"+s}})();
| |
| </pre>
| |
| | |
| ==== Display user's Wiki contributions ====
| |
| This script will use the mouse-selected (highlighted) text on the page to display the user's Wiki contributions. If you don't highlight a username, the script will ask for one to be entered.
| |
| | |
| <!-- Do not modify this code directly. Go to the talk page to modify the formatted code and then compress it and paste the result below -->
| |
| <pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
| |
| javascript:(function(){var s='';if(window.getSelection){s=window.getSelection()}else if(document.getSelection){s=document.getSelection()}else if(document.selection){s=document.selection.createRange().text}if(s==""){var s=prompt("Enter Username for Wiki contributions (or highlight name before selecting bookmarklet).")}if((s!="")&&(s!=null)){window.location.href="http://wiki.waze.com/wiki/Special:Contributions/"+s}})();
| |
| </pre>
| |
| | |
| | |
| [[Category:Bookmarklets]]
| |