WME Polygon Snap

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Jaxon Bjornson
Dziennych instalacji
0
Wszystkich instalacji
1
Oceny
0 0 0
Wersja
1.0.0
Utworzono
15-02-2026
Zaktualizowano
15-02-2026
Rozmiar
17 KB
Licencja
MIT
Dotyczy

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