WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Map size/scale and move (https://www.wowinterface.com/forums/showthread.php?t=44640)

Tonyleila 10-05-12 10:22 AM

Map size/scale and move
 
1. I tryed to set different scales for map and other windows with nibWindowSize. It was not working so i copyed the addon only used what was needed BUT if you make the map big and small again the map will loose its size :(

2. Then I tryed to make the map moveable with DragEmAll by adding

Lua Code:
  1. ["WorldMapTitleButton"] = true,
  2. ["WorldMapPositioningGuide"] = true,
  3. ["WorldMapFrame"] = true,
  4. ["WorldMapBlobFrame"] = true,

BUT the BlobFrame won't move if I move the map the Quest blobs stay ;(

3. I also tryed out AlleyMap but is not realy up to date and addons buttons like MozzFullWorldMap don't stick to the map if i move it :( also I don't loke the cords of this addon woud love to use MapCoords so I can see player and cursor in white font at the bottom (but MapCoords won't stick too AlleyMap).


(code for 1.)
Lua Code:
  1. local Opts = MapSize_Cfg
  2. local mS = CreateFrame("Frame")
  3. local StandardFrames = {
  4.     "WorldMapFrame",
  5. }
  6. -- Resize Frame table
  7. local ResizeFrames = StandardFrames
  8. -- Adjust Map Size
  9. function mS.ResizeWindows()
  10.     for i,v in pairs(ResizeFrames) do
  11.         local f = _G[v]
  12.         if f then
  13.                 f:SetScale(Opts.scale)
  14.             end
  15.         end
  16.     end
  17. ----
  18. local function EventHandler(self, event, ...)
  19.     mS.ResizeWindows()
  20. end
  21. mS:RegisterEvent("PLAYER_LOGIN")
  22. mS:RegisterEvent("ADDON_LOADED")
  23. mS:SetScript("OnEvent", EventHandler)

and
Lua Code:
  1. MapSize_Cfg = {
  2. -- Window Size
  3. scale = 2.25,       -- 1 = Normal
  4. }

Phanx 10-05-12 06:07 PM

I'd recommend Mapster. It's all modular, so if you really don't want any features other than just being able to move and resize the map, you can just disable (or even physically delete) the modules that provide the other features.

Tonyleila 10-07-12 05:49 PM

Quote:

Originally Posted by Phanx (Post 265995)
I'd recommend Mapster. It's all modular, so if you really don't want any features other than just being able to move and resize the map, you can just disable (or even physically delete) the modules that provide the other features.

Thanks for your help. I know Mapster but ist just a little bit too much ;) and I had 2 problems:
- tooltips get scaled down so I can' read them
- map stays open if i talk to an NPC so i have to close it with my mouse

I just found m Map and its perfect for me :)


All times are GMT -6. The time now is 04:51 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI