Actually, the highlights stay when the road layer is turned off, as it's only the images that disappear. You can still select and edit the segments...
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour Highlights • WME Route Tester • WME Geometries
Scripts: WME Colour Highlights • WME Route Tester • WME Geometries
There's a (mostly) unwritten rule in Developer forums that the best way to ask about progress is to not.AdreNalinGuY wrote:How is the work going folks? Anything ready for beta testing or not?
Sometimes it is considered acceptable to post something like, "Really looking forward to this" or some such. Remember, this is all volunteer labor.
I don’t believe GIS-L is really the place to do FC highlighting. That would be more for street names but not functional classification.
US Local Champ
Oklahoma State Manager, South Central Lead
Wazing since February 2014
https://s.waze.tools/lc.pnghttps://s.waze.tools/lcus.pnghttps://s.waze.tools/sm.pnghttps://sign.waze.tools/beta.pnghttps://sign.waze.tools/betc.pnghttps://s.waze.tools/mapr.pnghttps://sign.waze.tools/s0500.pnghttps://s.waze.tools/p0100.pnghttps://sign.waze.tools/c6s.png
iPhone 15, AT&T, iOS 17β
South Central Regional Wiki | Oklahoma Wiki Page
South Central Region Discord
Oklahoma State Manager, South Central Lead
Wazing since February 2014
https://s.waze.tools/lc.pnghttps://s.waze.tools/lcus.pnghttps://s.waze.tools/sm.pnghttps://sign.waze.tools/beta.pnghttps://sign.waze.tools/betc.pnghttps://s.waze.tools/mapr.pnghttps://sign.waze.tools/s0500.pnghttps://s.waze.tools/p0100.pnghttps://sign.waze.tools/c6s.png
iPhone 15, AT&T, iOS 17β
South Central Regional Wiki | Oklahoma Wiki Page
South Central Region Discord
I just installed this in Chrome, started a new Chrome window -- and don't see any sort of Highlights tab.
What have I done wrong?
I did try installing Timbones' color highlighter. That seems to work just fine. Then I disabled it and re-enabled the FC highlighter -- nothing.
It seems like a very good idea, and I'd like to help with the testing.
What have I done wrong?
I did try installing Timbones' color highlighter. That seems to work just fine. Then I disabled it and re-enabled the FC highlighter -- nothing.
It seems like a very good idea, and I'd like to help with the testing.
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
Source of problem:
Uncaught TypeError: Property 'onclick' of object #<HTMLParagraphElement> is not a function script.js:43
fix:
find
Windows 7 Home
Chrome Version 33.0.1750.146
Uncaught TypeError: Property 'onclick' of object #<HTMLParagraphElement> is not a function script.js:43
fix:
find
and replace withdummyElem.setAttribute('onclick', 'return window');
Dell 32-bitdummyElem.onclick= function(){return window;};
Windows 7 Home
Chrome Version 33.0.1750.146
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
Uncaught ReferenceError: Waze is not defined
And, yes
To fix this, findWaze.map.events.register("zoomend", null, FChighlightSegments);
And add before that// register some events...
Waze.map.events.register("zoomend", null, FChighlightSegments);
In the Color Highlighter, this is handled in a function, with a little care to make sure that Waze is a global.Waze = unsafeWindow.Waze;
And, yes
I don't know why it works in one script and not in the other. Something else must be different between them, but I don't know what it is.Colour Highlights is working for you with dummyElem.setAttribute('onclick', 'return window');
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
Actually, I thought about this and realized I was going about it all wrong.
I took another approach that made your script work perfectly.
* I started with the bootstrap.user.js file that the original used, and modified it to call your FC Highlights file.
* I also used the manifest.json file to specify the resources used (it won't load them if they aren't in the manifest). I removed any lines I could not understand from that file, including the key.
This seems to work perfectly. None of those silly errors with Waze or W not being defined.
I attached a zip of the directory
I took another approach that made your script work perfectly.
* I started with the bootstrap.user.js file that the original used, and modified it to call your FC Highlights file.
* I also used the manifest.json file to specify the resources used (it won't load them if they aren't in the manifest). I removed any lines I could not understand from that file, including the key.
This seems to work perfectly. None of those silly errors with Waze or W not being defined.
I attached a zip of the directory
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
I am finding this quite useful. Thanks!
Would it be possible to include a checkbox or button to temporarily turn it off while investigating something else nearby? Sometimes FC hightlighter, Color Highlighter, and toolbox all want to highlight the same segment(s), and it is useful to see just one at a time, without refreshing the whole browser.
Thanks again for a useful extension.
Would it be possible to include a checkbox or button to temporarily turn it off while investigating something else nearby? Sometimes FC hightlighter, Color Highlighter, and toolbox all want to highlight the same segment(s), and it is useful to see just one at a time, without refreshing the whole browser.
Thanks again for a useful extension.
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
Cleaning my glasses again....
so many interfaces. so little brainpower.
Thanks
so many interfaces. so little brainpower.
Thanks
https://wiki.waze.com/wiki/images/2/21/ ... _Champ.pnghttps://wiki.waze.com/wiki/images/2/2f/ ... lvania.pnghttps://s.waze.tools/beta.png
USA Northeast Region Discord Chat Country Manager - USA and Thailand Wiki Master, Global Mentor utilitas, simplicitas, retentionis |
Re: [Script] FC Highlights