Nepali WMS layers

Displays layers from Nepali WMS services in WME

Detta är versioner av skriptet där koden uppdaterats. Visa alla versioner.

  • v2026.04.22.002 2026-04-22

    Update Nepali-WMS-layers.user.js

  • v2026.04.22.001 2026-04-22

    Update Nepali-WMS-layers.user.js

    Commented out unused LMC layers

  • v2026.04.16.002 2026-04-16

    Migrate to wmeSDK and fix WME compatibility

    Bump version and add unsafeWindow grant. Migrate map access to W.map.getOLMap() and layers to W.map.getLayers(); replace W.userscripts sidebar registration with await wmeSDK.Sidebar.registerScriptTab(); replace W.map events with wmeSDK.Events handlers. Initialize wmeSDK via unsafeWindow.getWmeSdk() on SDK_INITIALIZED and wire bootstrap to map-data-loaded. Adjust default geoJson shift distance to 1 and update updateMessage/changelog text. Various small UI/init tweaks to restore layer visibility with the latest WME.

  • v2026.02.08.02 2026-02-08

    updated url for preeti2unicode converter greasyfork link

  • v2026.02.08.00 2026-02-08

    Fixed issue with nepali font not didisplayed.

  • v2026.02.06.05 2026-02-06

    Shift ward buildings and boundaries together - Version 2026.02.06.05

  • v2026.02.06.04 2026-02-06

    Add ward boundary loading alongside buildings - Version 2026.02.06.04

  • v2026.02.06.03 2026-02-06

    Return early when metric_num is missing

    Bump script version and add a guard for missing metric_num. If feature.attributes.metric_num is null/undefined the code now sets feature.attributes.custom_label to an empty string and returns early to avoid creating incomplete labels (previously rd_naeng could still be appended). Also updates the @version to 2026.02.06.03.

  • v2026.02.06.02 2026-02-06

    minor update

  • v2026.02.06.01 2026-02-06

    Add GeoJSON loader for LMC ward buildings

    Add a new feature to load LMC ward building GeoJSON from geonep.com.np per ward (1-29). Introduces a UI section with ward selector, label color/size controls, Load/Clear buttons, and layer shift/reset controls. Implements GM_xmlhttpRequest fetching, GeoJSON parsing (with Z-coordinate stripping and per-feature fallback), creation of OL vector layers with styled labels, and management of loaded layers for cleanup and selection. Also updates metadata (@version, @match, @connect), changes the update message and changelog to reflect the new feature.

  • v2025.12.27.03 2025-12-27

    Update Nepali-WMS-layers.user.js

  • v2025.12.19.01 2025-12-19

    Add 2s delay to init

  • v2025.11.29.01 2025-11-29

    Add Health Facilities and Police Units layers from Geoportal

    Added new WMS layers for Health Facilities and Police Units sourced from the National Geoportal. Updated metadata, UI toggles, feature info formatting, and allowed connections to the new Geoportal service.

  • v2025.08.31.01 2025-08-30

    bug fix

    bug fix.

  • v2025.08.30.01 2025-08-30

    Zindex issue

    ZIndex udpate for : Education Facilities (PRTMP),
    Health Facilities (PRTMP),
    Palika Centre (PRTMP),
    Ward Centre (PRTMP),
    Tourist Attraction,
    Customs Office
    Bridges (BSM),
    Bridges (PRTMP),
    and Lalitpur Metropolitan City (LMC) layers.

  • v2025.07.27.05 2025-07-27

    2025.07.27.05

    Added Layers: Rivers,
    Education Facilities (PRTMP),
    Health Facilities (PRTMP),
    Palika Centre (PRTMP),
    Ward Centre (PRTMP),
    Tourist Attraction,
    Customs Office,
    National Highways 2023,
    Province Highways 2023,
    Province Roads 2023,
    Bridges (BSM),
    Bridges (PRTMP),
    and popup support for above layers and more.

  • v2025.07.24.01 2025-07-24

    Popup feature

    version: 2025.07.24.01 - It now supports to display popup for highway with various information.

  • v2025.06.23.01 2025-06-23

    2025.06.23.01 Add new feature to process user input

    Now supports diagonal (↖, ↗, ↙, ↘) layer shifting and shows an alert when the shift is reset.

  • v2025.06.08.01 2025-06-08

    version 2025.06.08.01

    Now the WMS layer can be shifted by a specified distance in metres

  • v2025.06.06.02 2025-06-06

    Version: 2025.06.06.02

    Version: 2025.06.06.02 - Added Bridge Management System bridge locations! - Loaded layers will be reloaded even after the page refresh.

  • v2025.06.06.02 2025-06-06

    Version: 2025.06.06.02

    Version: 2025.06.06.02 - Added Bridge Management System bridge locations! - Loaded layers will be reloaded even after the page refresh.

  • v2025.06.06.01 2025-06-06

    Version: 2025.06.06.01

    Version: 2025.06.06.01 - Added Bridge Management System bridge locations! - Loaded layers will be reloaded even after the page refresh.

  • v2025.06.06.01 2025-06-06

    2025.06.06.01

    Added BMS bridges layers.

  • v2025.05.11.01 2025-05-11

    version: 2025.05.11.01 - Fixed Z-ordering

    version: 2025.05.11.01 - Fixed Z-ordering

  • v2025.04.13.02 2025-04-13

    version bump

    version bump

  • v2025.04.13.01 2025-04-13 Imported from URL
  • v2025.03.06.01 2025-03-06 Imported from URL
  • v2025.02.03.01 2025-03-05 Imported from URL
  • v2025.02.03.01 2025-02-03 Imported from URL
  • v2025.02.01.02 2025-02-01 Imported from URL
  • v2025.01.26.01 2025-01-26 Imported from URL
  • v2025.01.16.01 2025-01-16 Imported from URL
  • v2025.01.11.02 2025-01-11 Imported from URL
  • v2025.01.11.01 2025-01-11 Imported from URL
  • v2025.01.01.01 2025-01-01 Imported from URL
  • v2024.12.28.01 2024-12-28 Imported from URL
  • v2024.12.27.03 2024-12-27 Imported from URL
  • v2024.12.27.03 2024-12-27 Imported from URL
  • v2024.12.27.02 2024-12-27 Imported from URL
  • v2024.12.26.01 2024-12-27
  • v2024.12.26.01 2024-12-27