소스 검색

Refactory vista edit map

Guillermo Espinoza 8 년 전
부모
커밋
921654052d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Resources/public/js/leaflet-map.js

+ 2 - 0
Resources/public/js/leaflet-map.js

@@ -12,6 +12,8 @@ $(document).ready(function () {
     map = new L.Map('map', {zoom: getZoomLevel(), center: getDataCoords()});
     drawnItems = L.featureGroup().addTo(map);
 
+    drawMarker();
+
     L.control.layers(
             {
                 'openstreetmap': L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',