|
|
@ -1,193 +1,189 @@
|
|
|
|
/*重写比例尺、罗盘、缩放控件样式 */
|
|
|
|
/*重写比例尺、罗盘、缩放控件样式 */
|
|
|
|
|
|
|
|
|
|
|
|
/*比例尺背景*/
|
|
|
|
/*比例尺背景*/
|
|
|
|
.distance-legend {
|
|
|
|
.distance-legend {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
right: .1rem;
|
|
|
|
right: .1rem;
|
|
|
|
height: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
bottom: .2rem;
|
|
|
|
bottom: .2rem;
|
|
|
|
font-weight: bolder;
|
|
|
|
font-weight: bolder;
|
|
|
|
box-sizing: content-box;
|
|
|
|
box-sizing: content-box;
|
|
|
|
z-index: 2;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*比例尺文本*/
|
|
|
|
/*比例尺文本*/
|
|
|
|
.distance-legend-label {
|
|
|
|
.distance-legend-label {
|
|
|
|
display: inline-block;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
padding-left: .5rem;
|
|
|
|
padding-left: .5rem;
|
|
|
|
font-size: .9rem;
|
|
|
|
font-size: .8rem;
|
|
|
|
line-height: 1rem;
|
|
|
|
color: #FFFFFF;
|
|
|
|
color: #FFFFFF;
|
|
|
|
width: 7.5rem;
|
|
|
|
width: 7.5rem;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*比例尺线段*/
|
|
|
|
/*比例尺线段*/
|
|
|
|
.distance-legend-scale-bar {
|
|
|
|
.distance-legend-scale-bar {
|
|
|
|
border-left: .1rem solid #FFFFFF;
|
|
|
|
border-left: .1rem solid #FFFFFF;
|
|
|
|
border-right: .1rem solid #FFFFFF;
|
|
|
|
border-right: .1rem solid #FFFFFF;
|
|
|
|
border-bottom: .1rem solid #FFFFFF;
|
|
|
|
border-bottom: .1rem solid #FFFFFF;
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
height: .7rem;
|
|
|
|
height: .7rem;
|
|
|
|
top: 1rem;
|
|
|
|
top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
@media print {
|
|
|
|
.distance-legend {
|
|
|
|
.distance-legend {
|
|
|
|
display: none;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px),
|
|
|
|
@media screen and (max-width: 700px),
|
|
|
|
screen and (max-height: 420px) {
|
|
|
|
screen and (max-height: 420px) {
|
|
|
|
.distance-legend {
|
|
|
|
.distance-legend {
|
|
|
|
display: none;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*缩放按钮外边框*/
|
|
|
|
/*缩放按钮外边框*/
|
|
|
|
.navigation-controls {
|
|
|
|
.navigation-controls {
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
right: 1.8rem;
|
|
|
|
right: 1.8rem;
|
|
|
|
top: 65vh;
|
|
|
|
top: 65vh;
|
|
|
|
width: 2rem;
|
|
|
|
width: 2rem;
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
|
|
border-radius: .5rem .5rem .5rem .5rem;
|
|
|
|
border-radius: .3rem .3rem .3rem .3rem;
|
|
|
|
font-weight: 300;
|
|
|
|
font-weight: 300;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.naviagation-control:active {
|
|
|
|
.naviagation-control:active {
|
|
|
|
color: #FFF;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.navigation-control-last {
|
|
|
|
.navigation-control-last {
|
|
|
|
cursor: pointer;
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom: 1px solid #b5b4b4;
|
|
|
|
border-bottom: 1px solid #b5b4b4;
|
|
|
|
border-bottom: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* + 按钮*/
|
|
|
|
/* + 按钮*/
|
|
|
|
.navigation-control-icon-zoom-in {
|
|
|
|
.navigation-control-icon-zoom-in {
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
color: #2c2c2c;
|
|
|
|
color: #FFFFFF;
|
|
|
|
background: #FFFFFF;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
border-radius: .5rem .5rem 0 0;
|
|
|
|
}
|
|
|
|
padding-bottom: 4px;
|
|
|
|
.navigation-control-icon-zoom-in:hover {
|
|
|
|
}
|
|
|
|
background: rgba(204, 204, 204, 0.78);
|
|
|
|
.navigation-control-icon-zoom-in:hover {
|
|
|
|
border-radius: .3rem .3rem 0 0;
|
|
|
|
background: rgb(223, 223, 223);
|
|
|
|
}
|
|
|
|
border-radius: .5rem .5rem 0 0;
|
|
|
|
/* - 按钮*/
|
|
|
|
}
|
|
|
|
.navigation-control-icon-zoom-out {
|
|
|
|
/* - 按钮*/
|
|
|
|
position: relative;
|
|
|
|
.navigation-control-icon-zoom-out {
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
text-align: center;
|
|
|
|
color: #FFFFFF;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
background: #FFFFFF;
|
|
|
|
.navigation-control-icon-zoom-out:hover {
|
|
|
|
color: #2c2c2c;
|
|
|
|
background: rgba(204, 204, 204, 0.78);
|
|
|
|
border-radius: 0 0 .5rem .5rem;
|
|
|
|
border-radius: 0 0 .3rem .3rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.navigation-control-icon-zoom-out:hover {
|
|
|
|
/* reset 按钮*/
|
|
|
|
background: rgb(223, 223, 223);
|
|
|
|
.navigation-control-icon-reset {
|
|
|
|
border-radius: 0 0 .5rem .5rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
height: 0;
|
|
|
|
/* reset 按钮*/
|
|
|
|
fill: rgba(255, 255, 255, 0.8);
|
|
|
|
.navigation-control-icon-reset {
|
|
|
|
padding: 0 0 0 0; /* 显示reset按钮: padding: 0 0 1.5rem 0; */
|
|
|
|
position: relative;
|
|
|
|
box-sizing: content-box;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
fill: rgba(255, 255, 255, 0.8);
|
|
|
|
|
|
|
|
padding: 0 0 0 0; /* 显示reset按钮: padding: 0 0 1.5rem 0; */
|
|
|
|
/*罗盘*/
|
|
|
|
box-sizing: content-box;
|
|
|
|
.compass {
|
|
|
|
}
|
|
|
|
pointer-events: auto;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
/*罗盘*/
|
|
|
|
right: 0;
|
|
|
|
.compass {
|
|
|
|
top: 50vh;
|
|
|
|
pointer-events: auto;
|
|
|
|
width: 6rem;
|
|
|
|
position: absolute;
|
|
|
|
height: 6rem;
|
|
|
|
right: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
top: 50vh;
|
|
|
|
}
|
|
|
|
width: 6rem;
|
|
|
|
|
|
|
|
height: 6rem;
|
|
|
|
.compass-outer-ring {
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
width: 6rem;;
|
|
|
|
.compass-outer-ring {
|
|
|
|
height: 6rem;;
|
|
|
|
position: absolute;
|
|
|
|
fill: rgba(255, 255, 255, 0.5);
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
width: 6rem;;
|
|
|
|
|
|
|
|
height: 6rem;;
|
|
|
|
.compass-outer-ring-background {
|
|
|
|
fill: #5b5b5b;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
top: 14px;
|
|
|
|
|
|
|
|
left: 14px;
|
|
|
|
.compass-outer-ring-background {
|
|
|
|
width: 44px;
|
|
|
|
position: absolute;
|
|
|
|
height: 44px;
|
|
|
|
top: 14px;
|
|
|
|
border-radius: 44px;
|
|
|
|
left: 14px;
|
|
|
|
border: 12px solid rgba(47, 53, 60, 0.8);
|
|
|
|
width: 44px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
height: 44px;
|
|
|
|
}
|
|
|
|
border-radius: 44px;
|
|
|
|
|
|
|
|
border: 12px solid rgb(255, 255, 255);
|
|
|
|
.compass-gyro {
|
|
|
|
box-sizing: content-box;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
.compass-gyro {
|
|
|
|
width: 95px;
|
|
|
|
pointer-events: none;
|
|
|
|
height: 95px;
|
|
|
|
position: absolute;
|
|
|
|
fill: #faf6f6;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
width: 95px;
|
|
|
|
|
|
|
|
height: 95px;
|
|
|
|
.compass-gyro-active {
|
|
|
|
fill: #5b5b5b;
|
|
|
|
fill: #68ADFE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.compass-gyro-active {
|
|
|
|
.compass-gyro-background {
|
|
|
|
fill: #68ADFE;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
top: 31px;
|
|
|
|
|
|
|
|
left: 31px;
|
|
|
|
.compass-gyro-background {
|
|
|
|
width: 2rem;
|
|
|
|
position: absolute;
|
|
|
|
height: 2rem;
|
|
|
|
top: 31px;
|
|
|
|
border-radius: 33px;
|
|
|
|
left: 31px;
|
|
|
|
background-color: rgba(47, 53, 60, 0.8);
|
|
|
|
width: 2rem;
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
height: 2rem;
|
|
|
|
box-sizing: content-box;
|
|
|
|
border-radius: 33px;
|
|
|
|
}
|
|
|
|
background-color: rgba(250, 250, 250, 0.8);
|
|
|
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
.compass-gyro-background:hover+.compass-gyro {
|
|
|
|
box-sizing: content-box;
|
|
|
|
fill: #68ADFE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.compass-gyro-background:hover+.compass-gyro {
|
|
|
|
.compass-rotation-marker {
|
|
|
|
fill: #68ADFE;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
width: 95px;
|
|
|
|
.compass-rotation-marker {
|
|
|
|
height: 95px;
|
|
|
|
position: absolute;
|
|
|
|
fill: #68ADFE;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
width: 95px;
|
|
|
|
|
|
|
|
height: 95px;
|
|
|
|
@media screen and (max-width: 700px),
|
|
|
|
fill: #68ADFE;
|
|
|
|
screen and (max-height: 420px) {
|
|
|
|
}
|
|
|
|
.navigation-controls {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
@media screen and (max-width: 700px),
|
|
|
|
}
|
|
|
|
screen and (max-height: 420px) {
|
|
|
|
.compass {
|
|
|
|
.navigation-controls {
|
|
|
|
display: none;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.compass {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
@media print {
|
|
|
|
}
|
|
|
|
.navigation-controls {
|
|
|
|
}
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
@media print {
|
|
|
|
.compass {
|
|
|
|
.navigation-controls {
|
|
|
|
display: none;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.compass {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|