RVS / Philadelphia_map.html
tzufi's picture
Upload 3 files
2b37968 verified
<!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_27fe3d69a291420d92982be496c27560 {
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_27fe3d69a291420d92982be496c27560" ></div>
</body>
<script>
var map_27fe3d69a291420d92982be496c27560 = L.map(
"map_27fe3d69a291420d92982be496c27560",
{
center: [39.945, -75.1722],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_7afbda23a971dbc53663f988b212a5ce = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_27fe3d69a291420d92982be496c27560);
function geo_json_7e1d8a55d84396ae9965b8e58f3de796_styler(feature) {
switch(feature.id) {
default:
return {"color": "red"};
}
}
function geo_json_7e1d8a55d84396ae9965b8e58f3de796_onEachFeature(feature, layer) {
layer.on({
});
};
var geo_json_7e1d8a55d84396ae9965b8e58f3de796 = L.geoJson(null, {
onEachFeature: geo_json_7e1d8a55d84396ae9965b8e58f3de796_onEachFeature,
style: geo_json_7e1d8a55d84396ae9965b8e58f3de796_styler,
});
function geo_json_7e1d8a55d84396ae9965b8e58f3de796_add (data) {
geo_json_7e1d8a55d84396ae9965b8e58f3de796
.addData(data)
.addTo(map_27fe3d69a291420d92982be496c27560);
}
geo_json_7e1d8a55d84396ae9965b8e58f3de796_add({"bbox": [-75.22263421669665, 39.90776465256959, -75.07177493555591, 40.000608952140176], "features": [{"bbox": [-75.22263421669665, 39.90776465256959, -75.07177493555591, 40.000608952140176], "geometry": {"coordinates": [[[-75.13268365517321, 39.90776465256959], [-75.21817102089587, 39.91856137325554], [-75.22263421669665, 40.000608952140176], [-75.07177493555591, 39.98109045133228], [-75.13013980371997, 39.96293598213398], [-75.13528964502856, 39.94872477328648], [-75.13563296778247, 39.92476957374444], [-75.13268365517321, 39.90776465256959]]], "type": "Polygon"}, "id": "0", "properties": {}, "type": "Feature"}], "type": "FeatureCollection"});
</script>
</html>