# leaflet.chinatmsproviders-correct-offset

> An extension to Leaflet that contains configurations for various Chinese tile providers.

Latest version **1.0.1** (published 2023-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install leaflet.chinatmsproviders-correct-offset
pnpm add leaflet.chinatmsproviders-correct-offset
yarn add leaflet.chinatmsproviders-correct-offset
bun add leaflet.chinatmsproviders-correct-offset
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-05-16 |
| First published | 2023-05-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | htoooth |
| Maintainers | sunnyhills |
| Keywords | leaflet, plugin, china, tms, providers |

## Links

- npm: https://www.npmjs.com/package/leaflet.chinatmsproviders-correct-offset
- Repository: https://github.com/artoriaforDY/Leaflet.ChineseTmsProviders-correctOffset
- Homepage: http://htoooth.github.io/Leaflet.ChineseTmsProviders/
- Issues: https://github.com/htoooth/Leaflet.ChineseTmsProviders/issues
- npm.io page: https://npm.io/package/leaflet.chinatmsproviders-correct-offset

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-05-16
- 1.0.0 — 2023-05-11

## README

# leaflet.chinatmsproviders-correct-offset


## Usage

```bash
npm i leaflet.chinatmsproviders-correct-offset
```

[Leaflet-ChineseTmsProviders](https://github.com/htoooth/Leaflet.ChineseTmsProviders) + [Leaflet.InternetMapCorrection](https://github.com/gisarmory/Leaflet.InternetMapCorrection)
Leaflet.InternetMapCorrection需要加关注才能免费用，请注意！

```Javascript
//add TianDiTu Normal Map Layer to map.
L.tileLayer.chinaProvider('TianDiTu.Normal.Map').addTo(map);
```

## Example

```Javascript
var map = L.map('map', {
    center: [31.59, 120.29],
    zoom: 12
});

L.tileLayer.chinaProvider('TianDiTu.Normal.Map',{maxZoom:18,minZoom:5}).addTo(map);
L.tileLayer.chinaProvider('TianDiTu.Normal.Annotion',{maxZoom:18,minZoom:5}).addTo(map);
## Providers


Current options suitable for tile layers are:
* TianDiTu
    * TianDiTu.Normal.Map
    * TianDiTu.Normal.Annotion
    * TianDiTu.Satellite.Map
    * TianDiTu.Satellite.Annotion
    * TianDiTu.Terrain.Map
    * TianDiTu.Terrain.Annotion
* GaoDe
    * GaoDe.Normal.Map (include Annotion)
    * GaoDe.Satellite.Map
    * GaoDe.Satellite.Annotion
* Google
    * Google.Normal.Map (include Annotion)
    * Google.Satellite.Map (exclude Annotion)
    * Google.Satellite.Map (include Annotion)
    * Google.Roadnet.Map
* Geoq
    * Geoq.Normal.Map
    * Geoq.Normal.PurplishBlue
    * Geoq.Normal.Gray
    * Geoq.Normal.Warm
    * Geoq.Normal.Hydro
* OSM
    * OSM.Normal.Map
* Baidu
    * Baidu.Normal.Map
    * Baidu.Satellite.Map (exclude Annotion)
    * Baidu.Satellite.Annotion
* Tencent
    * Tencent.Normal.Map
    * Tencent.Satellite.Map
    * Tencent.Terrain.Map

---
_Source: https://npm.io/package/leaflet.chinatmsproviders-correct-offset · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
