Quantcast Adding/removing icons to the map - WoWInterface
Thread Tools Display Modes
04-15-18, 02:15 PM   #1
CrittenxD
A Defias Bandit
Join Date: Apr 2018
Posts: 3
Adding/removing icons to the map

DISCLAIMER: I am a beginner when it comes to any form of coding, I am also using the classic api. I've been doing this for around 3-4 weeks. Be gentle please!

Hey, I am in the process of creating my own questing addon which displays what to do next on the screen (similar to vanillaguide). I've made pretty good progress so far, but I am stuck on the next feature I want to implement, which is adding/removing icons to the map. I am struggling to find any information on how to do this, my google searches end mostly in how to make a minimap button guides or finished map marker addons.

I simply want to create a function which adds an icon to coordinates x/y or removes an icon.

P. S.: I am also wondering about the different zoom stages for the map, I feel like I would have to handle each of those for seeing the icons on all stages.
  Reply With Quote
04-15-18, 02:21 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,466
This is the library you want to use: https://www.wowace.com/projects/herebedragons
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-18-18, 05:35 AM   #3
CrittenxD
A Defias Bandit
Join Date: Apr 2018
Posts: 3
As far as I can see this library is for the legion version of the game, as I said I'm using the classic api.
I'm more looking for a general explanation on how to add icons to the map as I'm struggling to find any useful information using google.
  Reply With Quote
04-18-18, 05:56 AM   #4
Kanegasi
A Cobalt Mageweaver
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 218
I posted a reply right after Seerah informing you that this forum supports only official Blizzard games and that we cannot help you. Unfortunately, Seerah gave you the benefit of the doubt and decided to delete my reply.
  Reply With Quote
04-18-18, 06:29 AM   #5
myrroddin
A Molten Giant
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 876
You will have to wait for WoW Classic to launch, and hope that Blizzard releases it with AddOn support. If they do, then chances are fairly good that it will be a modern API, and not the old vanilla API.

In the meantime, you will have to wait on Blizzard.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Adding/removing icons to the map

Thread Tools
Display Modes

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