WazeWrap

A base library for WME script writers

יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות

  • v2025.03.22.00 22-03-2025

    Update WazeWrap loader version to 2025.03.22.00 and change library URL

  • v2025.03.12.00 12-03-2025

    Add timeOut option to Alerts.info

  • v2025.03.12.00 12-03-2025

    Add timeOut option to Alerts.info

  • v2023.03.15.04 15-03-2023 Use @ latest in cdn URL
  • v2023.03.15.04 15-03-2023 Use @ latest in cdn URL
  • v2020.03.25.01 25-03-2020 Update WazeWrap.js
  • v2020.03.25.01 25-03-2020 Update WazeWrap.js
  • v2019.05.03.01 03-05-2019 Imported from URL
  • v2019.05.02.01 03-05-2019 Imported from URL
  • v2019.05.02.01 03-05-2019
  • v2019.04.30.02 30-04-2019 Update WazeWrap.js Removing the X button on alerts when they are added to history. Added disableTimeout and disableClickToClose optiosn for info messages
  • v2019.04.30.01 30-04-2019 Update WazeWrap.js Missed porting over the Alerts.debug option when releasing to production
  • v2019.04.29.04 30-04-2019 Update WazeWrap.js
  • v2019.04.29.03 30-04-2019 Update WazeWrap.js
  • v2019.04.29.02 29-04-2019 Update WazeWrap.js
  • v2019.04.29.01 29-04-2019 Update WazeWrap.js Adding Alerts interface
  • v2019.04.24.01 24-04-2019 Update WazeWrap.js Passing the calling function's arguments to the event
  • v2019.04.15.01 15-04-2019 Update WazeWrap.js Updating documentation and some minor code cleanup
  • v2019.04.11.01 11-04-2019 Update WazeWrap.js
  • v2019.04.08.01 08-04-2019 Update WazeWrap.js Adding findVenue
  • v2019.04.02.02 02-04-2019 Update WazeWrap.js
  • v2019.04.02.01 02-04-2019 Update WazeWrap.js
  • v2019.04.01.01 02-04-2019 Update WazeWrap.js Adding the findSegment method to Util
  • v2019.04.01.03 01-04-2019 Update WazeWrap.js
  • v2019.04.01.02 01-04-2019 Update WazeWrap.js
  • v2019.03.10.02 01-04-2019 Update WazeWrap.js Adding an error check to the unregister method and changing the showscriptupdate method to not display if the updateHTML is empty.
  • v2019.03.10.02 10-03-2019 Update WazeWrap.js Modifying addLayerCheckbox to hopefully compensate for when the parent category checkbox is unchecked, so it doesn't call the callback and the calling script save a false 'false' state for the layer visibility
  • v2019.03.06.03 07-03-2019 Update WazeWrap.js Changing handler(arguments) to handler(...arguments). Spread operator is necessary for the parameters to pass correctly.
  • v2019.03.06.02 06-03-2019 Update WazeWrap.js
  • v2019.03.06.01 06-03-2019 Update WazeWrap.js Tweaking the script update interface to keep the greasyfork & forum links under the script update text.
  • v2019.03.05.01 05-03-2019 Update WazeWrap.js
  • v2019.02.27.02 27-02-2019 Update WazeWrap.js
  • v2019.02.27.01 27-02-2019 Update WazeWrap.js Restoring segment functions that devs removed.
  • v2019.02.25.01 25-02-2019 Update WazeWrap.js Not populating the `shortcut` object if the shortcut is '' so it will be properly handled by the WME keyboard shortcut manager
  • v2019.02.19.02 19-02-2019 Update WazeWrap.js Bug fix
  • v2019.02.19.01 19-02-2019 Update WazeWrap.js Adding mouseup, mousedown, change:mode and change:isImperial
  • v2019.02.18.01 18-02-2019 Update WazeWrap.js Adding Events class to handle registering/unregistering events and adding a try catch in case of errors in the script, to prevent blowing up the entire event queue
  • v2019.02.02.01 02-02-2019 Update WazeWrap.js Bumping the padding on the script-list so the tab shadows are not cut off - thanks Brent!
  • v2019.01.15.01 02-02-2019 Update WazeWrap.js Implementing the script update interface
  • v2019.01.15.01 15-01-2019 Update WazeWrap.js Adding function for checking if segments are selected, cleaning up other checks by simplifying the code.
  • v2018.08.21.01 21-08-2018 Update WazeWrap.js Adding hasMapCommentSelected function
  • v2018.07.31.01 31-07-2018 Update WazeWrap.js Changing from `.get` to `.getObjectById` to support the latest WME update
  • v2018.06.11.01 11-06-2018 Update WazeWrap.js Changing the mouseup handler to attach to the viewPortDiv instead of document since it no longer fires on document when a marker is grabbed.
  • v2018.06.05.01 05-06-2018 Update WazeWrap.js Moving setting the eventhandler outside the RestoreMissingSegmentFunctions method so it only occurs once
  • v2018.05.18.01 19-05-2018 Update WazeWrap.js
  • v2018.05.02.02 02-05-2018 Update WazeWrap.js removing debugger line
  • v2018.05.02.01 02-05-2018 Update WazeWrap.js Fixing the layer checkbox code so toggling the parent checkbox correctly toggles the child checkboxes
  • v2018.05.01.02 01-05-2018 Update WazeWrap.js
  • v2018.05.01.01 01-05-2018 Update WazeWrap.js Adding in support for restoring the OL.Format.KML class that Waze removed for some reason
  • v2018.04.11.01 11-04-2018 Update WazeWrap.js
  • v2018.04.10.01 10-04-2018 Update WazeWrap.js Updating to include wrappers for WME methods that are being replaced
  • v2018.02.22.01 23-02-2018 Update WazeWrap.js Changing Waze -> W and OpenLayers -> OL in anticipation of changes to made in several months
  • v2018.01.24.05 24-01-2018 Update WazeWrap.js
  • v2018.01.24.04 24-01-2018 Update WazeWrap.js
  • v2018.01.24.03 24-01-2018 Update WazeWrap.js
  • v2018.01.24.02 24-01-2018 Update WazeWrap.js, Merge pull request #7 from justins83/beta Update WazeWrap.js
  • v2018.01.24.01 24-01-2018 Update WazeWrap.js, Update WazeWrap.js, Merge branch 'master' into beta, Merge pull request #6 from justins83/beta Beta
  • v2018.01.24.01 24-01-2018 Update WazeWrap.js
  • v2018.01.23.03 24-01-2018 Update WazeWrap.js, Merge pull request #5 from justins83/beta Update WazeWrap.js
  • v2018.01.23.03 23-01-2018 Update WazeWrap.js
  • v2018.01.23.02 23-01-2018 Update WazeWrap.js
  • v2018.01.23.01 23-01-2018 Update WazeWrap.js
  • v2018.01.23.01 23-01-2018 Update WazeWrap.js, Merge pull request #4 from justins83/beta Update WazeWrap.js
  • v2017.11.10.02 10-11-2017 Update WazeWrap.js Removing debugger line
  • v2017.11.10.01 10-11-2017 Update WazeWrap.js Interface.Tab now recreates the tab and re-fires the callback when switching imperial/metric and when leaving event mode
  • v0.3.07 24-10-2017 Imported from URL
  • v0.3.06 18-08-2017 Imported from URL
  • v0.3.05 18-08-2017 Imported from URL
  • v0.3.04 18-08-2017 Imported from URL
  • v0.3.04 18-08-2017 Imported from URL
  • v0.3.03 16-08-2017 Imported from URL
  • v0.3.02 17-07-2017 Imported from URL
  • v0.3.01 14-07-2017 Imported from URL
  • v0.3.00 29-06-2017 Imported from URL
  • v0.3.01 29-06-2017
  • v0.3.00 26-06-2017 Imported from URL
  • v0.2.9 22-03-2017 Imported from URL
  • v0.2.8.3 17-03-2017 Imported from URL
  • v0.2.8.2 17-03-2017 Imported from URL
  • v0.2.7 16-03-2017 Imported from URL
  • v0.2.8.1 16-03-2017 Imported from URL
  • v0.2.8 16-03-2017 Imported from URL
  • v0.2.8 16-03-2017 Imported from URL
  • v0.2.7 15-03-2017
  • v0.2.6 14-03-2017
  • v0.2.5 13-02-2017 Removing shortcut length check
  • v0.2.4 10-02-2017
  • v0.2.4 30-01-2017
  • v0.2.4 30-01-2017
  • v0.2.4 30-01-2017
  • v0.2.4 30-01-2017
  • v0.2.4 30-01-2017
  • v0.2.4 30-01-2017
  • v0.2.3 30-01-2017
  • v0.2.3 30-01-2017
  • v0.2.2 26-01-2017
  • v0.2.2 26-01-2017
  • v0.2.1 16-01-2017
  • v0.2 04-01-2017
  • v0.2 04-01-2017
  • v0.2 04-01-2017
  • v0.2 04-01-2017
  • v0.2 04-01-2017 Adding a Require section with support for DivIcon and DragElement
  • v0.1.9a 04-01-2017
  • v0.1.9a 04-01-2017
  • v0.1.9a 14-12-2016
  • v0.1.9 14-12-2016 Adding methods for getting all on screen segments and the closest segment to the given geometry.
  • v0.1.8 01-12-2016 Adding calculateDistance method to Geometry namespace & adding some commenting to methods
  • v0.1.7 22-11-2016 Checking if we are loaded in beta before attempting d2's fix
  • v0.1.6 17-11-2016 Moving WazeWrap definition outside of the function so each script that uses this library gets its own copy of WazeWrap at the requested version
  • v0.1.5 17-11-2016
  • v0.1.5 17-11-2016
  • v0.1.4 16-11-2016
  • v0.1.3 15-11-2016 Fixing script name - test script's name ported over
  • v0.1.3 15-11-2016
  • v0.1.2 14-11-2016

长期地址
遇到问题?请前往 GitHub 提 Issues。