🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

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.greasyfork.org/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 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!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
Mauricio Otálvaro Ospina
Verzija
9.0.0
Napravljeno
08. 09. 2025
Ažurirano
09. 09. 2025
Size
19,5 КБ
Licenca
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)