File size: 21,440 Bytes
a921575 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<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-glyphicons.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_4e5420e112c0f657cda55725366feb28 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
<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>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet-locatecontrol/0.66.2/L.Control.Locate.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet-locatecontrol/0.66.2/L.Control.Locate.min.css"/>
</head>
<body>
<div style="
position:fixed;
top:10px;
right:10px;
z-index:10000;
direction:rtl;
font-family:Arial, sans-serif;
">
<button id="btn_stats_101" onclick="
var panel = document.getElementById('stats_101');
var btn = document.getElementById('btn_stats_101');
if (panel.style.display === 'none') {
panel.style.display = 'block';
btn.innerText = 'إخفاء';
} else {
panel.style.display = 'none';
btn.innerText = 'عرض الملخص';
}
" style="
background:rgba(255,255,255,0.92);
border:none;
border-radius:14px;
padding:10px 14px;
font-size:14px;
font-weight:bold;
cursor:pointer;
box-shadow:0 2px 10px rgba(0,0,0,0.18);
">إخفاء</button>
</div>
<div id="stats_101" style="
display:block;
position:fixed;
top:10px;
right:58px;
width:320px;
max-height:85vh;
overflow-y:auto;
background:rgba(255,255,255,0.86);
backdrop-filter:blur(4px);
-webkit-backdrop-filter:blur(4px);
border-radius:22px;
padding:18px 18px 16px 18px;
z-index:9999;
direction:rtl;
font-family:Arial, sans-serif;
box-shadow:0 8px 28px rgba(0,0,0,0.16);
line-height:1.9;
color:#222;
">
<div style="
font-size:18px;
font-weight:800;
text-align:center;
margin-bottom:10px;
">دلال هادي بن عسكر - 132</div>
<div style="font-size:15px;">
<div><b>عدد المواقع:</b> 3</div>
<div><b>عدد الحارات:</b> 2</div>
</div>
<div style="margin-top:10px;">
<div style="font-weight:bold;">أكثر الحارات:</div>
<div style="padding-right:8px;"><div>• الفيصلية: 2</div><div>• النايفية: 1</div></div>
</div>
<div style="
margin-top:14px;
padding-top:10px;
border-top:1px solid rgba(0,0,0,0.08);
">
<a href="report_101_دلال_هادي_بن_عسكر.pdf" target="_blank" style="
display:block;
text-align:center;
background:#16a34a;
color:#fff;
text-decoration:none;
padding:10px 12px;
border-radius:12px;
font-weight:700;
margin-bottom:8px;
">تصدير بيانات هذه الخريطة PDF</a>
<a href="report_101_دلال_هادي_بن_عسكر.xlsx" target="_blank" style="
display:block;
text-align:center;
background:#2563eb;
color:#fff;
text-decoration:none;
padding:10px 12px;
border-radius:12px;
font-weight:700;
margin-bottom:8px;
">تصدير بيانات هذه الخريطة Excel</a>
<div style="font-weight:bold; margin-bottom:6px;">تلوين حسب الحارة</div>
<div style="font-size:13px;">
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;">
<div style="display:flex;align-items:center;gap:8px;">
<span style="
width:12px;
height:12px;
border-radius:50%;
display:inline-block;
background:blue;
border:1px solid rgba(0,0,0,0.15);
"></span>
<span>الفيصلية</span>
</div>
<span style="color:#555;">(2)</span>
</div>
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;">
<div style="display:flex;align-items:center;gap:8px;">
<span style="
width:12px;
height:12px;
border-radius:50%;
display:inline-block;
background:beige;
border:1px solid rgba(0,0,0,0.15);
"></span>
<span>النايفية</span>
</div>
<span style="color:#555;">(1)</span>
</div>
</div>
</div>
</div>
<div style="
position:fixed;
top:10px;
left:10px;
z-index:10000;
direction:rtl;
font-family:Arial, sans-serif;
">
<button id="searchToggleBtn" onclick="toggleSearchBox()" style="
background:rgba(255,255,255,0.92);
border:none;
border-radius:14px;
padding:10px 14px;
font-size:14px;
font-weight:bold;
cursor:pointer;
box-shadow:0 2px 10px rgba(0,0,0,0.18);
">إخفاء البحث</button>
</div>
<div id="searchBoxPanel" style="
position:fixed;
top:55px;
left:10px;
z-index:10000;
direction:rtl;
font-family:Arial, sans-serif;
background:rgba(255,255,255,0.92);
padding:10px;
border-radius:16px;
box-shadow:0 2px 10px rgba(0,0,0,0.18);
width:300px;
">
<input id="mapSearchInput" type="text" placeholder="ابحث عن اسم المنشأة..."
style="
width:100%;
box-sizing:border-box;
padding:10px;
border-radius:12px;
border:1px solid #ccc;
font-size:14px;
direction:rtl;
">
<div id="searchCount" style="
margin-top:7px;
font-size:13px;
color:#334155;
line-height:1.7;
">
اكتب للبحث داخل نقاط الخريطة
</div>
<button onclick="clearMapSearch()" style="
margin-top:8px;
width:100%;
padding:8px;
border:none;
border-radius:10px;
background:#f3f4f6;
cursor:pointer;
font-weight:bold;
">
مسح البحث
</button>
</div>
<script>
window.searchableMarkers = [];
window.noCoordinateSamples = [];
function toggleSearchBox() {
var panel = document.getElementById("searchBoxPanel");
var btn = document.getElementById("searchToggleBtn");
if (panel.style.display === "none") {
panel.style.display = "block";
btn.innerText = "إخفاء البحث";
} else {
panel.style.display = "none";
btn.innerText = "إظهار البحث";
}
}
function normalizeArabicText(text) {
return (text || "")
.toString()
.toLowerCase()
.replace(/[أإآا]/g, "ا")
.replace(/ى/g, "ي")
.replace(/ة/g, "ه")
.replace(/ؤ/g, "و")
.replace(/ئ/g, "ي")
.replace(/ـ/g, "")
.trim();
}
function applyMapSearch() {
var input = document.getElementById("mapSearchInput");
var countBox = document.getElementById("searchCount");
var query = normalizeArabicText(input.value);
var shown = 0;
var noCoordMatch = false;
window.searchableMarkers.forEach(function(item) {
var match = query === "" || normalizeArabicText(item.name).includes(query);
if (match) {
if (!item.map.hasLayer(item.marker)) {
item.marker.addTo(item.map);
}
shown++;
} else {
if (item.map.hasLayer(item.marker)) {
item.map.removeLayer(item.marker);
}
}
});
if (query !== "") {
window.noCoordinateSamples.forEach(function(item) {
if (normalizeArabicText(item.name).includes(query)) {
noCoordMatch = true;
}
});
}
if (query === "") {
countBox.style.color = "#334155";
countBox.innerText = "اكتب للبحث داخل نقاط الخريطة";
} else if (shown > 0) {
countBox.style.color = "#334155";
countBox.innerText = "عدد النتائج على الخريطة: " + shown;
} else if (noCoordMatch) {
countBox.style.color = "#dc2626";
countBox.innerText = "العينة موجودة ضمن عينات الباحث، لكنها بدون إحداثية. كرماً الدخول عليها من الجهاز اللوحي.";
} else {
countBox.style.color = "#dc2626";
countBox.innerText = "لا توجد نتيجة مطابقة داخل نقاط الخريطة.";
}
}
function clearMapSearch() {
document.getElementById("mapSearchInput").value = "";
applyMapSearch();
}
setTimeout(function() {
var input = document.getElementById("mapSearchInput");
if (input) {
input.addEventListener("keyup", applyMapSearch);
input.addEventListener("change", applyMapSearch);
}
}, 800);
</script>
<script>
setTimeout(function() {
if (!window.searchableMarkers) {
window.searchableMarkers = [];
}
window.searchableMarkers.push({
name: "مؤسسة معالي ضيدان بن سحمي الدوسري للمقاولات المعمارية العامة",
marker: marker_3a71cc8d25e2e29dcd1c0d746a655469,
map: map_4e5420e112c0f657cda55725366feb28
});
}, 800);
</script>
<script>
setTimeout(function() {
if (!window.searchableMarkers) {
window.searchableMarkers = [];
}
window.searchableMarkers.push({
name: "مؤسسة مكتب البعد الخامس الإبداعي للخدمات العامة",
marker: marker_0b9e25db41af4c29b82b3f1c1b3549bd,
map: map_4e5420e112c0f657cda55725366feb28
});
}, 800);
</script>
<script>
setTimeout(function() {
if (!window.searchableMarkers) {
window.searchableMarkers = [];
}
window.searchableMarkers.push({
name: "مركز استراحة الرجل رست مان الرياضي",
marker: marker_97ee7e6050b07339400caebe22e0f48e,
map: map_4e5420e112c0f657cda55725366feb28
});
}, 800);
</script>
<div style="
position: fixed;
bottom: 8px;
left: 8px;
background: rgba(255,255,255,0.85);
padding: 6px 10px;
border-radius: 10px;
font-size: 13px;
direction: rtl;
z-index: 9999;
box-shadow: 0 1px 8px rgba(0,0,0,0.15);
">
تصميم وإعداد <b>نوف الناصر</b>
</div>
<div class="folium-map" id="map_4e5420e112c0f657cda55725366feb28" ></div>
</body>
<script>
var map_4e5420e112c0f657cda55725366feb28 = L.map(
"map_4e5420e112c0f657cda55725366feb28",
{
center: [28.38804704091206, 45.95736579200106],
crs: L.CRS.EPSG3857,
...{
"zoom": 13,
"zoomControl": true,
"preferCanvas": false,
}
}
);
var tile_layer_d014b4502c4d1efca8d5484843a93504 = L.tileLayer(
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
{
"minZoom": 0,
"maxZoom": 19,
"maxNativeZoom": 19,
"noWrap": false,
"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors",
"subdomains": "abc",
"detectRetina": false,
"tms": false,
"opacity": 1,
}
);
tile_layer_d014b4502c4d1efca8d5484843a93504.addTo(map_4e5420e112c0f657cda55725366feb28);
var tile_layer_0a7f63e7ae6ee69279dfc310128416ac = L.tileLayer(
"https://tile.openstreetmap.org/{z}/{x}/{y}.png",
{
"minZoom": 0,
"maxZoom": 19,
"maxNativeZoom": 19,
"noWrap": false,
"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors",
"subdomains": "abc",
"detectRetina": false,
"tms": false,
"opacity": 1,
}
);
tile_layer_0a7f63e7ae6ee69279dfc310128416ac.addTo(map_4e5420e112c0f657cda55725366feb28);
var tile_layer_bde7c2aec94f852e2c59f406bbca7607 = L.tileLayer(
"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
{
"minZoom": 0,
"maxZoom": 18,
"maxNativeZoom": 18,
"noWrap": false,
"attribution": "\u0026copy; Esri",
"subdomains": "abc",
"detectRetina": false,
"tms": false,
"opacity": 1,
}
);
tile_layer_bde7c2aec94f852e2c59f406bbca7607.addTo(map_4e5420e112c0f657cda55725366feb28);
var locate_control_2f8c20dcc3a20059fb63ae6c724c12d7 = L.control.locate(
{}
).addTo(map_4e5420e112c0f657cda55725366feb28);
var marker_3a71cc8d25e2e29dcd1c0d746a655469 = L.marker(
[28.36505918, 45.95402418],
{
}
).addTo(map_4e5420e112c0f657cda55725366feb28);
var icon_a50e3cb858ccba3e2a7e6b6a5df658bb = L.AwesomeMarkers.icon(
{
"markerColor": "beige",
"iconColor": "white",
"icon": "info-sign",
"prefix": "glyphicon",
"extraClasses": "fa-rotate-0",
}
);
var popup_6e7b43e9d39c01dfb8ef83d29dce73ee = L.popup({
"maxWidth": 320,
});
var html_7c62a4638d32cd660596c987c8194acc = $(`<div id="html_7c62a4638d32cd660596c987c8194acc" style="width: 100.0%; height: 100.0%;"> <div style="direction:rtl;font-size:13px;line-height:1.8;"> <b>مؤسسة معالي ضيدان بن سحمي الدوسري للمقاولات المعمارية العامة</b><br> السجل التجاري: 2511111131<br> المنطقة: حفر الباطن<br> الحارة: النايفية<br> <b>اسم الباحث:</b> دلال هادي بن عسكر<br> <a href="https://www.google.com/maps?q=28.36505918,45.95402418" target="_blank">فتح في خرائط جوجل</a> </div> </div>`)[0];
popup_6e7b43e9d39c01dfb8ef83d29dce73ee.setContent(html_7c62a4638d32cd660596c987c8194acc);
marker_3a71cc8d25e2e29dcd1c0d746a655469.bindPopup(popup_6e7b43e9d39c01dfb8ef83d29dce73ee)
;
marker_3a71cc8d25e2e29dcd1c0d746a655469.setIcon(icon_a50e3cb858ccba3e2a7e6b6a5df658bb);
var marker_0b9e25db41af4c29b82b3f1c1b3549bd = L.marker(
[28.40322149761118, 45.95805346034467],
{
}
).addTo(map_4e5420e112c0f657cda55725366feb28);
var icon_c1483e008bf6a08295d66fb106a19c2c = L.AwesomeMarkers.icon(
{
"markerColor": "blue",
"iconColor": "white",
"icon": "info-sign",
"prefix": "glyphicon",
"extraClasses": "fa-rotate-0",
}
);
var popup_68052fb9f36db0389aa095b24f194d88 = L.popup({
"maxWidth": 320,
});
var html_3333e964736597b34b46dbe5e053b678 = $(`<div id="html_3333e964736597b34b46dbe5e053b678" style="width: 100.0%; height: 100.0%;"> <div style="direction:rtl;font-size:13px;line-height:1.8;"> <b>مؤسسة مكتب البعد الخامس الإبداعي للخدمات العامة</b><br> السجل التجاري: 2511138618<br> المنطقة: حفر الباطن<br> الحارة: الفيصلية<br> <b>اسم الباحث:</b> دلال هادي بن عسكر<br> <a href="https://www.google.com/maps?q=28.40322149761118,45.95805346034467" target="_blank">فتح في خرائط جوجل</a> </div> </div>`)[0];
popup_68052fb9f36db0389aa095b24f194d88.setContent(html_3333e964736597b34b46dbe5e053b678);
marker_0b9e25db41af4c29b82b3f1c1b3549bd.bindPopup(popup_68052fb9f36db0389aa095b24f194d88)
;
marker_0b9e25db41af4c29b82b3f1c1b3549bd.setIcon(icon_c1483e008bf6a08295d66fb106a19c2c);
var marker_97ee7e6050b07339400caebe22e0f48e = L.marker(
[28.395860445125, 45.9600197356585],
{
}
).addTo(map_4e5420e112c0f657cda55725366feb28);
var icon_4a33ba37a0a2c9bd7e5a8cfcce028c98 = L.AwesomeMarkers.icon(
{
"markerColor": "blue",
"iconColor": "white",
"icon": "info-sign",
"prefix": "glyphicon",
"extraClasses": "fa-rotate-0",
}
);
var popup_2633959f5969812e84cc5f6cc1db267c = L.popup({
"maxWidth": 320,
});
var html_05cfa5ad484fd0a4f91b85a1a581d142 = $(`<div id="html_05cfa5ad484fd0a4f91b85a1a581d142" style="width: 100.0%; height: 100.0%;"> <div style="direction:rtl;font-size:13px;line-height:1.8;"> <b>مركز استراحة الرجل رست مان الرياضي</b><br> السجل التجاري: 2511021662<br> المنطقة: حفر الباطن<br> الحارة: الفيصلية<br> <b>اسم الباحث:</b> دلال هادي بن عسكر<br> <a href="https://www.google.com/maps?q=28.395860445125,45.9600197356585" target="_blank">فتح في خرائط جوجل</a> </div> </div>`)[0];
popup_2633959f5969812e84cc5f6cc1db267c.setContent(html_05cfa5ad484fd0a4f91b85a1a581d142);
marker_97ee7e6050b07339400caebe22e0f48e.bindPopup(popup_2633959f5969812e84cc5f6cc1db267c)
;
marker_97ee7e6050b07339400caebe22e0f48e.setIcon(icon_4a33ba37a0a2c9bd7e5a8cfcce028c98);
</script>
</html> |