c8y-openlayer
Version:
This module is designed to help integrate Openlayer with Cumulocity IoT
2,097 lines (1,972 loc) • 95.7 kB
CSS
.ol-control i {
cursor: default;
}
/* Bar style */
.ol-control.ol-bar {
left: 50%;
min-height: 1em;
min-width: 1em;
position: absolute;
top: 0.5em;
transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
white-space: nowrap;
}
/* Hide subbar when not inserted in a parent bar */
.ol-control.ol-toggle .ol-option-bar {
display: none;
}
/* Default position for controls */
.ol-control.ol-bar .ol-bar {
position: static;
}
.ol-control.ol-bar .ol-control {
position: relative;
top: auto;
left:auto;
right:auto;
bottom: auto;
display: inline-block;
vertical-align: middle;
background: none;
padding: 0;
margin: 0;
transform: none;
-webkit-transform: none;
}
.ol-control.ol-bar .ol-bar {
position: static;
}
.ol-control.ol-bar .ol-control button {
margin:2px 1px;
}
/* Positionning */
.ol-control.ol-bar.ol-left {
left: 0.5em;
top: 50%;
-webkit-transform: translate(0px, -50%);
transform: translate(0px, -50%);
}
.ol-control.ol-bar.ol-left .ol-control {
display: block;
}
.ol-control.ol-bar.ol-right {
left: auto;
right: 0.5em;
top: 50%;
-webkit-transform: translate(0px, -50%);
transform: translate(0px, -50%);
}
.ol-control.ol-bar.ol-right .ol-control {
display: block;
}
.ol-control.ol-bar.ol-bottom {
top: auto;
bottom: 0.5em;
}
.ol-control.ol-bar.ol-top.ol-left,
.ol-control.ol-bar.ol-top.ol-right {
top: 4.5em;
-webkit-transform:none;
transform:none;
}
.ol-touch .ol-control.ol-bar.ol-top.ol-left,
.ol-touch .ol-control.ol-bar.ol-top.ol-right {
top: 5.5em;
}
.ol-control.ol-bar.ol-bottom.ol-left,
.ol-control.ol-bar.ol-bottom.ol-right {
top: auto;
bottom: 0.5em;
-webkit-transform:none;
transform:none;
}
/* Group buttons */
.ol-control.ol-bar.ol-group {
margin: 1px 1px 1px 0;
}
.ol-control.ol-bar.ol-right .ol-group,
.ol-control.ol-bar.ol-left .ol-group {
margin: 1px 1px 0 1px;
}
.ol-control.ol-bar.ol-group button {
border-radius:0;
margin: 0 0 0 1px;
}
.ol-control.ol-bar.ol-right.ol-group button,
.ol-control.ol-bar.ol-left.ol-group button,
.ol-control.ol-bar.ol-right .ol-group button,
.ol-control.ol-bar.ol-left .ol-group button {
margin: 0 0 1px 0;
}
.ol-control.ol-bar.ol-group .ol-control:first-child > button {
border-radius: 5px 0 0 5px;
}
.ol-control.ol-bar.ol-group .ol-control:last-child > button {
border-radius: 0 5px 5px 0;
}
.ol-control.ol-bar.ol-left.ol-group .ol-control:first-child > button,
.ol-control.ol-bar.ol-right.ol-group .ol-control:first-child > button,
.ol-control.ol-bar.ol-left .ol-group .ol-control:first-child > button,
.ol-control.ol-bar.ol-right .ol-group .ol-control:first-child > button {
border-radius: 5px 5px 0 0;
}
.ol-control.ol-bar.ol-left.ol-group .ol-control:last-child > button,
.ol-control.ol-bar.ol-right.ol-group .ol-control:last-child > button,
.ol-control.ol-bar.ol-left .ol-group .ol-control:last-child > button,
.ol-control.ol-bar.ol-right .ol-group .ol-control:last-child > button {
border-radius: 0 0 5px 5px;
}
/* */
.ol-control.ol-bar .ol-rotate {
opacity:1;
visibility: visible;
}
.ol-control.ol-bar .ol-rotate button {
display: block
}
/* Active buttons */
.ol-control.ol-bar .ol-toggle.ol-active > button {
background: rgba(60, 136, 0, 0.7)
}
.ol-control.ol-bar .ol-toggle.ol-active button:hover {
background: rgba(60, 136, 0, 0.7)
}
.ol-control.ol-toggle button:disabled {
background: rgba(0,60,136,.3);
}
/* Subbar toolbar */
.ol-control.ol-bar .ol-control.ol-option-bar {
display: none;
position:absolute;
top:100%;
left:0;
margin: 5px 0;
border-radius: 0;
background: rgba(255,255,255, 0.8);
/* border: 1px solid rgba(0, 60, 136, 0.5); */
-webkit-box-shadow: 0 0 0 1px rgba(0, 60, 136, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 1px rgba(0, 60, 136, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.ol-control.ol-bar .ol-option-bar:before {
content: "";
border: 0.5em solid transparent;
border-color: transparent transparent rgba(0, 60, 136, 0.5);
position: absolute;
bottom: 100%;
left: 0.3em;
}
.ol-control.ol-bar .ol-option-bar .ol-control {
display: table-cell;
}
.ol-control.ol-bar .ol-control .ol-bar
{ display: none;
}
.ol-control.ol-bar .ol-control.ol-active > .ol-option-bar {
display: block;
}
.ol-control.ol-bar .ol-control.ol-collapsed ul {
display: none;
}
.ol-control.ol-bar .ol-control.ol-text-button > div:hover,
.ol-control.ol-bar .ol-control.ol-text-button > div {
background: none;
color: rgba(0, 60, 136, 0.5);
width: auto;
min-width: 1.375em;
margin: 0;
}
.ol-control.ol-bar .ol-control.ol-text-button {
font-size:0.9em;
border-left: 1px solid rgba(0, 60, 136, 0.8);
border-radius: 0;
}
.ol-control.ol-bar .ol-control.ol-text-button:first-child {
border-left:0;
}
.ol-control.ol-bar .ol-control.ol-text-button > div {
padding: .11em 0.3em;
font-weight: normal;
font-size: 1.14em;
font-family: Arial,Helvetica,sans-serif;
}
.ol-control.ol-bar .ol-control.ol-text-button div:hover {
color: rgba(0, 60, 136, 1);
}
.ol-control.ol-bar.ol-bottom .ol-option-bar {
top: auto;
bottom: 100%;
}
.ol-control.ol-bar.ol-bottom .ol-option-bar:before {
border-color: rgba(0, 60, 136, 0.5) transparent transparent ;
bottom: auto;
top: 100%;
}
.ol-control.ol-bar.ol-left .ol-option-bar {
left:100%;
top: 0;
bottom: auto;
margin: 0 5px;
}
.ol-control.ol-bar.ol-left .ol-option-bar:before {
border-color: transparent rgba(0, 60, 136, 0.5) transparent transparent;
bottom: auto;
right: 100%;
left: auto;
top: 0.3em;
}
.ol-control.ol-bar.ol-right .ol-option-bar {
right:100%;
left:auto;
top: 0;
bottom: auto;
margin: 0 5px;
}
.ol-control.ol-bar.ol-right .ol-option-bar:before {
border-color: transparent transparent transparent rgba(0, 60, 136, 0.5);
bottom: auto;
left: 100%;
top: 0.3em;
}
.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar,
.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar {
top: 100%;
bottom: auto;
left: 0.3em;
right: auto;
margin: 5px 0;
}
.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar {
right: 0.3em;
left: auto;
}
.ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar:before,
.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before {
border-color: transparent transparent rgba(0, 60, 136, 0.5);
bottom: 100%;
top: auto;
left: 0.3em;
right: auto;
}
.ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before {
right: 0.3em;
left: auto;
}
.ol-control-title {
position: absolute;
top: 0;
left: 0;
right: 0;
}
.ol-center-position {
position: absolute;
bottom: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
background-color: rgba(255,255,255,.8);
padding: .1em 1em;
}
.ol-fixed-canvas-layer {
-webkit-transform: none!important;
transform: none!important;
}
.ol-editbar .ol-button button {
position: relative;
display: inline-block;
font-style: normal;
-webkit-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
}
.ol-editbar .ol-button button:before,
.ol-editbar .ol-button button:after {
content: "";
border-width: 0;
position: absolute;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background-color: currentColor;
}
.ol-editbar .ol-button button:focus {
outline: none;
}
.ol-editbar .ol-selection > button:before {
width: .6em;
height: 1em;
background-color: transparent;
border: .5em solid currentColor;
border-width: 0 .25em .65em;
border-color: currentColor transparent;
-webkit-box-shadow:0 0.6em 0 -0.23em;
box-shadow:0 0.6em 0 -0.23em;
top: .35em;
left: .5em;
-webkit-transform: translate(-50%, -50%) rotate(-30deg);
transform: translate(-50%, -50%) rotate(-30deg);
}
.ol-editbar .ol-selection0 > button:after {
width: .28em;
height: .6em;
background-color: transparent;
border: .5em solid currentColor;
border-width: 0 .05em .7em;
border-color: currentColor transparent;
top: .5em;
left: .7em;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.ol-editbar .ol-delete button:after,
.ol-editbar .ol-delete button:before {
width: 1em;
height: .2em;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) rotate(45deg);
transform: translate(-50%, -50%) rotate(45deg);
}
.ol-editbar .ol-delete button:after {
-webkit-transform: translate(-50%, -50%) rotate(-45deg);
transform: translate(-50%, -50%) rotate(-45deg);
}
.ol-editbar .ol-info button:before {
width: .25em;
height: .6em;
border-radius: .03em;
top: .47em;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-editbar .ol-info button:after {
width: .25em;
height: .2em;
border-radius: .03em;
-webkit-box-shadow: -0.1em 0.35em, -0.1em 0.82em, 0.1em 0.82em;
box-shadow: -0.1em 0.35em, -0.1em 0.82em, 0.1em 0.82em;
top: .12em;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-editbar .ol-drawpoint button:before {
width: .7em;
height: .7em;
border-radius: 50%;
border: .15em solid currentColor;
background-color: transparent;
top: .2em;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-editbar .ol-drawpoint button:after {
width: .4em;
height: .4em;
border: .15em solid currentColor;
border-color: currentColor transparent;
border-width: .4em .2em 0;
background-color: transparent;
top: .8em;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-editbar .ol-drawline > button:before,
.ol-editbar .ol-drawpolygon > button:before,
.ol-editbar .ol-drawhole > button:before {
width: .8em;
height: .8em;
border: .13em solid currentColor;
background-color: transparent;
border-width: .2em .13em .09em;
top: .2em;
left: .25em;
-webkit-transform: rotate(10deg) perspective(1em) rotateX(40deg);
transform: rotate(10deg) perspective(1em) rotateX(40deg);
}
.ol-editbar .ol-drawline > button:before {
border-bottom: 0;
}
.ol-editbar .ol-drawline > button:after,
.ol-editbar .ol-drawhole > button:after,
.ol-editbar .ol-drawpolygon > button:after {
width: .3em;
height: .3em;
top: 0.2em;
left: .25em;
-webkit-box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em;
box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em;
}
.ol-editbar .ol-drawhole > button:after {
-webkit-box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em, 0.25em 0.35em;
box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em, 0.25em 0.35em;
}
.ol-editbar .ol-offset > button i,
.ol-editbar .ol-transform > button i {
position: absolute;
width: .9em;
height: .9em;
overflow: hidden;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ol-editbar .ol-offset > button i{
width: .8em;
height: .8em;
}
.ol-editbar .ol-offset > button i:before,
.ol-editbar .ol-transform > button i:before,
.ol-editbar .ol-transform > button i:after {
content: "";
height: 1em;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) rotate(45deg);
transform: translate(-50%, -50%) rotate(45deg);
-webkit-box-shadow: 0.5em 0 0 0.1em, -0.5em 0 0 0.1em;
box-shadow: 0.5em 0 0 0.1em, -0.5em 0 0 0.1em;
width: .1em;
position: absolute;
background-color: currentColor;
}
.ol-editbar .ol-offset > button i:before{
-webkit-box-shadow: 0.45em 0 0 0.1em, -0.45em 0 0 0.1em;
box-shadow: 0.45em 0 0 0.1em, -0.45em 0 0 0.1em;
}
.ol-editbar .ol-transform > button i:after {
-webkit-transform: translate(-50%, -50%) rotate(-45deg);
transform: translate(-50%, -50%) rotate(-45deg);
}
.ol-editbar .ol-split > button:before {
width: .3em;
height: .3em;
top: .81em;
left: .75em;
border-radius: 50%;
-webkit-box-shadow: 0.1em -0.4em, -0.15em -0.25em;
box-shadow: 0.1em -0.4em, -0.15em -0.25em;
}
.ol-editbar .ol-split > button:after {
width: .8em;
height: .8em;
top: .15em;
left: -.1em;
border: .1em solid currentColor;
border-width: 0 .2em .2em 0;
background-color: transparent;
border-radius: .1em;
-webkit-transform: rotate(20deg) scaleY(.6) rotate(-45deg);
transform: rotate(20deg) scaleY(.6) rotate(-45deg);
}
.ol-editbar .ol-drawregular > button:before {
width: .9em;
height: .9em;
top: 50%;
left: 50%;
border: .1em solid currentColor;
background-color: transparent;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div {
border: .5em solid currentColor;
border-color: transparent currentColor;
display: inline-block;
cursor: pointer;
vertical-align: text-bottom;
}
.ol-editbar .ol-drawregular .ol-bar:before,
.ol-control.ol-bar.ol-editbar .ol-drawregular .ol-bar {
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-editbar .ol-drawregular .ol-bar .ol-text-button {
min-width: 6em;
text-align: center;
}
.ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div:first-child {
border-width: .5em .5em .5em 0;
margin: 0 .5em 0 0;
}
.ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div:last-child {
border-width: .5em 0 .5em .5em;
margin: 0 0 0 .5em;
}
.ol-gauge
{ top: 0.5em;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.ol-gauge > *
{ display: inline-block;
vertical-align: middle;
}
.ol-gauge > span
{
margin: 0 0.5em;
}
.ol-gauge > div
{ width: 200px;
border: 1px solid rgba(0,60,136,.5);
border-radius: 3px;
padding:1px;
}
.ol-gauge button
{ height: 0.8em;
margin:0;
max-width:100%;
}
.ol-control.ol-bookmark
{ top: 0.5em;
left: 3em;
}
.ol-control.ol-bookmark button
{ position: relative;
}
.ol-control.ol-bookmark > button::before
{ content: "";
position: absolute;
border-width: 10px 5px 4px;
border-style: solid;
border-color: #fff;
border-bottom-color: transparent;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
height: 0;
}
.ol-control.ol-bookmark > div
{ display: none;
min-width: 5em;
}
.ol-control.ol-bookmark input
{ font-size: 0.9em;
margin: 0.1em 0 ;
padding: 0 0.5em;
}
.ol-control.ol-bookmark ul
{ margin:0;
padding: 0;
list-style: none;
min-width: 10em;
}
.ol-control.ol-bookmark li
{ color: rgba(0,60,136,0.8);
font-size: 0.9em;
padding: 0 0.2em 0 0.5em;
cursor: default;
clear:both;
}
.ol-control.ol-bookmark li:hover
{ background-color: rgba(0,60,136,.5);
color: #fff;
}
.ol-control.ol-bookmark > div button
{ width: 1em;
height: 0.8em;
float: right;
background-color: transparent;
cursor: pointer;
border-radius: 0;
}
.ol-control.ol-bookmark > div button:before
{ content: "\2A2F";
color: #936;
font-size: 1.2em;
line-height: 1em;
border-radius: 0;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ol-bookmark ul li button,
.ol-bookmark input
{ display: none;
}
.ol-bookmark.ol-editable ul li button,
.ol-bookmark.ol-editable input
{ display: block;
}
.ol-control.ol-bar.ol-geobar .ol-control {
display: inline-block;
vertical-align: middle;
}
.ol-control.ol-bar.ol-geobar .ol-bar {
display: none;
}
.ol-bar.ol-geobar.ol-active .ol-bar {
display: inline-block;
}
.ol-bar.ol-geobar .geolocBt button:before,
.ol-bar.ol-geobar .geolocBt button:after {
content: "";
display: block;
position: absolute;
border: 1px solid transparent;
border-width: 0.3em 0.8em 0 0.2em;
border-color: #fff transparent transparent;
-webkit-transform: rotate(-30deg);
transform: rotate(-30deg);
top: .45em;
left: 0.15em;
font-size: 1.2em;
}
.ol-bar.ol-geobar .geolocBt button:after {
border-width: 0 0.8em .3em 0.2em;
border-color: transparent transparent #fff;
-webkit-transform: rotate(-61deg);
transform: rotate(-61deg);
}
.ol-bar.ol-geobar .startBt button:before {
content: "";
display: block;
position: absolute;
width: 1em;
height: 1em;
background-color: #800;
border-radius: 50%;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.ol-bar.ol-geobar .pauseBt button:before,
.ol-bar.ol-geobar .pauseBt button:after {
content: "";
display: block;
position: absolute;
width: .25em;
height: 1em;
background-color: #fff;
top: 50%;
left: 35%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.ol-bar.ol-geobar .pauseBt button:after {
left: 65%;
}
.ol-control.ol-bar.ol-geobar .centerBt,
.ol-control.ol-bar.ol-geobar .pauseBt,
.ol-bar.ol-geobar.pauseTrack .startBt,
.ol-bar.ol-geobar.centerTrack .startBt,
.ol-bar.ol-geobar.centerTrack.pauseTrack .pauseBt,
.ol-bar.ol-geobar.centerTrack .pauseBt {
display: none;
}
.ol-bar.ol-geobar.pauseTrack .pauseBt,
.ol-bar.ol-geobar.centerTrack .centerBt{
display: inline-block;
}
.ol-control.ol-globe
{ position: absolute;
left: 0.5em;
bottom: 0.5em;
border-radius: 50%;
opacity: 0.7;
transform: scale(0.5);
transform-origin: 0 100%;
-webkit-transform: scale(0.5);
-webkit-transform-origin: 0 100%;
}
.ol-control.ol-globe:hover
{ opacity: 0.9;
}
.ol-control.ol-globe .panel
{ display:block;
width:170px;
height:170px;
background-color:#fff;
cursor: pointer;
border-radius: 50%;
overflow: hidden;
-webkit-box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
}
.ol-control.ol-globe .panel .ol-viewport
{ border-radius: 50%;
}
.ol-control.ol-globe .ol-pointer
{ display: block;
background-color: #fff;
width:10px;
height: 10px;
border:10px solid red;
position: absolute;
top: 50%;
left:50%;
transform: translate(-15px, -40px);
-webkit-transform: translate(-15px, -40px);
border-radius: 50%;
z-index:1;
transition: opacity 0.15s, top 0s, left 0s;
-webkit-transition: opacity 0.15s, top 0s, left 0s;
}
.ol-control.ol-globe .ol-pointer.hidden
{ opacity:0;
transition: opacity 0.15s, top 3s, left 5s;
-webkit-transition: opacity 0.15s, top 3s, left 5s;
}
.ol-control.ol-globe .ol-pointer::before
{ border-radius: 50%;
-webkit-box-shadow: 6px 6px 10px 5px #000;
box-shadow: 6px 6px 10px 5px #000;
content: "";
display: block;
height: 0;
left: 0;
position: absolute;
top: 23px;
width: 0;
}
.ol-control.ol-globe .ol-pointer::after
{ content:"";
width:0;
height:0;
display: block;
position: absolute;
border-width: 20px 10px 0;
border-color: red transparent;
border-style: solid;
left: -50%;
top: 100%;
}
.ol-control.ol-globe .panel::before {
border-radius: 50%;
-webkit-box-shadow: -20px -20px 80px 2px rgba(0, 0, 0, 0.7) inset;
box-shadow: -20px -20px 80px 2px rgba(0, 0, 0, 0.7) inset;
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1;
}
.ol-control.ol-globe .panel::after {
border-radius: 50%;
-webkit-box-shadow: 0 0 20px 7px rgba(255, 255, 255, 1);
box-shadow: 0 0 20px 7px rgba(255, 255, 255, 1);
content: "";
display: block;
height: 0;
left: 23%;
position: absolute;
top: 20%;
-webkit-transform: rotate(-40deg);
transform: rotate(-40deg);
width: 20%;
z-index: 1;
}
.ol-control.ol-globe.ol-collapsed .panel
{ display:none;
}
.ol-control-top.ol-globe
{ bottom: auto;
top: 5em;
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
}
.ol-control-right.ol-globe
{ left: auto;
right: 0.5em;
transform-origin: 100% 100%;
-webkit-transform-origin: 100% 100%;
}
.ol-control-right.ol-control-top.ol-globe
{ left: auto;
right: 0.5em;
transform-origin: 100% 0;
-webkit-transform-origin: 100% 0;
}
.ol-gridreference
{ background: #fff;
border: 1px solid #000;
overflow: auto;
max-height: 100%;
top:0;
right:0;
}
.ol-gridreference input
{ width:100%;
}
.ol-gridreference ul
{ margin:0;
padding:0;
list-style: none;
}
.ol-gridreference li
{ padding: 0 0.5em;
cursor: pointer;
}
.ol-gridreference ul li:hover
{ background-color: #ccc;
}
.ol-gridreference li.ol-title,
.ol-gridreference li.ol-title:hover
{ background:rgba(0,60,136,.5);
color:#fff;
cursor:default;
}
.ol-gridreference ul li .ol-ref
{ margin-left: 0.5em;
}
.ol-gridreference ul li .ol-ref:before
{ content:"(";
}
.ol-gridreference ul li .ol-ref:after
{ content:")";
}
.ol-control.ol-imageline {
bottom:0;
left: 0;
right: 0;
padding: 0;
overflow: visible;
-webkit-transition: .3s;
transition: .3s;
}
.ol-control.ol-imageline.ol-collapsed {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
.ol-imageline > div {
height: 4em;
position: relative;
white-space: nowrap;
scroll-behavior: smooth;
overflow: hidden;
width: 100%;
}
.ol-imageline.ol-touch > div {
overflow-x: auto;
}
.ol-imageline > div.ol-move {
scroll-behavior: unset;
}
.ol-control.ol-imageline button {
position: absolute;
top: -1em;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
margin: .65em;
-webkit-box-shadow: 0 0 0 0.15em rgba(255,255,255,.4);
box-shadow: 0 0 0 0.15em rgba(255,255,255,.4);
}
.ol-control.ol-imageline button:before {
content: '';
position: absolute;
-webkit-transform: translate(-50%, -50%) rotate(135deg);
transform: translate(-50%, -50%) rotate(135deg);
top: 40%;
left: 50%;
width: .4em;
height: .4em;
border: .1em solid currentColor;
border-width: .15em .15em 0 0;
}
.ol-control.ol-imageline.ol-collapsed button:before {
top: 60%;
-webkit-transform: translate(-50%, -50%) rotate(-45deg);
transform: translate(-50%, -50%) rotate(-45deg);
}
.ol-imageline,
.ol-imageline:hover {
background-color: rgba(0,0,0,.75);
}
.ol-imageline.ol-arrow:after,
.ol-imageline.ol-arrow:before {
content: "";
position: absolute;
top: 50%;
left: .2em;
border-color: #fff #000;
border-width: 1em .6em 1em 0;
border-style: solid;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 1;
opacity: .8;
pointer-events: none;
-webkit-box-shadow: -0.6em 0 0 1em #fff;
box-shadow: -0.6em 0 0 1em #fff;
}
.ol-imageline.ol-arrow:after {
border-width: 1em 0 1em .6em;
left: auto;
right: .2em;
-webkit-box-shadow: 0.6em 0 0 1em #fff;
box-shadow: 0.6em 0 0 1em #fff;
}
.ol-imageline .ol-image {
position: relative;
height: 100%;
display: inline-block;
cursor: pointer;
}
.ol-imageline img {
max-height: 100%;
border: .25em solid transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
-webkit-transition: 1s;
transition: 1s;
}
.ol-imageline img.ol-loaded {
opacity:1;
}
.ol-imageline .ol-image.select {
background-color: #fff;
}
.ol-imageline .ol-image span {
position: absolute;
width: 125%;
max-height: 2.4em;
left: 50%;
bottom: 0;
display: none;
color: #fff;
background-color: rgba(0,0,0,.5);
font-size: .8em;
overflow: hidden;
white-space: normal;
text-align: center;
line-height: 1.2em;
-webkit-transform: translateX(-50%) scaleX(.8);
transform: translateX(-50%) scaleX(.8);
}
/*
.ol-imageline .ol-image.select span,
*/
.ol-imageline .ol-image:hover span {
display: block;
}
.ol-control.ol-routing.ol-isochrone .ol-method-time,
.ol-control.ol-routing.ol-isochrone .ol-method-distance,
.ol-control.ol-routing.ol-isochrone > button {
position: relative;
}
.ol-control.ol-routing.ol-isochrone .ol-method-time:before,
.ol-control.ol-routing.ol-isochrone > button:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
border: .1em solid currentColor;
width: .8em;
height: .8em;
border-radius: 50%;
-webkit-box-shadow: 0 -0.5em 0 -0.35em, 0.4em -0.35em 0 -0.35em;
box-shadow: 0 -0.5em 0 -0.35em, 0.4em -0.35em 0 -0.35em;
clip: unset;
}
.ol-control.ol-routing.ol-isochrone .ol-method-time:after,
.ol-control.ol-routing.ol-isochrone > button:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) rotate(-60deg);
transform: translate(-50%, -50%) rotate(-60deg);
border-radius: 50%;
border: .3em solid transparent;
border-right-color: currentColor;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
clip: unset;
}
.ol-control.ol-routing.ol-isochrone .ol-method-distance:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) rotate(-30deg);
transform: translate(-50%, -50%) rotate(-30deg);
width: 1em;
height: .5em;
border: .1em solid currentColor;
-webkit-box-sizing: border-box;
box-sizing: border-box
}
.ol-control.ol-routing.ol-isochrone .ol-method-distance:after {
content: '';
position: absolute;
width: .1em;
height: .15em;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%) rotate(-30deg);
transform: translate(-50%, -50%) rotate(-30deg);
-webkit-box-shadow: inset 0 -0.15em, 0 0.1em, 0.25em 0.1em, -0.25em 0.1em;
box-shadow: inset 0 -0.15em, 0 0.1em, 0.25em 0.1em, -0.25em 0.1em;
}
.ol-control.ol-routing.ol-isochrone .ol-direction-direct:before,
.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:before {
content: '';
position: absolute;
top: 50%;
left: 30%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: .3em;
height: .3em;
border-radius: 50%;
border: .1em solid currentColor;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: 0.25em 0 0 -0.05em;
box-shadow: 0.25em 0 0 -0.05em;
}
.ol-control.ol-routing.ol-isochrone .ol-direction-direct:after,
.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after {
content: '';
position: absolute;
top: 50%;
left: 70%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
border: .4em solid transparent;
border-width: .4em 0 .4em .4em;
border-color: transparent currentColor;
}
.ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after {
border-width: .4em .4em .4em 0;
}
.ol-control.ol-isochrone.ol-collapsed .content {
display: none;
}
.ol-control.ol-isochrone input[type="number"] {
width: 3em;
text-align: right;
margin: 0 .1em;
}
.ol-control.ol-isochrone .ol-distance input[type="number"] {
width: 5em;
}
.ol-isochrone .ol-time,
.ol-isochrone .ol-distance {
display: none;
}
.ol-isochrone .ol-time.selected,
.ol-isochrone .ol-distance.selected {
display: block;
}
.ol-control.ol-layerswitcher-popup
{ position: absolute;
right: 0.5em;
text-align: left;
top: 3em;
}
.ol-control.ol-layerswitcher-popup .panel
{ clear:both;
background:#fff;
}
.ol-layerswitcher-popup .panel
{ list-style: none;
padding: 0.25em;
margin:0;
overflow: hidden;
}
.ol-layerswitcher-popup .panel ul
{ list-style: none;
padding: 0 0 0 20px;
overflow: hidden;
}
.ol-layerswitcher-popup.ol-collapsed .panel
{ display:none;
}
.ol-layerswitcher-popup.ol-forceopen .panel
{ display:block;
}
.ol-layerswitcher-popup button
{ background-color: white;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==");
background-position: center;
background-repeat: no-repeat;
float: right;
height: 38px;
width: 38px;
}
.ol-layerswitcher-popup li
{ color:#369;
padding:0.25em 1em;
font-family:"Trebuchet MS",Helvetica,sans-serif;
cursor:pointer;
}
.ol-layerswitcher-popup li.ol-header
{ display: none;
}
.ol-layerswitcher-popup li.select
{ background:rgba(0, 60, 136, 0.7);
color:#fff;
}
.ol-layerswitcher-popup li:hover
{ background:rgba(0, 60, 136, 0.9);
color:#fff;
}
.ol-control.ol-layerswitcher
{ position: absolute;
right: 0.5em;
text-align: left;
top: 3em;
max-height: calc(100% - 6em);
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.ol-control.ol-layerswitcher .ol-switchertopdiv,
.ol-control.ol-layerswitcher .ol-switcherbottomdiv
{ display: block
}
.ol-control.ol-layerswitcher.ol-collapsed .ol-switchertopdiv,
.ol-control.ol-layerswitcher.ol-collapsed .ol-switcherbottomdiv
{ display: none;
}
.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switchertopdiv,
.ol-layerswitcher.ol-forceopen.ol-collapsed .ol-switcherbottomdiv
{ display: block;
}
.ol-control.ol-layerswitcher .ol-switchertopdiv,
.ol-control.ol-layerswitcher .ol-switcherbottomdiv
{ position: absolute;
top:0;
left:0;
right:0;
height: 45px;
background: #fff;
z-index:2;
opacity:1;
cursor: pointer;
border-top:2px solid transparent;
border-bottom:2px solid #369;
margin:0 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.ol-control.ol-layerswitcher .ol-switcherbottomdiv
{ top: auto;
bottom: 0;
height: 2em;
border-top:2px solid #369;
border-bottom:2px solid transparent;
}
.ol-control.ol-layerswitcher .ol-switchertopdiv:before,
.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before
{ content:"";
position: absolute;
left:50%;
top:50%;
border:10px solid transparent;
width:0;
height:0;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
opacity:0.8;
}
.ol-control.ol-layerswitcher .ol-switchertopdiv:hover:before,
.ol-control.ol-layerswitcher .ol-switcherbottomdiv:hover:before
{ opacity:1;
}
.ol-control.ol-layerswitcher .ol-switchertopdiv:before
{ border-bottom-color: #369;
border-top: 0;
}
.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before
{ border-top-color: #369;
border-bottom: 0;
}
.ol-control.ol-layerswitcher .panel
{ background-color: #fff;
border-radius: 0 0 2px 2px;
clear: both;
display: block; /* display:block to show panel on over */
}
.ol-layerswitcher .panel
{ list-style: none;
padding: 0.5em 0.5em 0;
margin:0;
overflow: hidden;
font-family: Tahoma,Geneva,sans-serif;
font-size:0.9em;
-webkit-transition: top 0.3s;
transition: top 0.3s;
position: relative;
top:0;
}
.ol-layerswitcher .panel ul
{ list-style: none;
padding: 0 0 0 20px;
overflow: hidden;
clear: both;
}
/** Customize checkbox
*/
.ol-layerswitcher input[type="radio"],
.ol-layerswitcher input[type="checkbox"]
{ display:none;
}
.ol-layerswitcher .panel li
{ -weblit-transition: -webkit-transform 0.2s linear;
-webkit-transition: -webkit-transform 0.2s linear;
transition: -webkit-transform 0.2s linear;
transition: transform 0.2s linear;
transition: transform 0.2s linear, -webkit-transform 0.2s linear;
clear: both;
display: block;
border:1px solid transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* drag and drop */
.ol-layerswitcher .panel li.drag
{ opacity: 0.5;
transform:scale(0.8);
-webkit-transform:scale(0.8);
}
.ol-dragover
{ background:rgba(51,102,153,0.5);
opacity:0.8;
}
.ol-layerswitcher .panel li.forbidden,
.forbidden .ol-layerswitcher-buttons div,
.forbidden .layerswitcher-opacity div
{ background:rgba(255,0,0,0.5);
color:#f00!important;
}
/* cursor management */
.ol-layerswitcher.drag,
.ol-layerswitcher.drag *
{ cursor:not-allowed!important;
cursor:no-drop!important;
}
.ol-layerswitcher.drag .panel li.dropover,
.ol-layerswitcher.drag .panel li.dropover *
{ cursor: pointer!important;
cursor: n-resize!important;
cursor: ns-resize!important;
cursor: -webkit-grab!important;
cursor: grab!important;
cursor: -webkit-grabbing!important;
cursor: grabbing!important;
}
.ol-layerswitcher .panel li.dropover
{ background: rgba(51, 102, 153, 0.5);
}
.ol-layerswitcher .panel li label
{ display: inline-block;
height: 1.4em;
max-width: 12em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 0 0.2em 0 1.7em;
position: relative;
}
.ol-layerswitcher [type="radio"] + label:before,
.ol-layerswitcher [type="checkbox"] + label:before,
.ol-layerswitcher [type="radio"]:checked + label:after,
.ol-layerswitcher [type="checkbox"]:checked + label:after
{ content: '';
position: absolute;
left: 0.1em; top: 0.1em;
width: 1.2em; height: 1.2em;
border: 2px solid #369;
background: #fff;
-webkit-box-sizing:border-box;
box-sizing:border-box;
}
.ol-layerswitcher [type="radio"] + label:before,
.ol-layerswitcher [type="radio"] + label:after
{ border-radius: 50%;
}
.ol-layerswitcher [type="radio"]:checked + label:after
{ background: #369 none repeat scroll 0 0;
margin: 0.3em;
width: 0.6em;
height: 0.6em;
}
.ol-layerswitcher [type="checkbox"]:checked + label:after
{ background: transparent;
border-width: 0 3px 3px 0;
border-style: solid;
border-color: #369;
width: 0.7em;
height: 1em;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
left: 0.55em;
top: -0.05em;
-webkit-box-shadow: 1px 0px 1px 1px #fff;
box-shadow: 1px 0px 1px 1px #fff;
}
.ol-layerswitcher .panel li.ol-layer-hidden
{ opacity: 0.6;
}
.ol-layerswitcher.ol-collapsed .panel
{ display:none;
}
.ol-layerswitcher.ol-forceopen .panel
{ display:block;
}
.ol-layerswitcher > button {
background-color: white;
float: right;
z-index: 10;
position: relative;
font-size: 1.7em;
}
.ol-touch .ol-layerswitcher > button {
font-size: 2.5em;
}
.ol-layerswitcher > button:before,
.ol-layerswitcher > button:after {
content: "";
position:absolute;
width: .75em;
height: .75em;
border-radius: 0.15em;
-webkit-transform: scaleY(.8) rotate(45deg);
transform: scaleY(.8) rotate(45deg);
}
.ol-layerswitcher > button:before {
background: #e2e4e1;
top: .32em;
left: .34em;
-webkit-box-shadow: 0.1em 0.1em #325158;
box-shadow: 0.1em 0.1em #325158;
}
.ol-layerswitcher > button:after {
top: .22em;
left: .34em;
background: #83bcc5;
background-image: radial-gradient( circle at .85em .6em, #70b3be 0, #70b3be .65em, #83bcc5 .65em);
}
.ol-layerswitcher-buttons
{ display:block;
float: right;
text-align:right;
}
.ol-layerswitcher-buttons > div
{ display: inline-block;
position: relative;
cursor: pointer;
height:1em;
width:1em;
margin:2px;
line-height: 1em;
text-align: center;
background: #369;
vertical-align: middle;
color: #fff;
}
.ol-layerswitcher .panel li > div
{ display: inline-block;
position: relative;
}
/* line break */
.ol-layerswitcher .ol-separator
{ display:block;
width:0;
height:0;
padding:0;
margin:0;
}
.ol-layerswitcher .layerup
{ float: right;
height:2.5em;
background-color: #369;
opacity: 0.5;
cursor: move;
cursor: ns-resize;
}
.ol-layerswitcher .layerup:before,
.ol-layerswitcher .layerup:after
{ border-color: #fff transparent;
border-style: solid;
border-width: 0.4em 0.4em 0;
content: "";
height: 0;
position: absolute;
bottom: 3px;
left: 0.1em;
width: 0;
}
.ol-layerswitcher .layerup:after
{ border-width: 0 0.4em 0.4em;
top:3px;
bottom: auto;
}
.ol-layerswitcher .layerInfo
{ background: #369;
border-radius: 100%;
}
.ol-layerswitcher .layerInfo:before
{ color: #fff;
content: "i";
display: block;
font-size: 0.8em;
font-weight: bold;
text-align: center;
width: 1.25em;
position:absolute;
left: 0;
top: 0;
}
.ol-layerswitcher .layerTrash
{ background: #369;
}
.ol-layerswitcher .layerTrash:before
{ color: #fff;
content: "\00d7";
font-size:1em;
top: 50%;
left: 0;
right: 0;
text-align: center;
line-height: 1em;
margin: -0.5em 0;
position: absolute;
}
.ol-layerswitcher .layerExtent
{ background: #369;
}
.ol-layerswitcher .layerExtent:before
{ border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
content: "";
display: block;
position: absolute;
left: 6px;
right: 2px;
top: 6px;
bottom: 3px;
}
.ol-layerswitcher .layerExtent:after
{ border-left: 1px solid #fff;
border-top: 1px solid #fff;
content: "";
display: block;
position: absolute;
bottom: 6px;
left: 2px;
right: 6px;
top: 3px;
}
.ol-layerswitcher .expend-layers,
.ol-layerswitcher .collapse-layers
{ margin: 0 2px;
background-color: transparent;
}
.ol-layerswitcher .expend-layers:before,
.ol-layerswitcher .collapse-layers:before
{ content:"";
position:absolute;
top:50%;
left:0;
margin-top:-2px;
height:4px;
width:100%;
background:#369;
}
.ol-layerswitcher .expend-layers:after
{ content:"";
position:absolute;
left:50%;
top:0;
margin-left:-2px;
width:4px;
height:100%;
background:#369;
}
/*
.ol-layerswitcher .collapse-layers:before
{ content:"";
position:absolute;
border:0.5em solid #369;
border-color: #369 transparent transparent;
margin-top:0.25em;
}
.ol-layerswitcher .expend-layers:before
{ content:"";
position:absolute;
border:0.5em solid #369;
border-color: transparent transparent transparent #369 ;
margin-left:0.25em;
}
*/
.ol-layerswitcher .layerswitcher-opacity
{ position:relative;
border: 1px solid #369;
height: 3px;
width: 120px;
margin:5px 1em 10px 7px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-radius: 3px;
background: #69c;
background: -webkit-gradient(linear, left top, right top, from(rgba(0,60,136,0)), to(rgba(0,60,136,0.6)));
background: linear-gradient(to right, rgba(0,60,136,0), rgba(0,60,136,0.6));
cursor: pointer;
-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor,
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before
{ position: absolute;
width: 20px;
height: 20px;
top: 50%;
left: 50%;
background: rgba(0,60,136,0.5);
border-radius: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 1;
}
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before
{ content: "";
position: absolute;
width: 50%;
height: 50%;
}
.ol-touch .ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor
{ width: 26px;
height: 26px;
}
.ol-layerswitcher .layerswitcher-opacity-label {
display:none;
position: absolute;
right: -2.5em;
bottom: 5px;
font-size: 0.8em;
}
.ol-layerswitcher .layerswitcher-opacity-label::after {
content:"%";
}
.ol-layerswitcher .layerswitcher-progress
{ display:block;
margin:-4px 1em 2px 7px;
width: 120px;
}
.ol-layerswitcher .layerswitcher-progress div
{ background-color: #369;
height:2px;
display:block;
width:0;
}
.ol-control.ol-layerswitcher-image
{ position: absolute;
right: 0.5em;
text-align: left;
top: 1em;
transition: all 0.2s ease 0s;
-webkit-transition: all 0.2s ease 0s;
}
.ol-control.ol-layerswitcher-image.ol-collapsed
{ top:3em;
transition: none;
-webkit-transition: none;
}
.ol-layerswitcher-image .panel
{ list-style: none;
padding: 0.25em;
margin:0;
overflow: hidden;
}
.ol-layerswitcher-image .panel ul
{ list-style: none;
padding: 0 0 0 20px;
overflow: hidden;
}
.ol-layerswitcher-image.ol-collapsed .panel
{ display:none;
}
.ol-layerswitcher-image.ol-forceopen .panel
{ display:block;
clear:both;
}
.ol-layerswitcher-image button
{ background-color: white;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg==");
background-position: center;
background-repeat: no-repeat;
float: right;
height: 38px;
width: 38px;
display:none;
}
.ol-layerswitcher-image.ol-collapsed button
{ display:block;
position:relative;
}
.ol-layerswitcher-image li
{ border-radius: 4px;
border: 3px solid transparent;
-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
display: inline-block;
width: 64px;
height: 64px;
margin:2px;
position: relative;
background-color: #fff;
overflow: hidden;
vertical-align: middle;
cursor:pointer;
}
.ol-layerswitcher-image li.ol-layer-hidden
{ opacity: 0.5;
border-color:#555;
}
.ol-layerswitcher-image li.ol-header
{ display: none;
}
.ol-layerswitcher-image li img
{ position:absolute;
max-width:100%;
}
.ol-layerswitcher-image li.select
{ border: 3px solid red;
}
.ol-layerswitcher-image li p
{ display:none;
}
.ol-layerswitcher-image li:hover p
{ background-color: rgba(0, 0, 0, 0.5);
color: #fff;
bottom: 0;
display: block;
left: 0;
margin: 0;
overflow: hidden;
position: absolute;
right: 0;
text-align: center;
height:1.2em;
font-family:Verdana, Geneva, sans-serif;
font-size:0.8em;
}
.ol-control.ol-legend {
bottom: .5em;
left: .5em;
z-index: 1;
max-height: 90%;
max-width: 90%;
overflow-x: hidden;
overflow-y: auto;
}
.ol-control.ol-legend button {
position: relative;
display: none;
}
.ol-control.ol-legend.ol-collapsed button {
display: block;
}
.ol-control.ol-legend.ol-uncollapsible button {
display: none;
}
.ol-control.ol-legend button.ol-closebox {
display: block;
position: absolute;
top: 0;
right: 0;
background: none;
cursor: pointer;
z-index: 1;
}
.ol-control.ol-legend.ol-uncollapsible button.ol-closebox,
.ol-control.ol-legend.ol-collapsed button.ol-closebox {
display: none;
}
.ol-control.ol-legend button.ol-closebox:before {
content: "\D7";
background: none;
color: rgba(0,60,136,.5);
font-size: 1.3em;
}
.ol-control.ol-legend button.ol-closebox:hover:before {
color: rgba(0,60,136,1);
}
.ol-control.ol-legend.ol-uncollapsible .ol-legendImg,
.ol-control.ol-legend .ol-legendImg {
position: absolute;
z-index: -1;
}
.ol-control.ol-legend.ol-collapsed .ol-legendImg {
display: none;
}
.ol-control.ol-legend.ol-uncollapsible .ol-legendImg {
display: block ;
}
.ol-control.ol-legend .ol-legendImg canvas {
height: 100%;;
}
.ol-control.ol-legend > button:first-child:before,
.ol-control.ol-legend > button:first-child:after {
content: "";
position: absolute;
top: .25em;
left: .2em;
width: .2em;
height: .2em;
background-color: currentColor;
-webkit-box-shadow: 0 0.35em, 0 0.7em;
box-shadow: 0 0.35em, 0 0.7em;
}
.ol-control.ol-legend button:first-child:after {
top: .27em;
left: .55em;
height: .15em;
width: .6em;
}
.ol-legend ul {
min-width: 1.5em;
min-height: 1.5em;
margin: 0 0 2px;
padding: 0;
list-style: none;
display: inline-block;
}
.ol-control.ol-legend.ol-collapsed ul {
display: none;
}
.ol-control.ol-legend.ol-uncollapsible ul {
display: block;
}
.ol-legend ul li.ol-title {
text-align: center;
font-weight: bold;
}
.ol-legend ul li {
overflow: hidden;
padding: 0 .5em;
}
.ol-legend ul li div {
display: inline-block;
vertical-align: middle;
}
.ol-control.ol-legend .ol-legend {
display: inline-block;
}
.ol-control.ol-legend.ol-collapsed .ol-legend {
display: none;
}
.ol-control.ol-mapzone {
position: absolute;
right: 0.5em;
text-align: left;
top: .5em;
max-height: calc(100% - 6em);
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.ol-control.ol-mapzone.ol-collapsed {
top: 3em;
}
.ol-control.ol-mapzone button {
position: relative;
float: right;
margin-top: 2.2em;
}
.ol-touch .ol-control.ol-mapzone button {
margin-top: 1.67em;
}
.ol-control.ol-mapzone.ol-collapsed button {
margin-top: 0;
}
.ol-control.ol-mapzone button i {
border: .1em solid currentColor;
border-radius: 50%;
width: .9em;
height: .9em;
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ol-control.ol-mapzone button i:before {
content: "";
background-color: currentColor;
width: 0.4em;
height: .4em;
position: absolute;
left: .5em;
top: 0.3em;
border-radius: 50%;
-webkit-box-shadow: .05em .3em 0 -.051em currentColor,
-.05em -.35em 0 -.1em currentColor,
-.5em -.35em 0 0em currentColor,
-.65em .1em 0 -.03em currentColor,
-.65em -.05em 0 -.05em currentColor;
box-shadow: .05em .3em 0 -.051em currentColor,
-.05em -.35em 0 -.1em currentColor,
-.5em -.35em 0 0em currentColor,
-.65em .1em 0 -.03em currentColor,
-.65em -.05em 0 -.05em currentColor
}
.ol-mapzone > div {
position: relative;
display: inline-block;
width: 5em;
height: 5em;
margin: 0 .2em 0 0;
}
.ol-control.ol-mapzone.ol-collapsed > div {
display: none;
}
.ol-mapzone > div p {
margin: 0;
position: absolute;
bottom: 0;
/* background: rgba(255,255,255,.5); */
color: #fff;
font-weight: bold;
text-align: center;
width: 160%;
overflow: hidden;
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
-webkit-transform: scaleX(.625);
transform: scaleX(.625);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
cursor: default;
}
.ol-notification {
width: 150%;
bottom: 0;
border: 0;
background: none;
margin: 0;
padding: 0;
}
.ol-notification > div,
.ol-notification > div:hover {
position: absolute;
background-color: rgba(0,0,0,.8);
color: #fff;
bottom: 0;
left: 33.33%;
max-width: calc(66% - 4em);
min-width: 5em;
max-height: 5em;
min-height: 1em;
border-radius: 4px 4px 0 0;
padding: .2em .5em;
text-align: center;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
-webkit-transition: .3s;
transition: .3s;
opacity: 1;
}
.ol-notification.ol-collapsed > div {
bottom: -5em;
opacity: 0;
}
.ol-notification a {
color: #9cf;
cursor: pointer;
}
.ol-overlay
{ position: absolute;
top: 0;
left: 0;
width:100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
padding: 1em;
color: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
z-index: 1;
opacity: 0;
display: none;
cursor: default;
overflow: hidden;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.ol-overlay.slide-up
{ transform: translateY(100%);
-webkit-transform: translateY(100%);
}
.ol-overlay.slide-down
{ -webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
.ol-overlay.slide-left
{ -webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
.ol-overlay.slide-right
{ -webkit-transform: translateX(100%);
transform: translateX(100%);
}
.ol-overlay.zoom
{ top: 50%;
left: 50%;
opacity:0.5;
-webkit-transform: translate(-50%,-50%) scale(0);
transform: translate(-50%,-50%) scale(0);
}
.ol-overlay.zoomout
{ -webkit-transform: scale(3);
transform: scale(3);
}
.ol-overlay.zoomrotate
{ top: 50%;
left: 50%;
opacity:0.5;
-webkit-transform: translate(-50%,-50%) scale(0) rotate(360deg);
transform: translate(-50%,-50%) scale(0) rotate(360deg);
}
.ol-overlay.stretch
{ top: 50%;
left: 50%;
opacity:0.5;
-webkit-transform: translate(-50%,-50%) scaleX(0);
transform: translate(-50%,-50%) scaleX(0) ;
}
.ol-overlay.stretchy
{ top: 50%;
left: 50%;
opacity:0.5;
-webkit-transform: translate(-50%,-50%) scaleY(0);
transform: translate(-50%,-50%) scaleY(0) ;
}
.ol-overlay.wipe
{ opacity: 1;
/* clip: must be set programmatically */
/* clip-path: use % but not crossplatform (IE) */
}
.ol-overlay.flip
{ -webkit-transform: perspective(600px) rotateY(180deg);
transform: perspective(600px) rotateY(180deg);
}
.ol-overlay.card
{ opacity: 0.5;
-webkit-transform: translate(-80%, 100%) rotate(-0.5turn);
transform: translate(-80%, 100%) rotate(-0.5turn);
}
.ol-overlay.book
{ -webkit-transform: perspective(600px) rotateY(-180de