AshitaXI / Ashita

Issue tracker and wiki for the Ashita project.
https://ashitaxi.com/
7 stars 1 forks source link

Minimap Plugin: Zoom level per zone #58

Open onimitch opened 9 months ago

onimitch commented 9 months ago

Addon / Plugin Description As a user I'd like the Ashita v4 Minimap plugin to remember the zoom level I set per zone, since the same zoom level doesn't work well on every zone map.

As an alternative, would it be possible to Handle a new event inside Minimap plugin which could be used to set the zoom level, similar to how the current minimap event can be used to set opacity of elements? I've made a more advanced version of minimapmon called minimapcontrol (https://github.com/onimitch/ffxi-ashita-minimapcontrol) so if this event was available I could implement the per zone zoom level in there instead.

Thanks!

Siushaga commented 9 months ago

@onimitch I've used this one for the same reason you've stated. https://github.com/mousseng/xitools/tree/master/addons/minimap-helper

I wonder if perhaps you can incorporate similar into yours, so it's a one-stop shop. Sorry if this doesn't do exactly what you're requesting, but wanted to point this out in case it's helpful for you.

onimitch commented 9 months ago

@onimitch I've used this one for the same reason you've stated. https://github.com/mousseng/xitools/tree/master/addons/minimap-helper

I wonder if perhaps you can incorporate similar into yours, so it's a one-stop shop. Sorry if this doesn't do exactly what you're requesting, but wanted to point this out in case it's helpful for you.

Ah thanks, for some reason I didn't think of doing it that way. I'll take a look and see if I can update my addon to use a similar method. Cheers!

onimitch commented 9 months ago

I've managed to do it in my addon. Version 1.2.0 onwards automatically stores and loads the zoom level per zone https://github.com/onimitch/ffxi-ashita-minimapcontrol/releases/tag/1.2.0

I thought about closing this ticket but I'll leave it up to you @atom0s if you think this feature is still useful built into Minimap plugin or not.