Adding custom icon to Gmap in Mission Planner

I create custom form where user can select an image png, write the lat/lon and click on add button which will add the image to the gmap control in and another button which will update the lat/lon of the icon added by the user if the user change the values
Any Help?