|
@@ -887,7 +887,9 @@ class MarkerObj {
|
|
|
|
|
|
//레벨별 이미지 사이즈 변경
|
|
|
setImage (type) {
|
|
|
- const imageLocation = this.image + type + '.png';
|
|
|
+ let image = this.image;
|
|
|
+
|
|
|
+ const imageLocation = image + type + '.png';
|
|
|
const { imageSize, imageOption } = this.getImageOptions();
|
|
|
|
|
|
let markerImage = new kakao.maps.MarkerImage(imageLocation, imageSize, imageOption);
|
|
@@ -989,6 +991,10 @@ class MarkerObj {
|
|
|
this.setImage('2');
|
|
|
}
|
|
|
|
|
|
+ if (this.type === 'intersectionCamera') {
|
|
|
+ const size = this.size[_Level] * 1.5;
|
|
|
+ $('#camera_' + this.ID).css({backgroundImage : 'url(/images/icon/cctv2.png)', backgroundSize: size +'px '+size+'px', width: size+'px', height : size+'px'});
|
|
|
+ }
|
|
|
|
|
|
|
|
|
if (_MarkerHandle.isDrawList(this.type)) {
|
|
@@ -1048,6 +1054,11 @@ class MarkerObj {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (this.type === 'intersectionCamera') {
|
|
|
+ const size = this.size[_Level];
|
|
|
+ $('#camera_' + this.ID).css({backgroundImage : 'url(/images/icon/intersection-cctv.png)', backgroundSize: size +'px '+size+'px', width: size+'px', height : size+'px'});
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
//선택 해제
|
|
|
_MarkerHandle.selectedMarker = null;
|
|
@@ -1300,7 +1311,6 @@ class TbCCtvObj extends MarkerObj{
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>`;
|
|
|
-//<!-- <div>※ CCTV영상은 30초간 제공됩니다.</div>-->
|
|
|
return iwContent;
|
|
|
}
|
|
|
}
|
|
@@ -1403,8 +1413,8 @@ class TbVmsObj extends MarkerObj{
|
|
|
const msg = prop.msg;
|
|
|
let content = "";
|
|
|
if (msg && msg.length > 0) {
|
|
|
- const windowHeight = $(window).height();
|
|
|
- if (isMobile || windowHeight < 900) {
|
|
|
+ //const windowHeight = $(window).height();
|
|
|
+ if (isMobile) {
|
|
|
width = WH.width/2;
|
|
|
height = WH.height/2;
|
|
|
}
|
|
@@ -1806,6 +1816,10 @@ function setInfoWindowPositionWidthDraggable(markerObj, type) {
|
|
|
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
|
|
|
left = position[1];
|
|
|
}
|
|
|
+ if (top < 110) {
|
|
|
+ //top = 10;
|
|
|
+ top = 111;
|
|
|
+ }
|
|
|
infoWindow.css({
|
|
|
top : top + 'px',
|
|
|
left : left + 'px',
|
|
@@ -1837,10 +1851,20 @@ function createVideoJs(id, url, obj) {
|
|
|
crossorigin: "anonymous",
|
|
|
},
|
|
|
],
|
|
|
- responsive: false,
|
|
|
+ responsive: true,
|
|
|
autoplay: true,
|
|
|
muted: true,
|
|
|
preload: "metadata",
|
|
|
+ controls: true,
|
|
|
+ controlBar: {
|
|
|
+ playToggle: false, // 재생/일시정지 토글 버튼 활성화
|
|
|
+ // remainingTimeDisplay: true, // 남은 시간 표시 활성화
|
|
|
+ // progressControl: true, // 진행률 컨트롤 활성화
|
|
|
+ pictureInPictureToggle: false, // 화면 내 화면(PiP) 토글 버튼 활성화
|
|
|
+ currentTimeDisplay: false, // 현재 재생 시간 표시 활성화
|
|
|
+ fullscreenToggle: true, // 전체화면 토글 버튼 활성화 (iOS가 아닐 경우)
|
|
|
+ qualitySelector: false,
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
//에러발생 시 대체 이미지 생성
|