[Script] WME Aerial Shifter 1.5 / 10.09.2014

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.

[Script] WME Aerial Shifter 1.5 / 10.09.2014

Postby berestovskyy » Sat Jun 22, 2013 4:22 pm

What is Aerial Shifter?
This script helps you adjust the position and opacity of underlying satellite imagery.

Download links:
> For Chrome browser please download the script at Chrome Web Store
> For Firefox browser please download the script at GreasyFork.org
Note: for Firefox browser you also need Greasemonkey or Tampermonkey installed.

Screenshots:
WAS-annotated-screenshot.png
WAS-annotated-screenshot.png (214.55 KiB) Viewed 5708 times


Changelog:
10.09.2014 v1.5:
- Updated to the latest WME beta
- Other minor changes

05.02.2014 v1.4.5:
- Added 'Reset defaults' icon
- Fixed right-to-left languages
- Updated to the latest WME beta

10.01.2014 v1.4.4:
- fixed panel width
- other minor changes

08.01.2014 v1.4.3:
- back to absolute rather than fixed position
08.01.2014 v1.4.2:
- fixed WAS position
- other minor changes
06.12.2013 v1.4.1:
- opacity of satellite imagery by iainhouse
- spinners for the inputs (seems does not work in Firefox)
- settings are now in local storage rather than cookies
- autoupdates
07.10.2013 v1.3.2:
- new WME paths
- fixed text position and color in prod WME
28.08.2013 v1.3.1:
- updated to new WME beta path
27.08.2013 v1.3:
- updated to Google satellite imagery
- merged WME prod and beta branches
- tested in Firefox
16.07.2013 v1.2.15 released for WME beta 1.2-68
24.06.2013 v1.2.14:
- map panning fixed (thanks to iainhouse)
22.06.2013 v1.2.13:
- fixed to work with WME v 1.2

Known issues:
- Sometimes empty tiles appear around the map border.

Author: byo
Contributors: berestovskyy and iainhouse
Last edited by berestovskyy on Wed Feb 05, 2014 1:42 pm, edited 19 times in total.
berestovskyy
Waze Global Champs
Waze Global Champs
 
Posts: 924
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 248 times
Been thanked: 688 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby iainhouse » Sat Jun 22, 2013 5:00 pm

Damn good work, that man. :mrgreen: I tried (& failed) to fix it myself - I'll have to dig in and see what you did. :)

If the quality of the aerials increases with the addition of Google Aerials, this script is only going to become more useful.
UK Country Administrator
AM: London (DELETED), S Wales
Waze 3.7.3 • iPhone 4S (iOS 6.1.3) • Chrome/W7x64
ImageImage
UK WikiWaze FAQ
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 6357
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 984 times
Been thanked: 3191 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby berestovskyy » Sat Jun 22, 2013 6:12 pm

Oh, I just changed a line, after "// Apply the shift", but spent like 2 hours creating my first CRX :lol:

The link at the Wiki page points to a closed part of the forum, so I created this topic ;)
berestovskyy
Waze Global Champs
Waze Global Champs
 
Posts: 924
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 248 times
Been thanked: 688 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby AlanOfTheBerg » Sun Jun 23, 2013 12:28 am

Could you update the wiki page?
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ - iOS 9.3.1 | Waze v4.4.9904
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23436
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1079 times
Been thanked: 4543 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby berestovskyy » Sun Jun 23, 2013 7:29 am

AlanOfTheBerg wrote:Could you update the wiki page?

I've updated the wiki, but I left that old link as well. Shall I remove it?
berestovskyy
Waze Global Champs
Waze Global Champs
 
Posts: 924
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 248 times
Been thanked: 688 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby AlanOfTheBerg » Sun Jun 23, 2013 2:34 pm

berestovskyy wrote:
AlanOfTheBerg wrote:Could you update the wiki page?

I've updated the wiki, but I left that old link as well. Shall I remove it?

If it's no longer relevant, it should be removed. Wiki history will still have it.
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ - iOS 9.3.1 | Waze v4.4.9904
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23436
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1079 times
Been thanked: 4543 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby berestovskyy » Mon Jun 24, 2013 6:54 am

Do you guys have the same issue, when you pan the map it's shifting back to (0,0)?
berestovskyy
Waze Global Champs
Waze Global Champs
 
Posts: 924
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 248 times
Been thanked: 688 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby iainhouse » Mon Jun 24, 2013 5:43 pm

berestovskyy wrote:Do you guys have the same issue, when you pan the map it's shifting back to (0,0)?


Yes, I'm afraid so. Didn't see this happening before - maybe something minor has changed in WME?

I'm pretty sure that after you got it working, it was almost the opposite: changing the values had no effect until panning the map.

[EDIT] Ignore the above (for the moment). Just realised I had another aerial shifter script installed. That was definitely responsible for the map not shifting as I changed the values. :oops:

I'll post again when I've done some more testing.
UK Country Administrator
AM: London (DELETED), S Wales
Waze 3.7.3 • iPhone 4S (iOS 6.1.3) • Chrome/W7x64
ImageImage
UK WikiWaze FAQ
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 6357
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 984 times
Been thanked: 3191 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby iainhouse » Mon Jun 24, 2013 6:01 pm

OK, definitely still reverting back to an un-shifted state after panning the map.

What I said above (not shifting when the values in the input boxes are changed) - not a real problem. It was caused by the other (non-working) script.

I do have a solution. Since I freely admit I only have a vague idea what I'm messing with, this could be elegant or it could be a major kludge. :lol:

I have added the following code to force a shift update after panning:
Code: Select all
   wazeMap.events.on({
      moveend : update
   });


There's probably a proper syntax to combine it with the "zoomend" event trigger, but I don't know what it is. :oops:
UK Country Administrator
AM: London (DELETED), S Wales
Waze 3.7.3 • iPhone 4S (iOS 6.1.3) • Chrome/W7x64
ImageImage
UK WikiWaze FAQ
I want to go to a commune in Vermont and deal with no unit of time shorter than a season
iainhouse
Country Manager
Country Manager
 
Posts: 6357
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 984 times
Been thanked: 3191 times

Re: [Script] Waze Aerial Shifter Extension for Chrome (fixed

Postby berestovskyy » Mon Jun 24, 2013 6:49 pm

iainhouse wrote:I do have a solution.

Cool, thanks! Works for me! ;)

I've updated the script.
berestovskyy
Waze Global Champs
Waze Global Champs
 
Posts: 924
Joined: Fri Jul 15, 2011 1:50 pm
Has thanked: 248 times
Been thanked: 688 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: LaukinisBriedis, vince1612