mapcachetools 1.0.2 → 1.0.7

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.
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  This tool download any area from map provider and store it as images in a folder.
4
4
  You can use these images with a library like [Leafet](https://leafletjs.com/ "Leafet") to make your own map server easily without the need to download a local OpenStreetMap server.
5
5
 
6
+ [![Downloaded Images of Map](https://github.com/HefnySco/mapcache/blob/master/images/Screenshot%20from%202022-09-03%2002-19-12.png?raw=true "Downloaded Images of Map")](https://github.com/HefnySco/mapcache/blob/master/images/Screenshot%20from%202022-09-03%2002-19-12.png?raw=true "Downloaded Images of Map")
6
7
 
7
8
  ## Usage
8
9
 
@@ -1,3 +1,6 @@
1
+ #!/usr/bin/env node
2
+
3
+
1
4
  /*
2
5
  Download images sequentially
3
6
  */
@@ -174,7 +177,6 @@ function fn_download_images(point1, point2, zoom) {
174
177
 
175
178
  function fn_handle_arguments() {
176
179
  myArgs = c_args.getArgs();
177
- console.log(JSON.stringify(myArgs));
178
180
  var error = false;
179
181
  if (
180
182
  myArgs.hasOwnProperty("version") === true ||
package/package.json CHANGED
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "mapcachetools",
3
- "version": "1.0.2",
3
+ "version": "1.0.7",
4
4
  "description": "This tool downloads images from a map provider and cache it locally on your device. Please check terms and condition of your map provider. The tool is provided as is with no responsibility from author. Please Use IT AT YOUR OWN RISK.",
5
5
  "main": "downloadmaps.js",
6
6
  "scripts": {
7
7
  "start": "node ./bin/downloadmaps.js"
8
8
  },
9
9
  "bin": {
10
- "mapcache_download": "downloadmaps.js"
10
+ "mapcache_download": "mapcache_download.js"
11
11
  },
12
12
  "keywords": [
13
13
  "map",
14
14
  "local server",
15
15
  "cache"
16
16
  ],
17
+ "homepage": "https://github.com/HefnySco/mapcache",
17
18
  "author": "Mohammad Said Hefny - rcmobilestuff <rcmobilestuff@gmail.com> (http://www.andruav.com)",
18
19
  "license": "ISC",
19
20
  "dependencies": {