[Script] Live Map UR Layer v2.21 (20150317)

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderator: Unholy

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [Script] Live Map UR Layer v1.8 (20130822)

Postby Twister-UK » Thu Aug 22, 2013 6:26 am

As requested previously by pvaladares, 1.8 now allows the use of regex syntax in keyword filters. Note that you do not need to include the /.../ delimiters around the regex string - i.e. if you want to filter URs if their descriptions do/don't contain foo or bar, simply enter foo|bar rather than /foo|bar/.

This also allows the filtering of URs with no descriptive text - enter . (a single full stop/period) into the "Hide URs not including" keyword field...


Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome packaged version: http://crx.chizzum.com/LMUR.crx
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v1.8 (20130822)

Postby Twister-UK » Mon Oct 07, 2013 1:19 pm

No, it doesn't. And having now had some time to look behind the scenes of the new Livemap, I can't say with any certainty that it will work again. Even if it does, it won't be any time soon - it seems like pretty much everything that Waze could have changed to break LMUR has been changed, and I really don't have the time or energy right now to start picking my way through yet another variation of hazy-Wazy barely readable codespew trying to figure out how to hook into the new map :(
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v1.8 (20130822)

Postby Twister-UK » Sat Oct 12, 2013 12:44 pm

Things are slowly starting to look rosier in the world of LMUR, I think I've now found all the new equivalents to the old native objects/functions I was using in 1.8, the script UI now hooks nicely into the new Livemap UI, and UR/problem data can be retrieved again from the server (thanks to the Waze coders for once again swapping the ordering of lat/lon parameters, you don't know how much easier it makes debugging when you do stuff like this...)

Currently working on maintaining the correct positioning of markers as the map is panned/zoomed, after that I need to re-enable marker popups and tidy up the housekeeping code. And then, fingers crossed, we'll have a release candidate.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.0 (20131012)

Postby Twister-UK » Sat Oct 12, 2013 10:02 pm

Managed to resolve the marker positioning problem by going off for a rather nice meal with friends and family - on returning to the coding environment, the solution that had eluded me most of the day was suddenly blindingly obvious... With that hurdle cleared, the remaining updates fell neatly into place, with the result that version 2.0 is ready for release somewhat sooner than expected :D

The majority of the changes in 2.0 are behind the scenes, however sharp-eyed users will notice a new option lurking at the bottom of the UI - "Hide Livemap markers". Since the new Livemap doesn't appear to have any way of natively hiding the traffic/event markers that clutter up the map even more than they did in the old Livemap, this option allows them all to be nuked from orbit, leaving the map nice and clean - at least until it starts getting filled up with LMUR-generated markers instead...

Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome packaged version: http://crx.chizzum.com/LMUR.crx
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.1 (20131013)

Postby Twister-UK » Sun Oct 13, 2013 10:18 am

2.1 should now work on localised Livemap URLs (and here I was thinking the change from world. to www. meant no more location-specific URLs, silly me...). Replaced the auto show/hide UI functionality with maximise/minimise icons next to the LMUR version text, to avoid unwanted UI scrolling on systems where the scrollbar was required.


Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome packaged version: http://crx.chizzum.com/LMUR.crx
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.0 (20131012)

Postby Twister-UK » Sun Oct 13, 2013 10:27 am

iainhouse wrote:Great work Twister - very much appreciated. :D

Two things I'd like to ask for:
  1. An "open in editor" link in the popup (I think you had that before)
  2. A "hide UR for current session" link. I frequently use LMUR to deal with URs over a wide area. If I've done a few, my only option is to refresh the livemap and then pan around to find all the still-existing URs again.


If I had a pound for every time someone thought LMUR used to have the same popup links as URO, I'd not exactly be rich, but I'd have more money than I do right now... It's something I'd like to add at some point though.

Yep, the problem of cached marker data going stale within an editing session is something I'm painfully aware of - it's not just URs you might have fixed yourself that still hang around, it's the ones other editors are fixing at the same time as you... I was thinking about keeping track of how long it'd been since each block of cached data was pulled from the server, and refreshing it automatically every x minutes.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.1 (20131013)

Postby Twister-UK » Sun Oct 13, 2013 8:46 pm

woodvale wrote:However, I've found that I can't raise a new UR on the LiveMap if I have the script enabled. I have to turn it off then start LiveMap again before I can left-click on a street and get the dialogue box opening


You should be able to get the report dialogue to show if you just untick the "Hide Livemap markers" box, without needing to reload the whole page.

The report dialogue is being rendered onto the same layer as the other native markers, and since ticking that box causes the entire layer to be hidden the dialogue is also hidden... you should find that if you click on a road with the box ticked, and then untick the box, the report dialogue will be waiting for you. I'll see if I can retain visibility of the report dialogue whilst still allowing the map to be decluttered.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.2 (20131015)

Postby Twister-UK » Tue Oct 15, 2013 8:54 pm

2.2 now enables the native "report a problem/permalink/etc" popup when the "Hide Livemap markers" box is ticked.

Cached data now expires after 300s unless it's refreshed by panning the map back over that area. Data in the central 3 degree x 3 degree region of the map is automatically refreshed every 30s. Unrefreshed data is slowly faded out to provide visual reference of its decay. Marker popups also show how old the cached data is.


Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome packaged version: http://crx.chizzum.com/LMUR.crx
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.2 (20131015)

Postby Twister-UK » Tue Oct 15, 2013 10:54 pm

ditchi56 wrote:Could you make the panel scrollable?

I know there is a line below "Show Turn Problems", but I don't seem to have any way of accessing it.


It should be scrollable if your browser window isn't tall enough to show the whole thing - what happens if you reduce the height of the window?
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

Re: [Script] Live Map UR Layer v2.2 (20131015)

Postby Twister-UK » Tue Oct 15, 2013 11:01 pm

ponzu wrote:Does "Show markers outside my editable area" checkbox work? I have it unticked and I am seeing URs outside of my editable area.

Thanks!


Are they URs or map/turn problems? Posting from my phone right now so can't check the script, but IIRC it's only URs that are limited to your editable area unless you tick that option, map/turn problems appear everywhere regardless.
L4 AM for NW London and Shetland Islands - HTC One M8/Android 5.0.1
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store
Image
Twister-UK
Area Manager
Area Manager
 
Posts: 1456
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 167 times
Been thanked: 980 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users