Remove auto map marker placement on incoming job order form

This commit is contained in:
Ramon Gutierrez 2018-01-31 03:38:57 +08:00
parent 9d74fd9a1d
commit e69ece1e48

View file

@ -595,9 +595,11 @@ $(function() {
} }
}); });
// check if we need to set map {% if mode != 'create' %}
var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }}); // check if we need to set map
selectPoint(map, latlng); var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }});
selectPoint(map, latlng);
{% endif %}
{% if mode == 'update-processing' %} {% if mode == 'update-processing' %}
// display outlet map // display outlet map