Skip to content

Commit

Permalink
네이버 지도 HTTPS 접속 준비
Browse files Browse the repository at this point in the history
자바스크립트는 HTTPS 접속 지원하기 시작했음.. (공지도 없이..)
지도 타일 이미지는 아직 HTTP 접속으로 나오고 있는 상태.
  • Loading branch information
misol committed Sep 16, 2015
1 parent 78a512f commit cda221d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map_components.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function getPopupContent() {
$this->map_comp_lat = 37.57;
$this->map_comp_lng = 126.98;

$map_comp_header_script = '<script src="http://openapi.map.naver.com/openapi/naverMap.naver?ver=2.0&amp;key='.$this->soo_map_api.'"></script>';
$map_comp_header_script = '<script src="https://openapi.map.naver.com/openapi/naverMap.naver?ver=2.0&amp;key='.$this->soo_map_api.'"></script>';
$map_comp_header_script .= '<script>'.
sprintf(
'var defaultlat="%s";'.
Expand Down Expand Up @@ -328,7 +328,7 @@ function transHTML($xml_obj) {
}
elseif($this->maps_api_type == 'naver')
{
$header_script .= '<script src="http://openapi.map.naver.com/openapi/naverMap.naver?ver=2.0&amp;key='.$this->soo_map_api.'"></script><style type="text/css">span.soo_maps {display:block;} span.soo_maps img {max-width:none;}span.soo_maps>a>img {max-width:100%;}</style>'."\n";
$header_script .= '<script src="https://openapi.map.naver.com/openapi/naverMap.naver?ver=2.0&amp;key='.$this->soo_map_api.'"></script><style type="text/css">span.soo_maps {display:block;} span.soo_maps img {max-width:none;}span.soo_maps>a>img {max-width:100%;}</style>'."\n";
}
else
{
Expand Down

0 comments on commit cda221d

Please sign in to comment.