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

Greasy fork 爱吃馍镜像

WME PLN Core - Utils

Módulo de utilidades y cálculos 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/548744/1657855/WME%20PLN%20Core%20-%20Utils.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!)

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

公众号二维码

扫码关注【爱吃馍】

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

Author
Mauricio Otálvaro Ospina
Version
9.0.0
Created
2025-09-08
Updated
2025-09-09
Size
8.22 KB
License
MIT

### Propósito
Este script es un módulo de librería para el **WME Place Normalizer**. Provee un conjunto de funciones de utilidad genéricas, incluyendo cálculos matemáticos, geográficos y de manipulación de texto, que son utilizadas por otros componentes del script principal.

### 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 `WME_PLN_core_loader.js`.

### Funciones Principales
* `calculateDistance()`: Calcula la distancia entre dos coordenadas geográficas.
* `calculateAreaMeters()`: Calcula el área de un polígono en metros cuadrados.
* `removeDiacritics()`: Elimina tildes y otros diacríticos de un texto.
* `plnPostSwapCap()`: Aplica capitalización de tipo título en español.

---
**Versión de Arquitectura:** 9.0.0 (Híbrida)