diff --git a/templates/job-order/form.html.twig b/templates/job-order/form.html.twig
index 329ad149..822570a2 100644
--- a/templates/job-order/form.html.twig
+++ b/templates/job-order/form.html.twig
@@ -595,9 +595,11 @@ $(function() {
}
});
- // check if we need to set map
- var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
- selectPoint(map, latlng);
+ {% if mode != 'create' %}
+ // check if we need to set map
+ var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
+ selectPoint(map, latlng);
+ {% endif %}
{% if mode == 'update-processing' %}
// display outlet map