when the shap has been drawn it sends the lng and lat back to the api. Set the root to show the map.