WME Polygon Snap

Snap to nearby polygon edges and vertices when drawing or modifying polygons in the Waze Map Editor.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Jaxon Bjornson
Denně instalací
0
Celkem instalací
1
Hodnocení
0 0 0
Verze
1.0.0
Vytvořeno
15. 02. 2026
Aktualizováno
15. 02. 2026
Size
17,0 KB
Licence
MIT
Spustit na

WME Polygon Snap

WME Polygon Snap is a Tampermonkey userscript for the Waze Map Editor (WME) that adds precision cursor snapping to nearby polygon lines and vertices. It helps editors align new and existing polygons perfectly with other map features.

Features

  • Smart Snapping: Snaps to both vertices (corners) and edges (lines).
  • Multi-Layer Support: Works across Places, Map Comments, MTEs, RDAs, and more.
  • Toggle Control: Quick-access floating button to enable/disable snapping on the fly.
  • Native Integration: Uses WME's internal OpenLayers engine for smooth performance.

Configuration

You can customize the script behavior by editing the values in the USER CONFIGURATION section at the top of the script:

Setting Default Description
SNAP_TOLERANCE 12 Distance in pixels before the cursor "jumps" to a point.
POLL_INTERVAL 250 Responsiveness of state detection (ms).
ENABLED_BY_DEFAULT true Whether snapping starts ON when WME loads.
SNAP_TO_EDGES true Enable/disable snapping to the lines between vertices.
SNAP_TO_VERTICES true Enable/disable snapping to corner points.
SNAP_LAYERS (Various) Toggle which layers (Venues, Comments, etc.) are snappable.

GitHub Repository

https://github.com/SecuredUnderscore/WMEPolygonSnap

License

MIT