Page 1 of 7

[Script] WME Aerial Shifter 1.6.5 / 06.06.2016

PostPosted: Sat Jun 22, 2013 4:22 pm
by berestovskyy
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
(214.55 KiB) Downloaded 9022 times


Changelog:
05.06.2016 v1.6.5
- Merged ragacs changes

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

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

PostPosted: Sat Jun 22, 2013 5:00 pm
by iainhouse
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.

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

PostPosted: Sat Jun 22, 2013 6:12 pm
by berestovskyy
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 ;)

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

PostPosted: Sun Jun 23, 2013 12:28 am
by AlanOfTheBerg
Could you update the wiki page?

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

PostPosted: Sun Jun 23, 2013 7:29 am
by berestovskyy
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?

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

PostPosted: Sun Jun 23, 2013 2:34 pm
by AlanOfTheBerg
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.

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

PostPosted: Mon Jun 24, 2013 6:54 am
by berestovskyy
Do you guys have the same issue, when you pan the map it's shifting back to (0,0)?

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

PostPosted: Mon Jun 24, 2013 5:43 pm
by iainhouse
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.

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

PostPosted: Mon Jun 24, 2013 6:01 pm
by iainhouse
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:

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

PostPosted: Mon Jun 24, 2013 6:49 pm
by berestovskyy
iainhouse wrote:I do have a solution.

Cool, thanks! Works for me! ;)

I've updated the script.