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.

Post Reply
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.

[Script] WME TimerLS

Post by
http://i68.tinypic.com/2w7jwvn.jpg
It is a visual and hearing helper that shows a timer of last saved. (This is to avoid saving too often)

WME TimerLS
https://greasyfork.org/es/scripts/14420-wme-timerls
Current version: 0.1.3

I'm working to make it better!

The latest version includes:

* Display editions of the current hour
* Display editions of the current day
* Setting the limit editions in one minute, one hour and one day
* Can add multiple languages
Last edited by jrcuelloalcaraz on Sat Dec 12, 2015 1:53 pm, edited 10 times in total.

Post by crotalo
jrcuelloalcaraz wrote:http://i63.tinypic.com/35be2pz.jpg
Es una ayuda visual y auditiva que muestra un temporizador de la última vez guardado.
It is a visual and hearing aid that shows a timer last saved.

WME TimerLS
https://greasyfork.org/es/scripts/14420-wme-timerls
Current version: 0.1.2
Excelente muy buen script felicitaciones!!
crotalo
PartnerCoordinator
PartnerCoordinator
Posts: 784
Has thanked: 177 times
Been thanked: 967 times
Wazeopedia Colombia
Wazeopedia Bogotá
Country Manager - Local Champ Colombia

Post by andrcondon
Suggestion:
Could be added a second timer, showing how much is left of the hour?

Maybe a tool tip text, with timer for the hour and the day change

Thanks!
andrcondon
Map Editor - Level 6
Map Editor - Level 6
Posts: 244
Has thanked: 55 times
Been thanked: 67 times

Post by andrcondon
When editing house numbers, you hit save and keeps working without saving them until you reload.
Disabled the script, and working fine.

Anyone else having this issue?

Thanks!
andrcondon
Map Editor - Level 6
Map Editor - Level 6
Posts: 244
Has thanked: 55 times
Been thanked: 67 times

Post by altabad
Gentlemen Wazers

That much this tool, that gives us a little more control over how to manage time to avoid massive issues in day to day, then I think it should come included in the standard Wme.

Greetings and congratulations on the contribution.
altabad
Waze Mentor
Waze Mentor
Posts: 131
Has thanked: 53 times
Been thanked: 62 times

Post by Arnoniem
Trying out this script, and I like it :D . I do have some questions and minor bugs, which I hope can be resolved/anwered;
nzahn1 wrote:I don't know if this was reported:When on/active TimerLS causes the house number (HN) interface to freeze ("Hang Up") when saving.
I can confirm that ;)

And I have my daily counter going up and up, not resetting the next day, which results in save warnings all the time.

What is the source of the 60s timer warning? And amount of edit/hr or day?
Is it written somewhere what the editing limitations are?
I use the slider to adjust time, but i can't get it back on 60. Jumping from 45s to 75s...
I've learned myself to save a lot, and in some cases every few edits, because otherwise a roundabout will not refresh itself. Or when editing big landmarks, I have often had ~50 edits go to waste, because of saving errors. So I'd like the timer to consider the nr of edits per minute or something like that ;)

Gracias!
Arnoniem
Waze Global Champs
Waze Global Champs
Posts: 2277
Has thanked: 240 times
Been thanked: 483 times
Global Champ BeNeLux Champs UAE Champs Android Beta Coordinator Middle East
CM:The Netherlands CM:U.A.E. CM:Oman CM:Thailand
https://u.cubeupload.com/Arnoniem/FsnBw8.jpg

Post by altabad
Thank you for this script

This script has changed my whole style editing.
usually edited and points are not sumban my tote, I am now pending fee not exceed edition per minute and avoid being bloquedo.

but I have noticed that sometimes the counter is not reset and continues counting on the issues of the day before.

What can be the error, which should be done in this case ?.
I have understood that automatically restarts at 12:00 am GMT.
altabad
Waze Mentor
Waze Mentor
Posts: 131
Has thanked: 53 times
Been thanked: 62 times

Post by andrcondon
The same is happening here, since WME update. I feel lost without this script!
andrcondon
Map Editor - Level 6
Map Editor - Level 6
Posts: 244
Has thanked: 55 times
Been thanked: 67 times

