https://github.com/antonshevchuk/wme
Helper GreasyFork script for Waze Map Editor
https://github.com/antonshevchuk/wme
greasyfork userscript waze wme-scripts
Last synced: about 1 month ago
JSON representation
Helper GreasyFork script for Waze Map Editor
- Host: GitHub
- URL: https://github.com/antonshevchuk/wme
- Owner: AntonShevchuk
- License: other
- Created: 2022-10-06T13:44:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T08:35:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T05:24:55.369Z (over 1 year ago)
- Topics: greasyfork, userscript, waze, wme-scripts
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WME
Tiny class for Greasy Fork plugins for Waze Map Editor
## Require Script
```javascript
// @require https://greasyfork.org/scripts/452563-wme/code/WME.js
```
## Methods
* `WME.getVenues(except = [])` – return Array of venues, except some categories
* `WME.getSegments(except = [])` – return Array of segments, except some road types
* `WME.getSelected()` – return Array of the selected **models**, which you can edit(!)
* `WME.getSelectedVenue()` – return **model** of the selected venue, which you can edit(!)
* `WME.getSelectedVenues()` – return Array of the selected venues **models**, which you can edit(!)
* `WME.getSelectedSegment()` – return **model** of the selected segment, which you can edit(!)
* `WME.getSelectedSegments()` – return Array of the selected segments **models**, which you can edit(!)
* `WME.getSelectedNode()` – return **model** of the selected node, which you can edit(!), or null
* `WME.getSelectedNodes()` – return Array of the selected nodes **models**, which you can edit(!)
## Links
Author homepage: https://anton.shevchuk.name/
Author pet projects: https://hohli.com/
Script homepage: https://github.com/AntonShevchuk/wme
GreasyFork: https://greasyfork.org/en/scripts/452563-wme