WME PLN Module - Geolocation

Módulo de geolocalización para WME Place Normalizer. No funciona por sí solo.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/548859/1657862/WME%20PLN%20Module%20-%20Geolocation.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

Aŭtoro
Mauricio Otálvaro Ospina
Versio
9.0.0
Kreita
2025/09/08
Ĝisdatigita
2025/09/09
Size
19,5 kb
Licenco
MIT

### Propósito

Este script es un módulo de librería para el **WME Place Normalizer**. Su responsabilidad es encapsular todas las interacciones con el SDK de Waze que están relacionadas con datos geográficos. Esto incluye:
* Obtener las coordenadas de un lugar.
* Detectar lugares duplicados basándose en la proximidad física.
* Orquestar el complejo proceso de asignar una ciudad a un lugar, incluyendo la búsqueda de IDs y la interacción con el panel de edición.

---
### Módulo de

* **[WME Places Name Normalizer (Script Principal)](https://greatest.deepsurf.us/es/scripts/530268-wme-places-name-normalizer)**

---
### Uso

Esta librería no está diseñada para ser instalada directamente. Es invocada a través de la directiva `@require` por el script principal `WME_PLN_main.user.js`.

---
### Funciones Principales

* `plnApplyCityToVenue()`: Es la función principal que maneja toda la lógica para asignar una ciudad a un lugar.
* `getPlaceCoordinates()`: Obtiene las coordenadas geográficas (latitud, longitud) de un lugar.
* `detectAndAlertDuplicateNames()`: Compara lugares cercanos para alertar sobre posibles duplicados.

---
**Versión de Arquitectura:** 9.0.0 (Modular)