Post by aureozb
still not working :?
aureozb
Waze Global Champs
Waze Global Champs
Posts: 102
Has thanked: 110 times
Been thanked: 32 times

Post by aureozb
JustinS83 wrote:I don't use this script but tried to get it working quick...I couldn't get alignments to make sense, though.

If you change the sheet declarations starting on line 120 to this

Code: Select all

sheet.insertRule('#timerLSIconContainer, #timerLSIconContainer div{height: 60px; width: 57px; font-size: 1.3rem; font-weight: bold; color: brown;}', sheet.cssRules?sheet.cssRules.length:0);		
sheet.insertRule('#timerLSIconContainer div{background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAtCAYAAADcMyneAAAABmJLR0QA7wAKACUVVLrgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwCByktRJP0ywAAAntJREFUWMPtl79qFFEUxn9nc5ItQhAESaEWASE2AUVEMWAjTHF9gBSiTYTgAwRrCy0Egz6BiI36AIOsgoWgsFhpEK1sUiiEoCFC/pydYzGbzbjZzCab2U0zX7U7c++Z737nzz0HSpQoUaJEiRIlSpQo0Tvk0AYCJzHG0EMYMRKUZY9ZKZSgBOaAew7jYukz3ydRMUDBd4gsAjc85nMhBCViAvjoyrjAE2Dd4a4YSygvMTY6bkwPcAKYdVgSeI5xGrgF1L3GpWKCI3CBgEvEw4yiLoH3EhjpovwZidgi8C7z7K1ELUHbztNj8Hpq4U+T8EgzniooVWAzZ3u16eaKR4ik5v52WlgpNNHsALt2SyOd4lcLrQl6oMzd1z4ttGSlmZlgNLqs3cpmcFFnzkfMhgcSMc66coWIH3tYTzBmUCpirHkNJ0L2YlKoi8WYd+WRwJtcy6l6q6I8HqSL8RoLBL65Md3M5L3wG3jtMZ8G5+IdV8dAfBR518tVOAWM7io/yqbDInFurewzwcALIHIYbf+KwDrwhYjr1JqFfqAEA3NizLjyU4wPKElbDZxCmRZlwWF24AQFrqI0BO54g6+inPOYV60FEZPAIsYkIf82q/RFQWMII8FYpcpTjGcSuJithWLginfrqPrjYv2vNlZdMWC4U0/YrX/sWUHv+LPDfZu6uip5rUT6xsUKVLDVbhnHOpBvND827HAT4zI16pklG61rL6bhaQM8Wmw3Y6yI8suVeYmooqxl9DjvypDAbYHvKE7gAYajgHEcpeIwIYH7GKdcuSZG3fs1k7THleT4fnse2Y6P5v9iZ5LsVOcwJnYoMwmw7LXdU12JEkeNfwRMzg9iQTAvAAAAAElFTkSuQmCC") center top no-repeat;}', sheet.cssRules?sheet.cssRules.length:0);	
sheet.insertRule('#timerLSIconContainer div.prevent{background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAtCAYAAADcMyneAAAABmJLR0QA7wAKACUVVLrgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwCAxQwSnR4cAAAAvFJREFUWMPtl09rHHUcxj/Pb7Mdd0KpiciiViQ4Q71UKiKKBS+CCL6AHkQvFYovoHj2oAfBoq9AxIv2BRShBQ+CQvSkoagbKGIOVtIZW9pNdrMzj4d0YtxsNrq7MZd5brM/9plnvn+e7/cHNWrUqFGjRo0aNWrUmByaliCP08cK+3hDk1MNXJZNhfUHu51spgL/jNMLhndL3A4WltF9Sv+HiJQ2QVoJ4vUT9zo/zERgHqdLwLe220IfA5uW3wGtgb+Q1dtPoe2HJc6D1jCfIR63/aak5YVu5/mZ1MZ6K3k2ixPncfrBLtHO4/TrPE6PHfBxSRanW1mcfLXrt2vrrWRP4OcmFVjVnPFtgN/ipUpUACKgP+bvERhMuN46qUfUkvG9UXU8N1UYDWKC7nBVXd551D7lFqb2AA2/+N96h7dVqWqr0d8ZZuVXebFVvam0XYwNoL0lCQy/9rtjeadOcYWne2u9rJWUiKeC9OIfDzx5Y2REpFLSOUOQdPfVwS1nxxalKtEzFTjEJ+ki9oeluNoMByTHvoP00d80OoQIDmGh27mUtZKfbJ/1difv6/GCLxe6ne8P4pypQIDFjdUrwJVZ8c1c4G7cipPTAc3vbW73mw4rxzd+6R+ZwKyVfA68AswPO5HQ5qaKH29GyWvt3urt/11gHqcXjM8J/W77G6BU5ec2FqfnHM4OGuUl4PxRRPAloQJ4u0d5PSKcWeh2Lu+kvpWcAq80rFPfNR8d2+5hah8cPT0a4BJzJ1L4RNKneSt5rjrcssuKoa1I48bQbEfd0KEFQpFhADRH2acP2PymHnXGHmPGAIUgQhqMZxnNM3ENFpiw3ZEnRh5jJDVL+w3ghYc2Vpd3Nmioltnyif6Ngj7kcTpfjEjz5PsgyoCbti/mcRoZ372/LQyAZ0AN228F6WfAeZy+b9tCFPIiEISW8jh9Dzhp++WGtHw4dxK7HapxbzO8InroSf7n9ncod5I9tzoE8gRFLAbsf6urUeOo8ReIfjXw7xc8AAAAAABJRU5ErkJggg==") center top no-repeat;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'savedInfo\']{background: transparent; height: auto; width: auto; position: absolute; right: 0; top: 40px;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'savedInfo\'] pre{background: #bedce5; border-radius: 2px; color: brown; margin: 2px 0 0 0; padding: 0 5px; text-align: right; white-space: pre;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer button{background: none; border: none; outline: none; position: absolute; right: 5px; top: 3px;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'cnf\']{cursor: default; display: none; text-align: right; background: #bedce5; border: solid 1px #ccc; border-radius: 2px; height: auto; width: auto; color: black; font-size: 11px; padding: 4px; position: absolute; right: 0; top: 2px; z-index: 1;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'cnf\'] .barrCnf{background: #3d3d3d; border-radius: 3px; color: white; height: auto; width: auto; font-weight: bold; margin-bottom: 2px; padding: 1px 6px; position: relative; text-align: left;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'cnf\'] .barrCnf span{background: red; border: solid 1px #ccc; border-radius: 2px; cursor: pointer; display: block; height: 13px; width: 13px; position: absolute; right: 5px; top: 5px;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'cnf\'] label{display: inline; font-weight: normal; padding: 0 5px 0 3px; white-space: nowrap;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer div[type=\'cnf\'] input{max-width: 45px; margin-bottom: 1px; padding: 0 4px; text-align: right;}', sheet.cssRules?sheet.cssRules.length:0);
sheet.insertRule('#timerLSIconContainer input[type=\'range\']{left: -4px; margin: 0; outline: none; padding: 0; position: absolute; top: 17px; transform: rotate(-90deg); width: 25px;}', sheet.cssRules?sheet.cssRules.length:0);
and var saveItem delcaration on line 218 to this

Code: Select all

var saveItem = $('[class*="toolbar-button waze-icon-save"]')[0];
It will at least show. Seems to work (I think? Like I said, I didn't use the script), but the config menu doesn't display properly (and the icon doesn't display).
the script only work one time, and now i cant save my edits, when i click on the save button, doens do nothing
aureozb
Waze Global Champs
Waze Global Champs
Posts: 102
Has thanked: 110 times
Been thanked: 32 times

Post by aureozb
JustinS83 wrote: Sorry, I don't have time to take over development of the script; I was just trying to help get it going since I saw activity on the thread. Maybe someone else has the time to pick up from my tweaks and get it working better.
Dude, its working now, i did a refresh, thanks :)
aureozb
Waze Global Champs
Waze Global Champs
Posts: 102
Has thanked: 110 times
Been thanked: 32 times