Skip to content
Snippets Groups Projects
Commit 1ccb8aac authored by lea.douchet_ird.fr's avatar lea.douchet_ird.fr
Browse files

shapefile issue

parent a24c90a5
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
LeafletWidget.methods.addProviderTiles = function(provider, layerId, group, options) {
this.layerManager.addLayer(L.tileLayer.provider(provider, options), "tile", layerId, group);
};
/* Work around CSS properties introduced on img by bootstrap */
img.leaflet-tile {
padding: 0;
margin: 0;
border-radius: 0;
border: none;
}
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend {
line-height: 18px;
color: #555;
}
.legend svg text {
fill: #555;
}
.legend svg line {
stroke: #555;
}
.legend i {
width: 18px;
height: 18px;
margin-right: 4px;
opacity: 0.7;
display: inline-block;
vertical-align: top;
/*For IE 7*/
zoom: 1;
*display: inline;
}
/* table class css */
table.mapview-popup {
overflow: scroll;
width: auto;
height: auto;
border-collapse: collapse;
}
/*
table.mapview-popup tr:first-child td {
background: #A8E6A8;
}
*/
table.mapview-popup tr:nth-child(even) {
background: #D1E0FF;
}
table.mapview-popup tr:nth-child(odd) {
background: #ebf1ff;
}
table.mapview-popup, th, td {
border-bottom: 1px solid #ffffff;
}
/*
table.tab tr:hover {
background: #00ffff;
}
*/
/* general leaflet popup css '*/
.leaflet-popup-content {
margin: 1px 1px 1px 1px;
line-height: 1.5;
overflow-y: auto;
overflow-x: scoll;
}
.leaflet-container a.leaflet-popup-close-button {
position: absolute;
top: 0;
right: -20px;
padding: 3px 0 0 0;
text-align: center;
width: 18px;
height: 14px;
font: 16px/14px Tahoma, Verdana, sans-serif;
font-weight: bold;
color: #c3c3c3;
text-decoration: none;
background: transparent;
}
.leaflet-container a.leaflet-popup-close-button:hover {
color: #999;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
padding: 1px;
-webkit-border-radius: 0;
border-radius: 0;
background: #ffffff; /*#4c4c4c;*/
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
div::-webkit-scrollbar {
width: 5px;
height: 5px;
}
div::-webkit-scrollbar-button {
width: 0;
height: 0;
}
div::-webkit-scrollbar-thumb {
background: #666666;
border: 0 none #ffffff;
border-radius: 0;
}
div::-webkit-scrollbar-thumb:hover {
background: #333333;
}
div::-webkit-scrollbar-thumb:active {
background: #333333;
}
div::-webkit-scrollbar-track {
background: #e1e1e1;
border: 0 none #ffffff;
border-radius: 50px;
}
div::-webkit-scrollbar-track:hover {
background: #e1e1e1;
}
div::-webkit-scrollbar-track:active {
background: #e1e1e1;
}
div::-webkit-scrollbar-corner {
background: transparent;
}
.leaflet-control br {clear: both;}
This diff is collapsed.
public/site_libs/rstudio_leaflet-1.3.1/images/1px.png

68 B

.leaflet-tooltip.leaflet-tooltip-text-only,
.leaflet-tooltip.leaflet-tooltip-text-only:before,
.leaflet-tooltip.leaflet-tooltip-text-only:after {
background: none;
border: none;
box-shadow: none;
}
.leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-left {
margin-left: 5px;
}
.leaflet-tooltip.leaflet-tooltip-text-only.leaflet-tooltip-right {
margin-left: -5px;
}
.leaflet-tooltip:after {
border-right: 6px solid transparent;
/* right: -16px; */
}
.leaflet-popup-pane .leaflet-popup-tip-container {
/* when the tooltip container is clicked, it is closed */
pointer-events: all;
/* tooltips should display the "hand" icon, just like .leaflet-interactive*/
cursor: pointer;
}
/* have the widget be displayed in the right 'layer' */
.leaflet-map-pane {
z-index: auto;
}
/* Add missing rule from leaflet for img.
This complete existing leaflet.css.
Fix for https://github.com/rstudio/rmarkdown/issues/1949 */
.leaflet-container .leaflet-right-pane img,
.leaflet-container .leaflet-left-pane img {
max-width: none !important;
max-height: none !important;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment