[Script] Live Map UR Layer v2.25 (20180412)

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.

Moderators: Unholy, bextein

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 v2.7 (20140223)

Postby Twister-UK » Tue Feb 25, 2014 1:59 pm

ditchi56 wrote:
Twister-UK wrote:2.7 finally includes support for UR comments

Many thanks. Just one gripe / bug report:

I think "hide if last comment made less than nn days ago" should only hide UR's which do actually have a comment. At present it's hiding UR's with no comment too (presumably only if they're less than nn days old, although I haven't checked this).


Oops... This is due to the way the marker objects get initialised - the comments data is loaded seperately to the main marker data, so I have to initialise the comment parameters with safe defaults first, and then fill in the correct values once the comment data is available. However, for markers that don't have comments, the safe default values are then left untouched. And it just so happens that the safe default value for the "last comment age" parameter is such that, if I then forget to disable the comment filters for URs that don't actually have any comments (and yes, that's exactly what I've done), the "hide less than n days" filter triggers regardless of how many days are set as the threshold and, as if by magic, the UR disappears...

I'll roll out a fix for this soon.
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.7 (20140223)

Postby Twister-UK » Sun Feb 23, 2014 12:10 pm

2.7 finally includes support for UR comments... With one exception, all of the comment-based filtering options present in URO+ are now also present in LMUR. I haven't included support for the "show/hide URs I'm following" filter, due to the amount of extra data I'd need to pull across from the WME server just to get the data required for that filter.

Comment filtering is only possible when the user is logged-in to the Livemap server, and so I've taken the decision to require the user to be logged-in in order to enable LMUR at all, as this makes the behind the scenes operations a lot cleaner. As with the requirement to be on the secure Livemap server, if you're not logged-in then it'll be pretty obvious...

I've also tweaked the way the script handles its local data cache, to reduce the number of times it reloads data from the WME server - this not only makes life easier for the server (especially now with the extra access calls required to get the comments data), but it also improves Livemap responsiveness when panning/zooming within the already cached area. One side-effect of this change is that LMUR will now only auto-refresh the central 1x1 degree region every 60s, whereas previously it would auto-refresh the central 3x3 degree region.


Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome Web Store version: https://chrome.google.com/webstore/deta ... niefljookp
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.6 (20140216)

Postby Twister-UK » Sun Feb 16, 2014 11:41 am

Taking longer than I'd like to add in support for UR comments, so 2.6 is an interim release which includes support for filtering solved URs and problems. When the solved filters aren't enabled, the markers for solved URs and problems are shown with a white circle background to differentiate them from the unsolved markers. The popup shown when you hover the mouse over the marker also now shows how long ago the UR/problem was resolved.


Firefox+Greasemonkey version: http://userscripts.org/scripts/show/150276
Chrome Web Store version: https://chrome.google.com/webstore/deta ... niefljookp
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Wed Feb 12, 2014 3:27 pm

I'd prefer not to include filtering based on the comments text itself, as this would significantly increase the amount of data that LMUR needs to store, and it's already storing more than I'd like...
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Wed Feb 12, 2014 7:11 am

It should work the same way as the comment filters in URO+
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Tue Feb 11, 2014 10:38 pm

Support for UR comments filtering will be included in the next release.
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Thu Feb 06, 2014 5:45 pm

Aren't we getting confused here between the display of old URs in WME, where the URO+ settings are relevant, and the display of old URs in LiveMap, where they aren't?

At present there is NO released version of LMUR which allows solved URs to be hidden, though this will be present in the next version - coming soon...
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Wed Feb 05, 2014 2:05 pm

Filtering out resolved URs is now working in the development code, however filtering by comments will take a bit longer to sort out...
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Mon Feb 03, 2014 12:52 am

Thanks, I'll have a look at this over the next few days.
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

Re: [Script] Live Map UR Layer v2.5 (20140102)

Postby Twister-UK » Thu Jan 02, 2014 8:58 pm

The other thing to remember (and *note to self* must remember to change the UI to better reflect this point...) is that it's only URs that are affected by the setting of the "Show markers..." tickbox - map and turn problems are always displayed regardless, just as they are in WME.
Chris (not to be confused with Chris or Chris...)
L5 AM SE England & Shetland Islands / WME Beta Tester / Script Writer
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


ImageImageImage
Twister-UK
Beta tester
Beta tester
 
Posts: 3083
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 470 times
Been thanked: 2888 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: RichardPyne