Version 0.2.1 This is now a Chrome Webstore Extension Chrome Webstore
2017-08-16: Modified @include preventing loading.
2017-08-09: Fixed loading issues.
2017-08-01: Reworked GPID linking again in reaction to new Beta+Prod.
2017-07-25: Reworked GPID linking.
2017-03-23: Reworked code so doesn’t pollute global vars, updated to use SetTurn, jQuery based Google Place ID linkification instead of modifying WME code.
2016-12-25: Fix linkifying with new WME prod/beta.
2016-05-26: Google Place IDs should now be reliably linkified, and now open to a specific targeted tab.
2016-05-25: Patches WME for when linking a new Google Place it returns results from a 2 mile radius first.
2016-04-27: Restricted URLs JNF operates on. Added turning GPIDs into URLs that open the place in a new tab.
2014-12-23: Update to changes in Beta WME. Removes Features reload after successful save, lets see if WME has fixed the stale data problem…
Checks WME’s API to make sure used objects and functions exist and are the correct type. This works as long as function argument order doesn’t change. Next step is to regex match on function contents to confirm arg order.
Makes cameras visible at zoom 0.
Updates keyboard pan amount by 1/4th the map view height.
Saves and persists turn arrow visibility and clickability between reloads/permalinks.
Saves and persists Full-screen mode.
Hooks into replaces ‘q’ (Disable All Turns) and does these actions on the selected node:
Enables U-Turn and locks all turns at dead-end nodes.Changed Behavior
Fixes any self and reverse connectivity issues
Converts single node roundabouts (lollipops) and loops into a three segment loop. Any existing house numbers will be associated with the middle segment and MUST BE EDITED after save to update their stop point.
If two or more segments are connected to the same two segments, it will split one of them. Same rules as SameNode.js bookmarklet.
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.
Removes revcon (turns into wrong-direction of one-way), and selfcon (U-Turns at non-dead ends). Once the app has real support for U-Turns selfconf will be left alone
A couple other items of note for this script, for clarity:
In order to do an actual “Disallow all turns” you must click the button with your mouse. The script only overloads the ‘q’ keyboard shortcut with this functionality.
This will not fix a closed loop (one junction) roundabout.
Fantastic work, sir! I didn’t realise quite how much I was relying on this one until the WME update broke it.
Now it’s working properly, there’s a potential problem I came across whilst it wasn’t working. I did briefly see what would happen if I re-enabled the script by hacking it: this problem convinced me that was a bad idea, so I stopped using it again. But now it’s working, the problem still remains.
I had to rebuild this major interchange because part of the roundabout had turned into a normal road type. If I ‘Q’ on one of it’s junctions, your script turns the whole roundabout into ramps. I’ve actually set the roundabout to be minor highway, to match the MH connecting on the SE corner.
Your post says that you are using a different rule for UK roundabouts (highest type, excluding freeways), which matches the UK Wiki. However, I’m fairly sure that ramp shouldn’t be included in those types.
This script has been great, in conjunction with the colour highlighter script to identify iffy junctions.
Thanks for the full screen save,too. Are you able to save the ordering of the layers, too? I always prefer the GPS later under the roads but it reverts after a refresh/permalink
In a word, deeelightful. Deep thanks for the new version. I have one occasional problem: now and then the connectivity arrows become translucent and I cannot click on them. I’ve seen this before with the URL notifier (which I have disabled). It may arise when I toggle in and out of Z (show connectivity) mode a lot.
It seams that it donw work if u use tampermonkey in chrome.
Its the way this script get acces to WME that causes problems. Other scripts with unsafeWindow works.
I was using this with tampermonkey in chrome and under grease monkey in firefox. It worked great. For what ever reason, it has stopped working on both…
So now I have uninstalled and re-installed everything and its not working. Tamper-monkey and all scripts in chrome and the same with grease-monkey in firefox.
Are there any messages in the Console regarding JNF? If it executes at all, there will be some output there when the editor loads. When you write that JNF “isn’t working” what does that mean exactly? What’s the experience you are having that it isn’t working?
Just FYI, I use it in Chrome, no tamper monkey and it works fine.
Alan,
how do I install it in chrome with out tmonkey? When I go to the script, its looking for tampermonkey.
If I save it and open with chrome, I get a message saying apps, and extensions can not be loaded from this site…
As to it not working, It used to display on the left side of my screen things like, this seg has 3 soft turns, press q to fix. It would also display red or yellow on the segments. It is no longer doing that…
Ok,
I figured how to get the scripts into chrome.
I have 2
Color Highlights and jnf. I am clicking on segs all over and its not telling me anything like it was the other day. I know there was many that displayed soft turns, u turns etc. Now I see nothing…