Page 7 of 18

Re: [Script] WME Image Overlays (1.3.1)

Posted: Fri May 31, 2019 11:18 am
by Glodenox
turbomkt wrote:Justin uses one for RA Utility, right?
That's "just" a static window that can't be dragged around. But I guess that would be sufficient as well if I can condense the controls a bit. I'll play around with some of the ideas I've got for this.

Re: [Script] WME Image Overlays (1.3.1)

Posted: Fri May 31, 2019 2:26 pm
by Glodenox
JustinS83 wrote:Actually, it is draggable ;)
Weird. When I tried it before, I couldn't drag it around. It's working fine now.
My bad!

Re: [Script] WME Image Overlays (1.4.0)

Posted: Mon Jun 10, 2019 4:39 pm
by Glodenox
I've been playing around with the location of the controls, but eventually it felt best to me to just place the controls in the sidebar. That way most of the space remains on the map and then the opacity and parent layer fields aren't positioned weirdly compared to the other image overlay attributes.

I've just released version 1.4.0 of the script which has the adjusted controls, as well as the possibility to adjust an image overlay you've saved in the past. The button that adjusted only the name in the past will now open up the "Align image" step for that image overlay.

I've also been working a bit on making it possible to lock an image to a corner instead of the centre, but that isn't ready to release yet.

https://www.tomputtemans.com/waze-scrip ... ntrols.jpg

Re: [Script] WME Image Overlays (1.4.0)

Posted: Sun Jul 14, 2019 2:36 pm
by Glodenox
You mean that the image disappears when you click on its name when the name is put in bold text (indicating that it is visible)? That is expected behaviour. That is how you're able to show and hide the images. It should always become visible if you click the edit button though.

Re: [Script] WME Image Overlays (1.4.0)

Posted: Thu Sep 05, 2019 7:18 am
by Glodenox
Hmm, that is probably not going to be easy to do. Neither ECW or the TIFF format are supported within any modern browser. I'd say that including a whole JavaScript library (if an open source one exists) just to support those image formats is out of the scope of this userscript. I'd probably also need to look into the binary code to extract the coordinates contained within the file, which is really not something you want to do in JavaScript.

I'll create an issue for it in case browser support changes for these file formats, but I honestly don't see it happening any time soon (if ever) :?

Re: [Script] WME Image Overlays (1.4.0)

Posted: Thu Nov 21, 2019 12:33 pm
by Glodenox
Pretty much all scripts are broken at the moment ;) viewtopic.php?f=819&t=294063 If you install this helper userscript, most scripts should work again: https://greasyfork.org/scripts/391783-w ... map-object

I'll try to work on adjusting my scripts either this evening or tomorrow.

Re: [Script] WME Image Overlays (1.4.1)

Posted: Mon Nov 25, 2019 6:28 pm
by Glodenox
Version 1.4.1 has been released with the fixes for the latest changes made by Waze.

Re: [Script] WME Image Overlays (1.4.1)

Posted: Sun Dec 15, 2019 11:04 pm
by Glodenox
Hmm, I think it would indeed be possible to do that if I were to use a canvas object instead of an image. But I'm a bit hesitant of supporting such features as I don't want to end up having to support all features that image editing software such as GIMP. I'll have to think about how far I would want to support that first.

Re: [Script] WME Image Overlays (1.4.1)

Posted: Mon Apr 27, 2020 12:02 pm
by Glodenox
Hmm, that shouldn't happen, indeed. I'll try to look into it tonight. Maybe I can identify a potential issue just by looking at that part of the code again.

I guess I should improve the error reporting in this script so any issues are much more visible than just printing a line in the web console.

Re: [Script] WME Image Overlays (1.4.1)

Posted: Mon Jun 01, 2020 4:43 pm
by Glodenox
It seems that the recent update of the WME requires some changes for the script to continue to work. Shouldn't take too long to fix.