Helper class for Greasy Fork plugins for Waze Map Editor
Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greasyfork.org/scripts/452563/1619574/WME.js
Tiny class for Greasy Fork plugins for Waze Map Editor
// @require https://greasyfork.org/scripts/452563-wme/code/WME.js
WME.getVenues(except = []) – return Array of venues, except some categoriesWME.getSegments(except = []) – return Array of segments, except some road typesWME.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 nullWME.getSelectedNodes() – return Array of the selected nodes models, which you can edit(!)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