agrobot_base/Python/map-convert/mapa_interativo.html

93 lines
1.0 MiB
HTML
Raw Normal View History

2023-12-06 13:04:54 +00:00
<!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-3.7.1.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_fc1f9f13e7dd4e6a23081d5c35ddef2f {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
</head>
<body>
<div class="folium-map" id="map_fc1f9f13e7dd4e6a23081d5c35ddef2f" ></div>
</body>
<script>
var map_fc1f9f13e7dd4e6a23081d5c35ddef2f = L.map(
"map_fc1f9f13e7dd4e6a23081d5c35ddef2f",
{
center: [-22.40306258847897, -52.470335545972084],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_fde61a1a6c476ce26f60b7da39e1bd11 = L.tileLayer(
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
);
tile_layer_fde61a1a6c476ce26f60b7da39e1bd11.addTo(map_fc1f9f13e7dd4e6a23081d5c35ddef2f);
function geo_json_c87afd2d7b5abd8a6d901a2c86dced3c_onEachFeature(feature, layer) {
layer.on({
});
};
var geo_json_c87afd2d7b5abd8a6d901a2c86dced3c = L.geoJson(null, {
onEachFeature: geo_json_c87afd2d7b5abd8a6d901a2c86dced3c_onEachFeature,
});
function geo_json_c87afd2d7b5abd8a6d901a2c86dced3c_add (data) {
geo_json_c87afd2d7b5abd8a6d901a2c86dced3c
.addData(data);
}
geo_json_c87afd2d7b5abd8a6d901a2c86dced3c_add({"features": [{"geometry": {"coordinates": [[-52.46834976021883, -22.400529999960355], [-52.468441596965015, -22.40062683448384]], "type": "LineString"}, "id": "0", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 14.295415064, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46833189483464, -22.400552126767476], [-52.46849618383141, -22.400725356282646]], "type": "LineString"}, "id": "1", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 25.5734018, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46831403973092, -22.400574264418672], [-52.46853596402772, -22.400808265581666]], "type": "LineString"}, "id": "2", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 34.544957997, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46829623756671, -22.40059645789456], [-52.46856962340238, -22.400884720928495]], "type": "LineString"}, "id": "3", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 42.555494183, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46827843539694, -22.400618651368745], [-52.46859513444189, -22.400952584504882]], "type": "LineString"}, "id": "4", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 49.297650452, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46826063322161, -22.400640844841192], [-52.46862033269731, -22.401020118243636]], "type": "LineString"}, "id": "5", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 55.991114491, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.468242831040726, -22.400663038311937], [-52.46864530813866, -22.40108741701112]], "type": "LineString"}, "id": "6", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 62.649891157, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.468225028854285, -22.400685231780965], [-52.468669934022614, -22.401154347168365]], "type": "LineString"}, "id": "7", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 69.254251635, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46820778780516, -22.400708016929546], [-52.4686944371332, -22.401221147839795]], "type": "LineString"}, "id": "8", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 75.752149071, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.468190577186725, -22.40073083416913], [-52.46872047980292, -22.40128957180506]], "type": "LineString"}, "id": "9", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 82.484952566, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46817336656278, -22.400753651407115], [-52.46874699943386, -22.401358498647383]], "type": "LineString"}, "id": "10", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 89.29199552, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46815615593334, -22.40077646864351], [-52.46877351909281, -22.401427425483394]], "type": "LineString"}, "id": "11", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 96.099038475, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.4681389452984, -22.400799285878307], [-52.46880003877977, -22.40149635231307]], "type": "LineString"}, "id": "12", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 102.906081428, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.468122036924065, -22.40082242182756], [-52.46882877674428, -22.401567618071336]], "type": "LineString"}, "id": "13", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 110.011364926, "Name": "Projeto"}, "type": "Feature"}, {"geometry": {"coordinates": [[-52.46810522200942, -22.400845656327014], [-52.4688583408919, -22.401639754920634]], "type": "LineString"}, "id": "14", "properties": {"Dist1": 0.0, "Dist2": 0.0, "Id": 1517, "Length": 117.230697818, "Name": "Proj
geo_json_c87afd2d7b5abd8a6d901a2c86dced3c.addTo(map_fc1f9f13e7dd4e6a23081d5c35ddef2f);
</script>
</html>