Skip to content

Commit

Permalink
코드 정리.
Browse files Browse the repository at this point in the history
  • Loading branch information
misol committed Mar 27, 2017
1 parent bad9025 commit 00a33ec
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions tpl/daum_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ function getMaps() {
center = new daum.maps.LatLng(center_split[0], center_split[1]);
map.setCenter(center);

map_lat = center.getLng();
map_lng = center.getLat();

var markers_split = img_data.map_markers.split(';');
map_marker_positions = img_data.map_markers.trim();
marker = addMarker(0);
Expand Down
3 changes: 0 additions & 3 deletions tpl/google_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ function getMaps() {
center = new google.maps.LatLng(center_split[0], center_split[1]);
map.setCenter(center);

map_lat = center.lng();
map_lng = center.lat();

var markers_split = img_data.map_markers.split(';');
map_marker_positions = img_data.map_markers.trim();
marker = addMarker(0);
Expand Down
3 changes: 0 additions & 3 deletions tpl/leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ function getMaps() {
center = L.latLng(center_split[0], center_split[1]);
map.panTo(center);

map_lat = center.lng;
map_lng = center.lat;

}, response_tags);
} else {
center = [defaultlat, defaultlng];
Expand Down
3 changes: 0 additions & 3 deletions tpl/naver_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ function getMaps() {
center = new nhn.api.map.LatLng(center_split[0], center_split[1]);
map.setCenter(center);

map_lat = center.getLng();
map_lng = center.getLat();

var markers_split = img_data.map_markers.split(';');
map_marker_positions = img_data.map_markers.trim();
marker = addMarker(0);
Expand Down
2 changes: 1 addition & 1 deletion tpl/popup_maps.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ <h1 id="title"><a href="#" onclick="toggle('helpDiv');return false;">{$component
</a>
</div>
</div>
<script>var defaultlat = "{$defaultlat}", defaultlng="{$defaultlat}", dragmarkertext="{$lang->soo_drag_marker_text}", soo_about_marker="{$lang->soo_about_marker}", soo_langcode="{$soo_langcode}";</script>
<script>var defaultlat = "{$defaultlat}", defaultlng="{$defaultlng}", dragmarkertext="{$lang->soo_drag_marker_text}", soo_about_marker="{$lang->soo_about_marker}", soo_langcode="{$soo_langcode}";</script>

0 comments on commit 00a33ec

Please sign in to comment.