You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a plugin for ATAK that receive latitude and longitude and place markers in the map with that data. That works fine, but when I close and open the app, the markers are still there. I would like them to be removed everytime I open the app, but I have no clue how to do it.
Anyone has any idea how to achive this? I know you can remove Markers with the removeFromGroup() function, but I don't know where the placed Markers, or MapItems, are stored
The text was updated successfully, but these errors were encountered:
I discovered how to do it. It wasn't a ATAK issue, but an Android issue. The ATAK plugin API has a method onDestroyImpl that is executed when closing the plugin. It is located in MapComponent.
So, I clear the map there and once I close the App, It deletes everything. There is an equivalent for just the plugin, not the App called onDropDownClose() in DropDownReceiver.
Hello,
I have a plugin for ATAK that receive latitude and longitude and place markers in the map with that data. That works fine, but when I close and open the app, the markers are still there. I would like them to be removed everytime I open the app, but I have no clue how to do it.
Anyone has any idea how to achive this? I know you can remove Markers with the removeFromGroup() function, but I don't know where the placed Markers, or MapItems, are stored
The text was updated successfully, but these errors were encountered: