Hi
I'd like to integrate MapPinEnhanced with my own addon to set pins to Delves.
There is a global method AddPin which I can use to add new pins.
But I've encountered an issue with the created pin.
- No clear way to check whether the pin still exists.
- For now, I just check
MapPinEnhancedDB.storedPins and compare pins by title. Not the best solution + I'm not sure about the performance if someone has lots of pins.
- It'd nice to have pin ID exposed publicly, e.g. as a return value from
AddPin. And a method to check whether such a pin is still present in the DB.
- No way to remove the created pin.
- I didn't find any way to remove the pin outside of the tracker.
- Also, it seems that there is no event or callback that a pin has been removed.
- Am I missing something and a workaround exists?
- Probably removal can be done using pin ID as well.
Do you plan to add something like that?
Thank you in advance.
Hi
I'd like to integrate MapPinEnhanced with my own addon to set pins to Delves.
There is a global method
AddPinwhich I can use to add new pins.But I've encountered an issue with the created pin.
MapPinEnhancedDB.storedPinsand compare pins by title. Not the best solution + I'm not sure about the performance if someone has lots of pins.AddPin. And a method to check whether such a pin is still present in the DB.Do you plan to add something like that?
Thank you in advance.