Thread Tools Display Modes
10-05-12, 10:22 AM   #1
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
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. }
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
10-05-12, 06:07 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
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.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
10-07-12, 05:49 PM   #3
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
Originally Posted by Phanx View Post
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
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Map size/scale and move


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off