From 410fc86c60ebbc4dbc7e66c1a2f79b2d5f654a5b Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Sun, 21 Jun 2026 22:13:29 +0330 Subject: [PATCH] Fix maps not rendering: Neshan SDK URL was a 404 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The map script loaded https://static.neshan.org/sdk/leaflet/1.4.0/neshan-sdk/v1.0.8/index.js, which Neshan has removed (returns 404) — so window.L never defined, the init bailed, and NO map rendered anywhere (detail pages + the facility-register picker). Switch to Neshan''s current SDK (.../1.4.0/leaflet.js + leaflet.css, both 200). The init API is unchanged (new L.Map with the maptype option), so no other code changes needed. Co-Authored-By: Claude Opus 4.8 --- src/JobsMedical.Web/Pages/Employer/RegisterFacility.cshtml | 4 ++-- src/JobsMedical.Web/Pages/Shared/_NeshanMap.cshtml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/JobsMedical.Web/Pages/Employer/RegisterFacility.cshtml b/src/JobsMedical.Web/Pages/Employer/RegisterFacility.cshtml index f5e25a1..6e02f2c 100644 --- a/src/JobsMedical.Web/Pages/Employer/RegisterFacility.cshtml +++ b/src/JobsMedical.Web/Pages/Employer/RegisterFacility.cshtml @@ -88,8 +88,8 @@ @section Scripts { @if (!string.IsNullOrEmpty(Model.MapKey)) { - - + + } + +