432 lines
34 KiB
HTML
432 lines
34 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
|
|
<script>
|
|
L_NO_TOUCH = false;
|
|
L_DISABLE_3D = false;
|
|
</script>
|
|
|
|
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
|
|
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
|
|
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
|
|
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
|
|
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
|
|
|
|
<meta name="viewport" content="width=device-width,
|
|
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<style>
|
|
#map_7150f0bfb04f4d322d0eb853b1e8c69e {
|
|
position: relative;
|
|
width: 800.0px;
|
|
height: 400.0px;
|
|
left: 0.0%;
|
|
top: 0.0%;
|
|
}
|
|
.leaflet-container { font-size: 1rem; }
|
|
</style>
|
|
|
|
|
|
<style>
|
|
.foliumtooltip {
|
|
|
|
}
|
|
.foliumtooltip table{
|
|
margin: auto;
|
|
}
|
|
.foliumtooltip tr{
|
|
text-align: left;
|
|
}
|
|
.foliumtooltip th{
|
|
padding: 2px; padding-right: 8px;
|
|
}
|
|
</style>
|
|
|
|
|
|
<style>
|
|
.foliumpopup {
|
|
margin: auto;
|
|
}
|
|
.foliumpopup table{
|
|
margin: auto;
|
|
}
|
|
.foliumpopup tr{
|
|
text-align: left;
|
|
}
|
|
.foliumpopup th{
|
|
padding: 2px; padding-right: 8px;
|
|
}
|
|
</style>
|
|
|
|
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
<script>$( function() {
|
|
$( ".maplegend" ).draggable({
|
|
start: function (event, ui) {
|
|
$(this).css({
|
|
right: "auto",
|
|
top: "auto",
|
|
bottom: "auto"
|
|
});
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
<style type='text/css'>
|
|
.maplegend {
|
|
position: absolute;
|
|
z-index:9999;
|
|
background-color: rgba(255, 255, 255, .8);
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 15px rgba(0,0,0,0.2);
|
|
padding: 10px;
|
|
font: 12px/14px Arial, Helvetica, sans-serif;
|
|
right: 10px;
|
|
bottom: 20px;
|
|
}
|
|
.maplegend .legend-title {
|
|
text-align: left;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
.maplegend .legend-scale ul {
|
|
margin: 0;
|
|
margin-bottom: 0px;
|
|
padding: 0;
|
|
float: left;
|
|
list-style: none;
|
|
}
|
|
.maplegend .legend-scale ul li {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
line-height: 16px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.maplegend ul.legend-labels li span {
|
|
display: block;
|
|
float: left;
|
|
height: 14px;
|
|
width: 14px;
|
|
margin-right: 5px;
|
|
margin-left: 0;
|
|
border: 0px solid #ccc;
|
|
}
|
|
.maplegend .legend-source {
|
|
color: #777;
|
|
clear: both;
|
|
}
|
|
.maplegend a {
|
|
color: #777;
|
|
}
|
|
</style>
|
|
|
|
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
<script>$( function() {
|
|
$( ".maplegend" ).draggable({
|
|
start: function (event, ui) {
|
|
$(this).css({
|
|
right: "auto",
|
|
top: "auto",
|
|
bottom: "auto"
|
|
});
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
<style type='text/css'>
|
|
.maplegend {
|
|
position: absolute;
|
|
z-index:9999;
|
|
background-color: rgba(255, 255, 255, .8);
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 15px rgba(0,0,0,0.2);
|
|
padding: 10px;
|
|
font: 12px/14px Arial, Helvetica, sans-serif;
|
|
right: 10px;
|
|
bottom: 20px;
|
|
}
|
|
.maplegend .legend-title {
|
|
text-align: left;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
.maplegend .legend-scale ul {
|
|
margin: 0;
|
|
margin-bottom: 0px;
|
|
padding: 0;
|
|
float: left;
|
|
list-style: none;
|
|
}
|
|
.maplegend .legend-scale ul li {
|
|
list-style: none;
|
|
margin-left: 0;
|
|
line-height: 16px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.maplegend ul.legend-labels li span {
|
|
display: block;
|
|
float: left;
|
|
height: 14px;
|
|
width: 14px;
|
|
margin-right: 5px;
|
|
margin-left: 0;
|
|
border: 0px solid #ccc;
|
|
}
|
|
.maplegend .legend-source {
|
|
color: #777;
|
|
clear: both;
|
|
}
|
|
.maplegend a {
|
|
color: #777;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<div id='maplegend insee_com' class='maplegend'>
|
|
<div class='legend-title'>insee_com</div>
|
|
<div class='legend-scale'>
|
|
<ul class='legend-labels'>
|
|
<li><span style='background:green'></span>67186</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id='maplegend FILE_IMG' class='maplegend'>
|
|
<div class='legend-title'>FILE_IMG</div>
|
|
<div class='legend-scale'>
|
|
<ul class='legend-labels'>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1045-6876-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1045-6877-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6875-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6876-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6877-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6875-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6876-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6877-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6878-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6875-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6876-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6877-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
<li><span style='background:red'></span><a href="ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6878-LA93-0M20-RVB.JP2.jp2">Telecharger</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="folium-map" id="map_7150f0bfb04f4d322d0eb853b1e8c69e" ></div>
|
|
|
|
</body>
|
|
<script>
|
|
|
|
|
|
var map_7150f0bfb04f4d322d0eb853b1e8c69e = L.map(
|
|
"map_7150f0bfb04f4d322d0eb853b1e8c69e",
|
|
{
|
|
center: [48.889103281943136, 7.739383785526096],
|
|
crs: L.CRS.EPSG3857,
|
|
zoom: 10,
|
|
zoomControl: true,
|
|
preferCanvas: false,
|
|
}
|
|
);
|
|
L.control.scale().addTo(map_7150f0bfb04f4d322d0eb853b1e8c69e);
|
|
|
|
|
|
|
|
|
|
|
|
var tile_layer_ba7d681ef3dd09b5e03a28f96bbde773 = L.tileLayer(
|
|
"https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.jpg",
|
|
{"attribution": "Map tiles by \u003ca target=\"_blank\" href=\"http://stamen.com\"\u003eStamen Design\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://creativecommons.org/licenses/by/3.0\"\u003eCC BY 3.0\u003c/a\u003e. Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://creativecommons.org/licenses/by-sa/3.0\"\u003eCC BY SA\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
|
|
).addTo(map_7150f0bfb04f4d322d0eb853b1e8c69e);
|
|
|
|
|
|
map_7150f0bfb04f4d322d0eb853b1e8c69e.fitBounds(
|
|
[[48.87772155638577, 7.719482092929269], [48.9004850075005, 7.759285478122924]],
|
|
{}
|
|
);
|
|
|
|
|
|
function geo_json_70bf986c5cef4a253c8838dc71e7ea40_styler(feature) {
|
|
switch(feature.id) {
|
|
default:
|
|
return {"color": "green", "fillColor": "green", "fillOpacity": 0.5, "weight": 2};
|
|
}
|
|
}
|
|
function geo_json_70bf986c5cef4a253c8838dc71e7ea40_highlighter(feature) {
|
|
switch(feature.id) {
|
|
default:
|
|
return {"fillOpacity": 0.75};
|
|
}
|
|
}
|
|
function geo_json_70bf986c5cef4a253c8838dc71e7ea40_pointToLayer(feature, latlng) {
|
|
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#3388ff", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 2, "stroke": true, "weight": 3};
|
|
|
|
let style = geo_json_70bf986c5cef4a253c8838dc71e7ea40_styler(feature)
|
|
Object.assign(opts, style)
|
|
|
|
return new L.CircleMarker(latlng, opts)
|
|
}
|
|
|
|
function geo_json_70bf986c5cef4a253c8838dc71e7ea40_onEachFeature(feature, layer) {
|
|
layer.on({
|
|
mouseout: function(e) {
|
|
if(typeof e.target.setStyle === "function"){
|
|
geo_json_70bf986c5cef4a253c8838dc71e7ea40.resetStyle(e.target);
|
|
}
|
|
},
|
|
mouseover: function(e) {
|
|
if(typeof e.target.setStyle === "function"){
|
|
const highlightStyle = geo_json_70bf986c5cef4a253c8838dc71e7ea40_highlighter(e.target.feature)
|
|
e.target.setStyle(highlightStyle);
|
|
}
|
|
},
|
|
});
|
|
};
|
|
var geo_json_70bf986c5cef4a253c8838dc71e7ea40 = L.geoJson(null, {
|
|
onEachFeature: geo_json_70bf986c5cef4a253c8838dc71e7ea40_onEachFeature,
|
|
|
|
style: geo_json_70bf986c5cef4a253c8838dc71e7ea40_styler,
|
|
pointToLayer: geo_json_70bf986c5cef4a253c8838dc71e7ea40_pointToLayer
|
|
});
|
|
|
|
function geo_json_70bf986c5cef4a253c8838dc71e7ea40_add (data) {
|
|
geo_json_70bf986c5cef4a253c8838dc71e7ea40
|
|
.addData(data)
|
|
.addTo(map_7150f0bfb04f4d322d0eb853b1e8c69e);
|
|
}
|
|
geo_json_70bf986c5cef4a253c8838dc71e7ea40_add({"bbox": [7.719482092929269, 48.87772155638577, 7.759285478122924, 48.9004850075005], "features": [{"bbox": [7.719482092929269, 48.87772155638577, 7.759285478122924, 48.9004850075005], "geometry": {"coordinates": [[[7.719791833933064, 48.88805617365507], [7.7196588415895455, 48.88836110251174], [7.719537186008619, 48.88880001684458], [7.719482092929269, 48.88924472095202], [7.719494106527659, 48.88969083608781], [7.719573110227543, 48.89013396950505], [7.719718327780669, 48.89056975771076], [7.719928330844528, 48.890993909436325], [7.720201052985402, 48.89140224790105], [7.7205338099712435, 48.891790751951746], [7.720923326156673, 48.892155595673195], [7.721365766702175, 48.89249318607861], [7.721856775311509, 48.89280019850848], [7.722303262057155, 48.89305284206327], [7.722712695347124, 48.89326710840262], [7.7232985928166835, 48.89355027995487], [7.7238595104318, 48.893794303383395], [7.724992688550282, 48.894236032372504], [7.72560580226113, 48.894448104087296], [7.726248372700805, 48.894618088177], [7.727043037825733, 48.89479799888677], [7.728081964177404, 48.895130482194716], [7.729050623393529, 48.89562712011595], [7.729352014584495, 48.89577307834049], [7.730254279851204, 48.89618539621152], [7.731964053870986, 48.897025059733146], [7.732454667499381, 48.897323002337835], [7.732597118786082, 48.89740710694531], [7.733390070849038, 48.89786222110911], [7.733939179843407, 48.898146164164196], [7.734529430066147, 48.898391620596776], [7.735154640425999, 48.898596019794496], [7.737202993147393, 48.89918159084686], [7.737905034187958, 48.89935275845766], [7.740759224696154, 48.89993337892501], [7.741063693658266, 48.89999024604816], [7.742951445180177, 48.900311814785724], [7.743644188853645, 48.90040486070729], [7.744347822164832, 48.90045012335166], [7.745512530718933, 48.9004850075005], [7.746180086028128, 48.90048343503291], [7.746844209529958, 48.90043884016304], [7.747498536953518, 48.900351650237766], [7.748136797975156, 48.90022270078392], [7.748752876349653, 48.90005322749582], [7.74934086855934, 48.89984485438544], [7.749895140417308, 48.89959957820962], [7.750410381080701, 48.89931974932336], [7.750881653955294, 48.899008049144044], [7.751304444002737, 48.898667464442426], [7.75167470099681, 48.89830125870809], [7.75198887831424, 48.897912940863996], [7.752243966888936, 48.89750623163097], [7.752437524005307, 48.89708502786466], [7.752567696656078, 48.89665336520769], [7.752762045923446, 48.895789769157965], [7.752826106277464, 48.895370710635085], [7.752865972140115, 48.89488078221798], [7.7529884975287, 48.89419443877567], [7.7532192588644815, 48.893343422761056], [7.7534845965242365, 48.8925839658311], [7.753497865787991, 48.89254520338545], [7.754030923184222, 48.890955296490446], [7.754811595386187, 48.89032762398509], [7.755030761051241, 48.89014168252447], [7.755346459766737, 48.88985885258872], [7.755852143115077, 48.889333098403036], [7.7567002849316635, 48.88829933784976], [7.756931121203703, 48.887990230866265], [7.757400417829627, 48.88729586581453], [7.757689422190393, 48.886787824000756], [7.757860755030603, 48.88642063522877], [7.758016143159291, 48.88602423007405], [7.758116208273937, 48.88562014672151], [7.75812659765413, 48.885523522823775], [7.758139212666228, 48.885492923648755], [7.758255145874938, 48.88500648131737], [7.758308616527958, 48.88465892527457], [7.758400937369412, 48.884551622529855], [7.7586983550096225, 48.88416328723335], [7.758937470212974, 48.88375781297792], [7.759116045644744, 48.88333899600334], [7.759232410906494, 48.882910757381815], [7.759285478122924, 48.88247710630055], [7.7592747520703425, 48.882042102522604], [7.759200334754034, 48.881609818378074], [7.759062924393866, 48.8811843006409], [7.758863808829799, 48.88076953264866], [7.758604853411312, 48.88036939701968], [7.758288483485994, 48.87998763931608], [7.75791766165324, 48.87962783299278], [7.7574958599973245, 48.879293345959766], [7.75702702756118, 48.878987309070375], [7.756515553366061, 48.87871258682975], [7.75596622532377, 48.87847175059708], [7.755384185426038, 48.878267054531804], [7.754774881630106, 48.878100414508175], [7.75428623312627, 48.87798470426941], [7.7536850695914445, 48.877862682213596], [7.7530694164275555, 48.87777772176503], [7.752444513228962, 48.87773054599098], [7.751815678252506, 48.87772155638577], [7.751188263190575, 48.877750829456275], [7.750567607660745, 48.877818116071225], [7.750028136039869, 48.877893604086175], [7.749337374883303, 48.87801554474839], [7.74912004739196, 48.87807055772703], [7.748573555567321, 48.878039783016], [7.747913445090498, 48.878044875567376], [7.747437101033736, 48.87806378911093], [7.746797259717535, 48.87810926256127], [7.746166768421647, 48.878194324832855], [7.745551244279188, 48.87831821809323], [7.744956171179771, 48.878479838552586], [7.744386850944604, 48.87867774629072], [7.744187307433018, 48.878763876255185], [7.7440407986014135, 48.878742410633386], [7.743405790018148, 48.8786899174799], [7.74276611704122, 48.8786769269562], [7.7421274153564275, 48.87870355351355], [7.741495312098853, 48.87876956256218], [7.7408753763142935, 48.878874372536465], [7.740432786791796, 48.878963993552354], [7.7398210374489835, 48.87910925671215], [7.739474533509139, 48.87920407450184], [7.73946271314588, 48.87920782928796], [7.739172874381146, 48.87922433735914], [7.738509737954594, 48.879306250895645], [7.737862121324716, 48.87943099107825], [7.737817762286275, 48.8794427832419], [7.737182302317069, 48.879452833378835], [7.736803313703614, 48.879483005832405], [7.736783235107495, 48.87948138635374], [7.735863987823227, 48.87943671411717], [7.7351809855398335, 48.879426157365806], [7.73509486558119, 48.879430529435744], [7.734903596390443, 48.87932933399337], [7.734339676596242, 48.8790870802282], [7.733742295777056, 48.87888267580776], [7.733117274355534, 48.878718112191514], [7.7324707018560215, 48.87859499266415], [7.731808877610621, 48.878514516725915], [7.731138249428648, 48.878477468414594], [7.730465350825031, 48.87848420867274], [7.729796737416872, 48.878534671833535], [7.729138923105532, 48.878628366260195], [7.728498316663583, 48.87876437913232], [7.728110963678818, 48.878860778673285], [7.727482299817283, 48.879041546804814], [7.727044864858192, 48.87920359411953], [7.726816756967232, 48.87925437379826], [7.726137712873132, 48.879462718885705], [7.725497408769346, 48.87971892971995], [7.725169377845036, 48.87986702971183], [7.724611842720501, 48.8801475696287], [7.724100945071538, 48.88046439789305], [7.723642090371467, 48.88081416287931], [7.723083969560826, 48.88128666451152], [7.7226884887681075, 48.88165884114138], [7.722351985794285, 48.88205544523561], [7.722192135378709, 48.88229863389379], [7.7220062331130555, 48.88245079778614], [7.7216387953728365, 48.88282080639326], [7.721328249625732, 48.88321283234096], [7.721102063850023, 48.88358304440421], [7.721021379507507, 48.88365256364164], [7.720662706173833, 48.88403568852849], [7.72036392581133, 48.88444054892664], [7.720128035505231, 48.884863085567126], [7.719957401970465, 48.885299061857154], [7.7198537377658765, 48.885744106347595], [7.719818084059891, 48.88619375655681], [7.719834310042511, 48.88641681585527], [7.719800861322787, 48.886645796437996], [7.719804638682123, 48.88696367716389], [7.719764935510052, 48.8871743541988], [7.719747173855183, 48.88760879394533], [7.719793094629425, 48.888042335072484], [7.7197934826875265, 48.888043858488615], [7.719791833933064, 48.88805617365507]]], "type": "Polygon"}, "id": "3809", "properties": {"__folium_color": "green", "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}], "type": "FeatureCollection"});
|
|
|
|
|
|
|
|
function geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_styler(feature) {
|
|
switch(feature.id) {
|
|
default:
|
|
return {"color": "red", "fillColor": "red", "fillOpacity": 0.5, "weight": 2};
|
|
}
|
|
}
|
|
function geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_highlighter(feature) {
|
|
switch(feature.id) {
|
|
default:
|
|
return {"fillOpacity": 0.75};
|
|
}
|
|
}
|
|
function geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_pointToLayer(feature, latlng) {
|
|
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#3388ff", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 2, "stroke": true, "weight": 3};
|
|
|
|
let style = geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_styler(feature)
|
|
Object.assign(opts, style)
|
|
|
|
return new L.CircleMarker(latlng, opts)
|
|
}
|
|
|
|
function geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_onEachFeature(feature, layer) {
|
|
layer.on({
|
|
mouseout: function(e) {
|
|
if(typeof e.target.setStyle === "function"){
|
|
geo_json_4a0f8114e0d29fa182a9f2312aef4d3c.resetStyle(e.target);
|
|
}
|
|
},
|
|
mouseover: function(e) {
|
|
if(typeof e.target.setStyle === "function"){
|
|
const highlightStyle = geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_highlighter(e.target.feature)
|
|
e.target.setStyle(highlightStyle);
|
|
}
|
|
},
|
|
});
|
|
};
|
|
var geo_json_4a0f8114e0d29fa182a9f2312aef4d3c = L.geoJson(null, {
|
|
onEachFeature: geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_onEachFeature,
|
|
|
|
style: geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_styler,
|
|
pointToLayer: geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_pointToLayer
|
|
});
|
|
|
|
function geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_add (data) {
|
|
geo_json_4a0f8114e0d29fa182a9f2312aef4d3c
|
|
.addData(data)
|
|
.addTo(map_7150f0bfb04f4d322d0eb853b1e8c69e);
|
|
}
|
|
geo_json_4a0f8114e0d29fa182a9f2312aef4d3c_add({"bbox": [7.707075104755595, 48.87131106946896, 7.763984846426943, 48.9082987940931], "features": [{"bbox": [7.707075104755595, 48.88190669465896, 7.721501198526083, 48.89142022326893], "geometry": {"coordinates": [[[[7.707075104755595, 48.88244323765784], [7.707887603747903, 48.89142022326893], [7.721501198526083, 48.890883592151226], [7.720686361257371, 48.88190669465896], [7.707075104755595, 48.88244323765784]]]], "type": "MultiPolygon"}, "id": "3055", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1045-6876-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.707887603747903, 48.890883592151226, 7.722316316805839, 48.90039712990035], "geometry": {"coordinates": [[[[7.707887603747903, 48.89142022326893], [7.708700382950641, 48.90039712990035], [7.722316316805839, 48.89986041064716], [7.721501198526083, 48.890883592151226], [7.707887603747903, 48.89142022326893]]]], "type": "MultiPolygon"}, "id": "3057", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1045-6877-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.719871804854586, 48.87239171610075, 7.734297336893235, 48.88190669465896], "geometry": {"coordinates": [[[[7.719871804854586, 48.872929718401735], [7.720686361257371, 48.88190669465896], [7.734297336893235, 48.881368604002716], [7.733480443159279, 48.87239171610075], [7.719871804854586, 48.872929718401735]]]], "type": "MultiPolygon"}, "id": "3160", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6875-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.720686361257371, 48.881368604002716, 7.7351145122932286, 48.890883592151226], "geometry": {"coordinates": [[[[7.720686361257371, 48.88190669465896], [7.721501198526083, 48.890883592151226], [7.7351145122932286, 48.89034541312303], [7.734297336893235, 48.881368604002716], [7.720686361257371, 48.88190669465896]]]], "type": "MultiPolygon"}, "id": "3161", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6876-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.721501198526083, 48.89034541312303, 7.7359319695047875, 48.89986041064716], "geometry": {"coordinates": [[[[7.721501198526083, 48.890883592151226], [7.722316316805839, 48.89986041064716], [7.7359319695047875, 48.8993221432303], [7.7351145122932286, 48.89034541312303], [7.721501198526083, 48.890883592151226]]]], "type": "MultiPolygon"}, "id": "3162", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1046-6877-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.733480443159279, 48.871852166441194, 7.747908030863081, 48.881368604002716], "geometry": {"coordinates": [[[[7.733480443159279, 48.87239171610075], [7.734297336893235, 48.881368604002716], [7.747908030863081, 48.88082896573485], [7.747088799943382, 48.871852166441194], [7.733480443159279, 48.87239171610075]]]], "type": "MultiPolygon"}, "id": "3264", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6875-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.734297336893235, 48.88082896573485, 7.74872754424883, 48.89034541312303], "geometry": {"coordinates": [[[[7.734297336893235, 48.881368604002716], [7.7351145122932286, 48.89034541312303], [7.74872754424883, 48.8898056862301], [7.747908030863081, 48.88082896573485], [7.734297336893235, 48.881368604002716]]]], "type": "MultiPolygon"}, "id": "3265", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6876-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.7351145122932286, 48.8898056862301, 7.7495473402465604, 48.8993221432303], "geometry": {"coordinates": [[[[7.7351145122932286, 48.89034541312303], [7.7359319695047875, 48.8993221432303], [7.7495473402465604, 48.89878232769553], [7.74872754424883, 48.8898056862301], [7.7351145122932286, 48.89034541312303]]]], "type": "MultiPolygon"}, "id": "3266", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6877-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.7359319695047875, 48.89878232769553, 7.750367419002313, 48.9082987940931], "geometry": {"coordinates": [[[[7.7359319695047875, 48.8993221432303], [7.736749708673539, 48.9082987940931], [7.750367419002313, 48.90775888989974], [7.7495473402465604, 48.89878232769553], [7.7359319695047875, 48.8993221432303]]]], "type": "MultiPolygon"}, "id": "3268", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1047-6878-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.747088799943382, 48.87131106946896, 7.761518442366899, 48.88082896573485], "geometry": {"coordinates": [[[[7.747088799943382, 48.871852166441194], [7.747908030863081, 48.88082896573485], [7.761518442366899, 48.880287779901224], [7.76069687440729, 48.87131106946896], [7.747088799943382, 48.871852166441194]]]], "type": "MultiPolygon"}, "id": "3363", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6875-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.747908030863081, 48.880287779901224, 7.7623402935924615, 48.8898056862301], "geometry": {"coordinates": [[[[7.747908030863081, 48.88082896573485], [7.74872754424883, 48.8898056862301], [7.7623402935924615, 48.8892644115183], [7.761518442366899, 48.880287779901224], [7.747908030863081, 48.88082896573485]]]], "type": "MultiPolygon"}, "id": "3364", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6876-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.74872754424883, 48.8892644115183, 7.763162428230328, 48.89878232769553], "geometry": {"coordinates": [[[[7.74872754424883, 48.8898056862301], [7.7495473402465604, 48.89878232769553], [7.763162428230328, 48.898240964088764], [7.7623402935924615, 48.8892644115183], [7.74872754424883, 48.8898056862301]]]], "type": "MultiPolygon"}, "id": "3365", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6877-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}, {"bbox": [7.7495473402465604, 48.898240964088764, 7.763984846426943, 48.90775888989974], "geometry": {"coordinates": [[[[7.7495473402465604, 48.89878232769553], [7.750367419002313, 48.90775888989974], [7.763984846426943, 48.90721743738119], [7.763162428230328, 48.898240964088764], [7.7495473402465604, 48.89878232769553]]]], "type": "MultiPolygon"}, "id": "3366", "properties": {"FILE_IMG": "\u003ca href=\"ftp://odgeo.grandest.fr/open_data/ORTHOPUB/ORTHO_RVB_0M20_JP2_E100_L93_D67_2018/data/67-2018-1048-6878-LA93-0M20-RVB.JP2.jp2\"\u003eTelecharger\u003c/a\u003e", "__folium_color": "red", "index_right": 3809, "insee_com": "67186", "nom_com": "HEGENEY"}, "type": "Feature"}], "type": "FeatureCollection"});
|
|
|
|
|
|
|
|
geo_json_4a0f8114e0d29fa182a9f2312aef4d3c.bindTooltip(
|
|
function(layer){
|
|
let div = L.DomUtil.create('div');
|
|
|
|
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
|
|
let fields = ["FILE_IMG"];
|
|
let aliases = ["FILE_IMG"];
|
|
let table = '<table>' +
|
|
String(
|
|
fields.map(
|
|
(v,i)=>
|
|
`<tr>
|
|
<th>${aliases[i]}</th>
|
|
|
|
<td>${handleObject(layer.feature.properties[v])}</td>
|
|
</tr>`).join(''))
|
|
+'</table>';
|
|
div.innerHTML=table;
|
|
|
|
return div
|
|
}
|
|
,{"className": "foliumtooltip", "sticky": true});
|
|
|
|
|
|
geo_json_4a0f8114e0d29fa182a9f2312aef4d3c.bindPopup(
|
|
function(layer){
|
|
let div = L.DomUtil.create('div');
|
|
|
|
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
|
|
let fields = ["FILE_IMG", "index_right", "insee_com", "nom_com"];
|
|
let aliases = ["FILE_IMG", "index_right", "insee_com", "nom_com"];
|
|
let table = '<table>' +
|
|
String(
|
|
fields.map(
|
|
(v,i)=>
|
|
`<tr>
|
|
<th>${aliases[i].toLocaleString()}</th>
|
|
|
|
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
|
|
</tr>`).join(''))
|
|
+'</table>';
|
|
div.innerHTML=table;
|
|
|
|
return div
|
|
}
|
|
,{"className": "foliumpopup"});
|
|
|
|
|
|
var layer_control_b0846465cf16f142154bd215a5841644 = {
|
|
base_layers : {
|
|
"stamenterrain" : tile_layer_ba7d681ef3dd09b5e03a28f96bbde773,
|
|
},
|
|
overlays : {
|
|
"commune" : geo_json_70bf986c5cef4a253c8838dc71e7ea40,
|
|
"macro_element_4a0f8114e0d29fa182a9f2312aef4d3c" : geo_json_4a0f8114e0d29fa182a9f2312aef4d3c,
|
|
},
|
|
};
|
|
L.control.layers(
|
|
layer_control_b0846465cf16f142154bd215a5841644.base_layers,
|
|
layer_control_b0846465cf16f142154bd215a5841644.overlays,
|
|
{"autoZIndex": true, "collapsed": true, "position": "topright"}
|
|
).addTo(map_7150f0bfb04f4d322d0eb853b1e8c69e);
|
|
|
|
</script>
|
|
</html> |