Try this function if you maybe got the ZO_MapPin's control
https://github.com/esoui/esoui/blob/...ppin.lua#L1683
Else try merTorchbug as I said as it's more easy to see the metatables and "parent class" functions and values in it (at the __index line), at least for me, then within zgoo.
Or wait for Votan to help you as he is more in the code of this stuff