WME PLN Module - Geolocation

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

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/548859/1657862/WME%20PLN%20Module%20-%20Geolocation.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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!)

ผู้เขียน
Mauricio Otálvaro Ospina
เวอร์ชัน
9.0.0
สร้างเมื่อ
08-09-2025
อัปเดตเมื่อ
09-09-2025
Size
19.5 กิโลไบต์
สัญญาอนุญาต
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://greasyfork.org/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)