mapcachetools 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,6 +20,21 @@ Watch a demo video showcasing the tool:
20
20
 
21
21
  ## Installation
22
22
 
23
+
24
+ ### Option 1: Install Globally via npm
25
+ Install the package globally to use the `mapcache-download` command from anywhere:
26
+
27
+ ```bash
28
+ npm install -g mapcachetools
29
+ ```
30
+
31
+ Then run the tool with:
32
+
33
+ ```bash
34
+ mapcache-download --lat1=<lat> --lng1=<lng> --lat2=<lat> --lng2=<lng> --zin=<max_zoom> --folder=<output_folder> [options]
35
+ ```
36
+
37
+ ### Option 2: Clone and Install Locally
23
38
  1. Clone the repository:
24
39
  ```bash
25
40
  git clone https://github.com/HefnySco/mapcache.git
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapcachetools",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "A Node.js tool to download and cache map tiles (OSM, Mapbox Satellite, Mapbox Terrain RGB) as PNG images for offline use in mapping applications. Use at your own risk and comply with provider terms.",
5
5
  "main": "bin/mapcache_download.js",
6
6
  "bin": {