[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 » 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 times

Re: [Script] Live Map UR Layer v2.3 (20131020)

Postby Twister-UK » Sun Oct 20, 2013 10:14 am

2.3 tweaks the code used to set the height of the LMUR UI when it's opened - this may or may not fix the problem reported by ditchi56...

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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 times

Re: [Script] Live Map UR Layer v2.3 (20131020)

Postby Twister-UK » Sun Oct 20, 2013 10:54 pm

Timbones wrote:
Timbones wrote:Twister - how about a table of URs instead?

What did you think about this idea? A different script perhaps? I know you're short of time, but it would be nice to have. (I'd make it myself if I could find the time) :)

via mobile


Maybe, though having now got LMUR working again my incentive to work on this has diminished somewhat, and there's something else that I've just added onto my to-try-out list that I'm a lot more keen to spend time on...

There's also the small matter of me being waaaaay behind in my editing target for this year - at the start of the year I was planning to be close to the 200k mark required (at the time I set the target...) for L5 by Christmas, but with all the scripting I've been doing instead I've only just hit 150k, leaving me still as far away from L5 (taking the more recent increase to 250k into account) as I was when I reached L4 :( So as much as I enjoy hacking out code and helping everyone else, I really need to learn to be a bit more selfish and devote more time to improving my own stats before TPTB decide to up the level requirements again and put L5 completely out of reach.
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: 1366
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 158 times
Been thanked: 898 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Google [Bot]

cron