Originally Posted by Garkin
LibMapPins creates one filter per pinType (category). So if you don't want to create filters by yourself, just merge more pins to one pinType. If you want different textures for each pin of the same pinType, in layout use function which will return correct texture. I have done the same in LoreBooks.
|
Earlier I did something like this:
Lua Code:
local TYPE = pinData[ACHDataIndex.TYPE]
if TYPE == 20 then
pinType = PINS_AYLEID
elseif TYPE == 21 then
pinType = PINS_WWVAMP
end
LMP:CreatePin(pinType, {OtherTypeName}, pinData[ACHDataIndex.X], pinData[ACHDataIndex.Y])
But that caused issues with things like zrMiniMap.
I'll snoop around in your code