WME GIS Layers

Adds GIS layers in WME

Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.

  • v2025.05.08.000 08 Mei 2025

    Save state of collapsible sections

  • v2025.05.08.000 08 Mei 2025

    Save state of collapsible sections

  • v2025.05.07.001 07 Mei 2025

    Fix bug where road segment names don't stay on screen

  • v2025.05.07.001 07 Mei 2025

    Fix bug where road segment names don't stay on screen

  • v2025.05.07.000 07 Mei 2025

    Highlight layer names red when there's an error

  • v2025.05.07.000 07 Mei 2025

    Highlight layer names red when there's an error

  • v2025.05.03.000 07 Mei 2025

    Enhance STATES mapping functions for robustness and scalability

    • Updated toAbbr, toFullName, and fromId functions to return null when queries do not match any entries in _states.
    • Ensured efficient lookup and safe return values to prevent potential errors caused by missing or incorrect input data.
    • Maintained functionality of toFullNameArray and toAbbrArray to return complete arrays of names and abbreviations as intended.

    These changes were necessary to prevent the script from encountering errors when strings in the "State" column of the Google Sheet, do not match existing entries. This update also prepares the codebase for the future introduction of additional country codes and subdivisions.

    Bumb Version #

    Refactor state mapping functions to use optional chaining for streamlined error handling

    • Updated toAbbr, toFullName, and fromId functions to leverage optional chaining (?.) for cleaner syntax and improved safety.
    • These functions now return undefined if the lookup fails, replacing the previous null return.
    • Retained the functionality of toFullNameArray and toAbbrArray to provide full lists of names and abbreviations.

    Fix fromId(id) from my previous change, to return the fill state obj, not jsut the name.

    Merge pull request #68 from JS55CT:master

    Enhance STATES mapping functions for robustness in preparation for future Country additions.

  • v2025.05.03.000 07 Mei 2025

    Enhance STATES mapping functions for robustness and scalability

    • Updated toAbbr, toFullName, and fromId functions to return null when queries do not match any entries in _states.
    • Ensured efficient lookup and safe return values to prevent potential errors caused by missing or incorrect input data.
    • Maintained functionality of toFullNameArray and toAbbrArray to return complete arrays of names and abbreviations as intended.

    These changes were necessary to prevent the script from encountering errors when strings in the "State" column of the Google Sheet, do not match existing entries. This update also prepares the codebase for the future introduction of additional country codes and subdivisions.

    Bumb Version #

    Refactor state mapping functions to use optional chaining for streamlined error handling

    • Updated toAbbr, toFullName, and fromId functions to leverage optional chaining (?.) for cleaner syntax and improved safety.
    • These functions now return undefined if the lookup fails, replacing the previous null return.
    • Retained the functionality of toFullNameArray and toAbbrArray to provide full lists of names and abbreviations.

    Fix fromId(id) from my previous change, to return the fill state obj, not jsut the name.

    Merge pull request #68 from JS55CT:master

    Enhance STATES mapping functions for robustness in preparation for future Country additions.

  • v2025.04.23.000 23 April 2025

    Use SDK for map-move-end and LayerSwitcher

    Bump version

    Merge branch 'sdk-updates'

  • v2025.04.23.000 23 April 2025

    Use SDK for map-move-end and LayerSwitcher

    Bump version

    Merge branch 'sdk-updates'

  • v2025.04.20.001 21 April 2025

    Bump version

  • v2025.04.20.001 21 April 2025

    Bump version

  • v2025.03.20.001 21 April 2025

    Added an option to enable a resizable popup dialog box that displays labels for each layer. The popup's visibility is controlled by a new setting in the LABELS section. Users can enable or disable this feature based on their preferences.

    Fixed issue where the active layer name in the popup could disappear after the map moved if there were no active elements for that layer in the new viewport area.

    feat: Enhance Layers Label Popup viewer with formatting options

    • Title case applied to labels
    • Apply abbreviations and acronyms
    • Standardize highway and route names (e.g., I-, US-, SR-, etc.)
    • Remove new lines

    Added update message, fixed ESLint complaints

    1. Updated the popup
      insertion point in the DOM to use "wz-page-content".
    2. Updated the popup hide/show setting when closing the popup with the "X".
    3. Made minor logic changes to abbreviation substitutions and highway naming formatting functions.

    Merged in changes from branch 'upstream/master' - Update connect header, login functions, and use SDK for shortcut keys

    Enhance clipboard functionality to copy list item text without symbol

    • Updated the updatePopupContent function to include a clickable copy symbol next to each list item.
    • Added data-label attribute to <li> elements to store plain text for clipboard copying.
    • Modified event listener to use data-label for accessing text, ensuring symbols are not copied.

    Fix ESLint complaints

    Merge pull request #67 from JS55CT:master

    Added an option to enable a resizable popup dialog box that displays …

  • v2025.03.20.001 21 April 2025

    Added an option to enable a resizable popup dialog box that displays labels for each layer. The popup's visibility is controlled by a new setting in the LABELS section. Users can enable or disable this feature based on their preferences.

    Fixed issue where the active layer name in the popup could disappear after the map moved if there were no active elements for that layer in the new viewport area.

    feat: Enhance Layers Label Popup viewer with formatting options

    • Title case applied to labels
    • Apply abbreviations and acronyms
    • Standardize highway and route names (e.g., I-, US-, SR-, etc.)
    • Remove new lines

    Added update message, fixed ESLint complaints

    1. Updated the popup
      insertion point in the DOM to use "wz-page-content".
    2. Updated the popup hide/show setting when closing the popup with the "X".
    3. Made minor logic changes to abbreviation substitutions and highway naming formatting functions.

    Merged in changes from branch 'upstream/master' - Update connect header, login functions, and use SDK for shortcut keys

    Enhance clipboard functionality to copy list item text without symbol

    • Updated the updatePopupContent function to include a clickable copy symbol next to each list item.
    • Added data-label attribute to <li> elements to store plain text for clipboard copying.
    • Modified event listener to use data-label for accessing text, ensuring symbols are not copied.

    Fix ESLint complaints

    Merge pull request #67 from JS55CT:master

    Added an option to enable a resizable popup dialog box that displays …

  • v2025.04.19.000 19 April 2025

    Update connect header, login functions, and use SDK for shortcut keys

  • v2025.04.19.000 19 April 2025

    Update connect header, login functions, and use SDK for shortcut keys

  • v2025.03.14.000 14 Maret 2025

    Fix manual layer offset bug

  • v2025.03.14.000 14 Maret 2025

    Fix manual layer offset bug

  • v2025.02.14.000 15 Februari 2025

    Disable the update alert

  • v2025.02.14.000 15 Februari 2025

    Disable the update alert

  • v2025.02.14.000 14 Februari 2025

    Don't show disabled layers even if "restrictTo" field has values

  • v2025.02.14.000 14 Februari 2025

    Don't show disabled layers even if "restrictTo" field has values

  • v2025.01.06.001 07 Januari 2025

    Another labelVisibleAtZoom fix

  • v2025.01.06.001 07 Januari 2025

    Another labelVisibleAtZoom fix

  • v2025.01.06.000 06 Januari 2025

    Adjust calculation for when labels are displayed if visibleAtZoom is overridden

  • v2025.01.06.000 06 Januari 2025

    Adjust calculation for when labels are displayed if visibleAtZoom is overridden

  • v2025.01.03.001 03 Januari 2025

    Add update alert

  • v2025.01.03.001 03 Januari 2025

    Add update alert

  • v2025.01.03.000 03 Januari 2025

    Add custom visibleAtZoom for layers

  • v2025.01.03.000 03 Januari 2025

    Add custom visibleAtZoom for layers

  • v2024.11.10.000 10 November 2024

    bump version

  • v2024.11.10.000 10 November 2024

    bump version

  • v2024.11.08.001 10 November 2024

    Begin updates for new SDK

    Merge branch 'master' into sdk-update

    Updates for SDK but still much to do...

    Merge branch 'master' into sdk-update

    Some minor SDK updates. Much more to do to get layers working in SDK.

    Merge branch 'sdk-update'

  • v2024.11.08.001 10 November 2024

    Begin updates for new SDK

    Merge branch 'master' into sdk-update

    Updates for SDK but still much to do...

    Merge branch 'master' into sdk-update

    Some minor SDK updates. Much more to do to get layers working in SDK.

    Merge branch 'sdk-update'

  • v2024.11.08.001 08 November 2024

    Use greasy fork link for workaround library

  • v2024.11.06.000 06 November 2024

    Another tweak to power button click handler

  • v2024.11.06.000 06 November 2024

    Another tweak to power button click handler

  • v2024.11.05.000 05 November 2024

    Fix power button click issue and update domain connection list

    Fix version

  • v2024.11.05.000 05 November 2024

    Fix power button click issue and update domain connection list

    Fix version

  • v2024.09.04.001 04 September 2024

    Update to latest version of ESTreeProcessor

  • v2024.09.04.000 04 September 2024

    Target specific version of ESTreeProcess lib

  • v2024.09.03.002 03 September 2024

    Fix calls to esprima and ESTreeProcessor

  • v2024.09.03.002 03 September 2024

    Fix calls to esprima and ESTreeProcessor

  • v2024.09.03.001 03 September 2024

    Update the esprima-next and ESTreeProcessor links. GF doesn't allow linking to the unapproved minified versions on GH.

  • v2024.08.25.000 25 Agustus 2024

    Remove CSP message

  • v2024.08.25.000 25 Agustus 2024

    Remove CSP message

  • v2024.08.19.000 19 Agustus 2024

    Update to turf 7 and add a popup for eval error

  • v2024.08.19.000 19 Agustus 2024

    Update to turf 7 and add a popup for eval error

  • v2024.08.18.000 18 Agustus 2024

    Fix for W.map.getExtent change, and update connect statements

  • v2024.08.18.000 18 Agustus 2024

    Fix for W.map.getExtent change, and update connect statements

Tampilkan semua versi skrip