Page 78 of 79

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Thu Aug 15, 2019 11:35 am
by voludu2
Thanks for giving the correct fix. Highlights works great with this one little change.
FIND:
function initCityList() {
var thisCity = W.model.segments.TopCityID();

REPLACE:
function initCityList() {
var thisCity = W.model.getTopCityId();

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Thu Aug 15, 2019 12:21 pm
by RussPA
I have 2.28 and I changed "W.model.topCityID" to "W.model.getTopCityId()" on line 820 and all is fine now, even though the script does show lots of red x, so there may be more that needs to be fixed.

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Sat Aug 17, 2019 9:51 am
by age4670
Seems to be conflicting with WME Wide-Angle Lens. Not sure what I am looking for in the console to provide info.

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Mon Aug 26, 2019 6:19 pm
by ojlaw
hello, forgive me if this is not a Color Highlights issue. someone smarter than me suggested these errors may be caused by WME CH so i figured i would pass it along. thanks for an awesome script.
WME CH.jpg
(66.55 KiB) Downloaded 281 times

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Wed Sep 25, 2019 12:48 pm
by moosool
Would it be possible to change the color of the 'Filter by City' option which is currently in yellow? It is very difficult to see it on Primary Street segments. Thanks for considering.

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Wed Sep 25, 2019 3:11 pm
by turbomkt
moosool wrote:Would it be possible to change the color of the 'Filter by City' option which is currently in yellow? It is very difficult to see it on Primary Street segments. Thanks for considering.


If they don't update the script, you can change the color using hex color codes at line 384. Search google for "hex color picker" and you should be able to find something that works better for you.

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Fri Sep 27, 2019 7:05 pm
by SeveriorumPatrem
Just adding to the list... sorry.... but noticed today that if highlighting for a city name (City X) is enabled - and a particular segment has a different city name (City Y), but does not have City X as an alt and is therefore not highlighted - highlighting for no speed limit is not working.

* Highlights enabled for (1) City X and (2) No speed limit.
* A particular segment's primary city is City Y, and it has no alt cities. It also has no SL. No highlights appear.
* City X added as alt city.
* Segment is now highlighted for lack of speed limit.
* Speed limit added.
* Segment is now highlighted for City X.

This does not occur if the original segment has no primary city. In that case, the no-SL highlight works fine.

It's possible that city highlighting returning a negative result may block all other highlights, but I did not test that.

Maybe it's always been this way and I didn't notice?

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Fri Oct 11, 2019 12:31 pm
by voludu2
On segments where city and street have never been set (none not checked), there are no highlights.
So I cannot highlight by editor username.

Is this WAD?

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Wed Nov 13, 2019 5:56 am
by kjg53
The initCityList() function is presently throwing exceptions that are being caught in WME. As of today, the following changes to version 2.28 correct this issue.
function initCityList() {
var thisCity = W.model.topCityId;
if (thisCity === null) return;
thisCity = W.model.cities.getObjectById(thisCity);
if (thisCity === null) return;

...}

Re: [Script] WME Color Highlights - 2.28 July 2019

PostPosted: Thu Nov 14, 2019 12:51 pm
by WazingArch
Hi, can you add a highlight for segments with "Near HOV" option. Once placed, it is hard to find such segments again on the map.