LibMapPins-1.0

This project is experimental.

This project is only experimental and may change drastically between now and when it comes out of experimental status. It may even be disapproved once that happens, worst-case.

Be forewarned before downloading anything from this project.

LibMapPins-1.0

Extreme Alpha Build!

Please feel free to look at the code, documentation, post comments, suggestions, try out the (at this point limited) API

What it does

LibMapPins-1.0 is a smaller, more lightweight replacement for Astrolabe-1.0, that has these differences:

  • Uses LibStub and CallbackHandler-1.0
  • Embedded/mixed-in functions
  • Open source and community updated
  • Open SVN repository, anyone can commit updates
  • Slimmer and more lightweight, not trying to do everything
  • Supports Metric and Imperial distances
  • Place icons in battlegrounds

API

The API page.

Callbacks

Ditto here. Is there someone who can or will either teach me how to make docmeta work or update so I can see how it is done?

Forum Discussion

Discuss the code, APIs, callbacks, changes, improvements, ideas, etc on the forum thread.

Current mapIDs

As of patch 5.3, a list of current mapIDs can be found on wowpedia.org. Please update as new ones are discovered. We need mapIDs for all battlegrounds!

Usage

.pkgmeta

externals:
    Libs/LibMapPins-1.0: svn://svn.wowace.com/wow/lib-map-pins/mainline/trunk

toc File

## OptionalDeps: LibMapPins-1.0

#@no-lib-strip@
Libs\LibMapPins-1.0\lib.xml
#@end-no-lib-strip@

Main File

All APIs are embedded, and should be called via the AddOn object, not the library or pin. See below.

local MyAddOn = LibStub("AceAddon-3.0"):NewAddon("MyAddOn", "LibMapPins-1.0")

local LMP = LibStub:GetLibrary("LibMapPins-1.0")

function MyAddOn:DoSomething()
    local pin = MyAddOn:CreatePinByMapID(icon, XX.xx, YY.yy, mapID, mapFloor)
end

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Aug 18, 2013
Categories
Last update
Sep 06, 2013
Development stage
Alpha
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • itIT
  • koKR
  • ptBR
  • ruRU
  • zhCN
  • zhTW
License
GNU Lesser General Public License version 3 (LGPLv3)
Downloads
65
Recent files
  • A: r16 for 5.3.0 Sep 06, 2013
  • A: r15 for 5.3.0 Sep 03, 2013
  • A: r14 for 5.3.0 Aug 29, 2013
  • A: r13 for 5.3.0 Aug 23, 2013
  • A: r12 for 5.3.0 Aug 19, 2013

Authors

Relationships

Embedded library
CallbackHandler-1.0
LibStub