Please use the appropriate forums to ask for lua/XML help.
The Addon help/Support forums are for user questions about addons, not coding questions.
btw isn't the actual LibGPS global variable to use LibGPS3?
Migrating from LibGPS2
LibGPS3 offers full backwards compatibility to LibGPS2 (see compatibility.lua), but it's still highly recommended to migrate to the new API.
In order to use the new API, simply access the library via the "LibGPS3" global variable instead of "LibGPS2" or LibStub.
Most functions stayed the same between v2 and v3, but there are a few breaking changes. The following list shows how to migrate those cases.
|