WME Route Speeds (MapOMatic fork)

Shows segment speeds in a route.

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v2025.11.17.0 2025-11-17

    add option to sort routes by length

    Merge branch 'development'

  • v2025.11.17.0 2025-11-17

    add option to sort routes by length

    Merge branch 'development'

  • v2025.11.15.1 2025-11-16

    fix update process

    Merge branch 'development'

  • v2025.11.15.1 2025-11-16

    fix update process

    Merge branch 'development'

  • v2025.11.15.0 2025-11-16

    clarified description of options

    Merge branch 'development'

  • v2025.11.15.0 2025-11-16

    clarified description of options

    Merge branch 'development'

  • v2025.11.11.0 2025-11-11

    add toll prices, use all available width for route text

    Merge branch 'development'

  • v2025.11.11.0 2025-11-11

    add toll prices, use all available width for route text

    Merge branch 'development'

  • v2025.10.28.2 2025-10-28

    fix update not working correctly

    Merge branch 'development'

  • v2025.10.28.1 2025-10-28

    remove stray debug output in console

    Merge branch 'development'

  • v2025.10.28.1 2025-10-28

    remove stray debug output in console

    Merge branch 'development'

  • v2025.10.28.0 2025-10-28

    made IDs follow consistent format based on a constant

    reorganize list of options, improved resetting options

    reorganize routing options to match app

    add new options (remember script enabled or enable/disable on WME load, require open tab for routing, clear selection after routing)

    Merge branch 'development'

  • v2025.10.28.0 2025-10-28

    made IDs follow consistent format based on a constant

    reorganize list of options, improved resetting options

    reorganize routing options to match app

    add new options (remember script enabled or enable/disable on WME load, require open tab for routing, clear selection after routing)

    Merge branch 'development'

  • v2025.10.25.0 2025-10-26

    do not request route when more than 2 segments selected, revert deselecting segments after route request from segment selection

  • v2025.10.25.0 2025-10-26

    do not request route when more than 2 segments selected, revert deselecting segments after route request from segment selection

  • v2025.10.24.0 2025-10-25

    fix selection being cleared when not necessary

  • v2025.10.24.0 2025-10-25

    fix selection being cleared when not necessary

  • v2025.10.17.0 2025-10-18

    Add comment for SDK issue related to passes retrieval

    Merge branch 'master' of https://github.com/WazeDev/WME-Route-Speeds-MapOMatic-Fork into development

    initialize script using SDK

    use SDK to determine whether WME is ready and which user is logged in

    fixed map failing to pan when dragging marker to top of window

    removed some unused code, improved a variable declaration

    create marker layer with SDK

    shortened some console messages

    started placing markers with SDK, determine routing environment with SDK

    removed an unused function, improved moving markers

    reorganized code by reordering sections

    improved/fixed moving markers with SDK

    change rest of script to use SDK markers

    removed old markers and associated code

    removed old marker layer code

    renamed left hand traffic variable for clarity

    script now requests more routes from server (server no longer returns all routes if only 3 are requested)

    updated tooltip to explain new server behaviour, added option to request 7 routes

    fixed getting region code sometimes failing

    use SDK to get zoom level

    use SDK for all map events, reorganized code

    get passes using SDK

    removed use of W.model to determine left hand traffic

    minor cleanup

    use SDK and turf to get midpoints of selected segments

    cleanup of loop function

    cleanup of main loop and reverse route function

    simplify detecting when route needs to be drawn with offset, started work on route layer with SDK

    minor cleanup and refactoring

    attempt to draw route layer with SDK

    remove old code to draw route layer

    general cleanup and remove all remaining uses of W object

    W and OpenLayers are no longer used

    fixes to moving markers and drawing route features

    fix route layers not being hidden when selecting a segment

    clear selection after routing if marker was moved or two segments selected

    add electric vehicle type

    use SDK to create sidebar tab

    clean up geometry for routes drawn with offset

    improve performance by only recreating route features when necessary

    general code cleanup and improve script startup

    change cursor for markers, add explanation of new way to move markers

    change version number

  • v2025.10.17.0 2025-10-18

    Add comment for SDK issue related to passes retrieval

    Merge branch 'master' of https://github.com/WazeDev/WME-Route-Speeds-MapOMatic-Fork into development

    initialize script using SDK

    use SDK to determine whether WME is ready and which user is logged in

    fixed map failing to pan when dragging marker to top of window

    removed some unused code, improved a variable declaration

    create marker layer with SDK

    shortened some console messages

    started placing markers with SDK, determine routing environment with SDK

    removed an unused function, improved moving markers

    reorganized code by reordering sections

    improved/fixed moving markers with SDK

    change rest of script to use SDK markers

    removed old markers and associated code

    removed old marker layer code

    renamed left hand traffic variable for clarity

    script now requests more routes from server (server no longer returns all routes if only 3 are requested)

    updated tooltip to explain new server behaviour, added option to request 7 routes

    fixed getting region code sometimes failing

    use SDK to get zoom level

    use SDK for all map events, reorganized code

    get passes using SDK

    removed use of W.model to determine left hand traffic

    minor cleanup

    use SDK and turf to get midpoints of selected segments

    cleanup of loop function

    cleanup of main loop and reverse route function

    simplify detecting when route needs to be drawn with offset, started work on route layer with SDK

    minor cleanup and refactoring

    attempt to draw route layer with SDK

    remove old code to draw route layer

    general cleanup and remove all remaining uses of W object

    W and OpenLayers are no longer used

    fixes to moving markers and drawing route features

    fix route layers not being hidden when selecting a segment

    clear selection after routing if marker was moved or two segments selected

    add electric vehicle type

    use SDK to create sidebar tab

    clean up geometry for routes drawn with offset

    improve performance by only recreating route features when necessary

    general code cleanup and improve script startup

    change cursor for markers, add explanation of new way to move markers

    change version number

  • v2025.06.28.000 2025-06-28

    attempt to fix layers drawing underneath LaneTools highlights

  • v2025.06.28.000 2025-06-28

    attempt to fix layers drawing underneath LaneTools highlights

  • v2025.06.18.000 2025-06-18

    changed routing requests to use the new URLs provided by staff

  • v2025.06.18.000 2025-06-18

    changed routing requests to use the new URLs provided by staff

  • v2025.01.13.000 2025-01-14

    new version with fix from Glodenox

  • v2025.01.13.000 2025-01-14

    new version with fix from Glodenox

  • v2024.11.11.000 2025-01-14

    Fix tab label element selector

    Another element with ID routespeeds-tab-label seems to be present in the DOM, which gets matched first. By including the user-tabs ID, we're certain to match the element we want.

    Merge pull request #18 from Glodenox/master

    Fix tab label element selector

  • v2024.11.11.000 2025-01-14

    Fix tab label element selector

    Another element with ID routespeeds-tab-label seems to be present in the DOM, which gets matched first. By including the user-tabs ID, we're certain to match the element we want.

    Merge pull request #18 from Glodenox/master

    Fix tab label element selector

  • v2024.11.11.000 2024-11-11

    fixed incorrect offset value when route uses the same segment twice

    segments with live traffic now have coloured labels

    updated speed colours, now separate scales for km/h and mph

    adjusted formatting of labels (coloured labels now bold)

    tweaked label text colour

  • v2024.11.11.000 2024-11-11

    fixed incorrect offset value when route uses the same segment twice

    segments with live traffic now have coloured labels

    updated speed colours, now separate scales for km/h and mph

    adjusted formatting of labels (coloured labels now bold)

    tweaked label text colour

  • v2024.09.18.000 2024-09-19

    remove loading from old options keys

    Merge branch 'options-transition' into development

    Merge branch 'master' into development

    attempt to fix closure layer showing on top of script

    script now draws on top of node/turn closure icons and Lane Tools script

  • v2024.09.18.000 2024-09-19

    remove loading from old options keys

    Merge branch 'options-transition' into development

    Merge branch 'master' into development

    attempt to fix closure layer showing on top of script

    script now draws on top of node/turn closure icons and Lane Tools script

  • v2024.09.08.000 2024-09-09

    fixed pass list not collapsing

  • v2024.09.08.000 2024-09-09

    fixed pass list not collapsing

  • v2024.09.07.001 2024-09-07

    revert path layer changes to fix bug

  • v2024.09.07.001 2024-09-07

    revert path layer changes to fix bug

  • v2024.09.07.000 2024-09-07

    added passenger count to HOV route description

    minor code cleanup

    minor code cleanup

    fixed closure layer drawing on top of script layer

    script now draws on top of path turn markers

    Merge pull request #16 from Harmonious4/development

    fixed script layer obscured by closure and path turn markers

    bump version number

  • v2024.09.07.000 2024-09-07

    added passenger count to HOV route description

    minor code cleanup

    minor code cleanup

    fixed closure layer drawing on top of script layer

    script now draws on top of path turn markers

    Merge pull request #16 from Harmonious4/development

    fixed script layer obscured by closure and path turn markers

    bump version number

  • v2024.06.24.000 2024-06-25

    change number of routes to request

    performance improvements, more code cleanup

    bump version number

  • v2024.06.24.000 2024-06-25

    change number of routes to request

    performance improvements, more code cleanup

    bump version number

  • v2024.06.23.000 2024-06-24

    add option to use RBS (WME beta only)

    added option to show route name and type (HOV, toll) text

  • v2024.06.22.000 2024-06-23

    Cleaned up creation of left sidebar html

    started cleaning up options

    Changed some unhelpful variable names. Improved conversion from km to miles. Removed "Try more" option. Revised text of several options.

    clean up saving and loading options

    further cleaned up saving/loading options

    fixed loading country id for passes

    actually fixed getting top country this time

    finished changing names of options

    fixed number in alt routes dropdown getting cut off

    Also changed the associated text

    updated route labeling and rounding

    improved handling of received routes

    Number of routes received from the server is now displayed. Changing the number of routes to show now only requires a route request if the previous route request didn't return enough. Changing the sorting of routes no longer requires a route request. Cleaned up variables representing route data. This should fix issue #5.

    draw all routes on one layer

    Cleanup is necessary. There is now a lot of unused code corresponding to the other 4 layers (which are now empty but still created in WME)

    Merge pull request #14 from Harmonious4/Harmonious4-patch-2

    Mostly code readability improvements, other minor changes

    removed 4 unused layers

    fix error in rezoom, moved some variables to zero indexing

    shift another index variable

    fix stacked labels when no route selected

    added colours for up to 20 routes

    Colours will repeat if there are more routes, but this should be rare

    route layer variable name cleanup

    new route summaries

    removed old summaries, allowed displaying all routes

    adjust route 8 colour

    improve handling route errors

    fix layer not being drawn

    updated colours for low speeds

    Merge pull request #1 from Harmonious4/Harmonious4-patch-2

    cleanup

    Merge pull request #2 from Harmonious4/Harmonious4-layers

    show more than 5 routes using 2 total layers

    Merge pull request #15 from Harmonious4/master

    reduced layer count to 2, now shows more than 5 routes

    add attempt to load from old settings, made indentation consistent

    removed extra log message

    fixed summaries in imperial units

    improved formatting of summaries

    change version number

  • v2024.06.22.000 2024-06-23

    Cleaned up creation of left sidebar html

    started cleaning up options

    Changed some unhelpful variable names. Improved conversion from km to miles. Removed "Try more" option. Revised text of several options.

    clean up saving and loading options

    further cleaned up saving/loading options

    fixed loading country id for passes

    actually fixed getting top country this time

    finished changing names of options

    fixed number in alt routes dropdown getting cut off

    Also changed the associated text

    updated route labeling and rounding

    improved handling of received routes

    Number of routes received from the server is now displayed. Changing the number of routes to show now only requires a route request if the previous route request didn't return enough. Changing the sorting of routes no longer requires a route request. Cleaned up variables representing route data. This should fix issue #5.

    draw all routes on one layer

    Cleanup is necessary. There is now a lot of unused code corresponding to the other 4 layers (which are now empty but still created in WME)

    Merge pull request #14 from Harmonious4/Harmonious4-patch-2

    Mostly code readability improvements, other minor changes

    removed 4 unused layers

    fix error in rezoom, moved some variables to zero indexing

    shift another index variable

    fix stacked labels when no route selected

    added colours for up to 20 routes

    Colours will repeat if there are more routes, but this should be rare

    route layer variable name cleanup

    new route summaries

    removed old summaries, allowed displaying all routes

    adjust route 8 colour

    improve handling route errors

    fix layer not being drawn

    updated colours for low speeds

    Merge pull request #1 from Harmonious4/Harmonious4-patch-2

    cleanup

    Merge pull request #2 from Harmonious4/Harmonious4-layers

    show more than 5 routes using 2 total layers

    Merge pull request #15 from Harmonious4/master

    reduced layer count to 2, now shows more than 5 routes

    add attempt to load from old settings, made indentation consistent

    removed extra log message

    fixed summaries in imperial units

    improved formatting of summaries

    change version number

  • v2024.06.16.000 2024-06-16

    Changing unit/label options no longer requests route

    There is no need to request the route again after clicking the "Hide labels", "Show cross-times through segments", or "Speed in mph" options. With this change, the routes are simply redrawn with the new options without sending another request.

    Changing unit/label options no longer requests route

    There is no need to request the route again after clicking the "Hide labels", "Show cross-times through segments", or "Speed in mph" options. With this change, the routes are simply redrawn with the new options without sending another request.

    Re-enabling script no longer requests route

    Merge pull request #13 from Harmonious4/Harmonious4-patch-1

    Removed unnecessary route requests

    bump version #

  • v2024.06.16.000 2024-06-16

    Changing unit/label options no longer requests route

    There is no need to request the route again after clicking the "Hide labels", "Show cross-times through segments", or "Speed in mph" options. With this change, the routes are simply redrawn with the new options without sending another request.

    Changing unit/label options no longer requests route

    There is no need to request the route again after clicking the "Hide labels", "Show cross-times through segments", or "Speed in mph" options. With this change, the routes are simply redrawn with the new options without sending another request.

    Re-enabling script no longer requests route

    Merge pull request #13 from Harmonious4/Harmonious4-patch-1

    Removed unnecessary route requests

    bump version #

  • v2024.01.19.001 2024-01-19

    Fixes for WME v2.206

    bump version

  • v2023.12.01.001 2023-12-01
    • Add ScriptUpdateMonitor
    • Use WME API for bootstrap
  • v2023.10.15.001 2023-10-15

    Load OL transforms in init function.

  • v2023.10.15.001 2023-10-15

    Load OL transforms in init function.

  • v2023.09.12.001 2023-09-12

    Remove outdated version history comment section

    Fix passes issue (spaces in key names cause issues).

  • v2023.09.12.001 2023-09-12

    Remove outdated version history comment section

    Fix passes issue (spaces in key names cause issues).

顯示所有腳本版本