Facility location: click-to-pick Neshan map + 'my current location'
- RegisterFacility: '📍 موقعیت فعلی من' (browser geolocation, always available) + Neshan Leaflet map (click/drag marker → fills lat/lng) when a Neshan web key is set; graceful fallback to manual coords without a key - AppSetting.NeshanMapKey configured in /Admin/Settings (Google Maps is blocked in Iran); migration - Verified: location button + inputs render always; map + SDK render once the key is saved Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -89,6 +89,10 @@ namespace JobsMedical.Web.Migrations
|
||||
b.Property<int>("Mode")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("NeshanMapKey")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("character varying(200)");
|
||||
|
||||
b.Property<string>("SmsApiKey")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("character varying(200)");
|
||||
|
||||
Reference in New Issue
Block a user