Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
V0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gunyakov committed Nov 16, 2022
1 parent 916aca4 commit cf1ac9d
Show file tree
Hide file tree
Showing 21 changed files with 4,467 additions and 4,195 deletions.
Binary file modified Marks.db3
Binary file not shown.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

### Help me pls

I'm looking for good html coder and who know leaflet library/how to write leaflet plugins very well to fully rewrite User UI and add a lot of futures inside.
I'm looking for good html coder and who know leaflet library/how to write leaflet plugins very well to fully rewrite User UI and add a lot of futures inside. [Join Telegram Groupe to contribute or ask questions](https://t.me/maptorium)

## Tile Map Downloader

### Description

![Main UI](/main.png)

This software can help you to download localy any tile map (now raster anv vector MapBox type is supported).
This software can help you to download localy any tile map (now raster and vector MapBox type is supported).

[![Maptorium promo video](http://img.youtube.com/vi/cgqhKeX2Nk4/0.jpg)](https://youtu.be/cgqhKeX2Nk4)

Expand Down Expand Up @@ -57,7 +57,9 @@ Next futures to add:

### Version

Very early version 0.9.2. Under heavy development
Very early version 0.9.5. Under heavy development

16.11.2022 - Polygons merge by Tuff.js

24.09.2022 - Vector tiles (MapBox) support.

Expand Down
2 changes: 1 addition & 1 deletion config.map.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"lat":"-34.7888646549312","lng":"-63.13705444335938","zoom":"10"}
{"lat":"-33.86616717171222","lng":"-58.0023193359375","zoom":"9"}
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env node
global.pm2 = require('@pm2/io')

pm2.init({
transactions: true, // will enable the transaction tracing
http: true // will enable metrics about the http server (optional)
});

//------------------------------------------------------------------------------
//Config
//------------------------------------------------------------------------------
Expand Down
32 changes: 32 additions & 0 deletions maps/arcgis_elevation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//------------------------------------------------------------------------------
//General map handler
//------------------------------------------------------------------------------
let map = require("../src/map.js");
//------------------------------------------------------------------------------
//Exstention to hande OSM maps
//------------------------------------------------------------------------------
class ExtMap extends map {

constructor() {
super();

this.storage += '/storage/ArcGIS_Elevation';
this._info = {
id: "arcgiselevation",
type: "map",
name: "ArcGIS Elevation",
submenu: "ArcGIS",
tileSize: 256,
attribution: "",
content: "image/jpeg"
};
}

async getURL(z, x, y) {
//z--;
let url = `https://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/${z}/${y}/${x}`
return url;
}
}

module.exports = ExtMap;
32 changes: 32 additions & 0 deletions maps/arcgis_sat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//------------------------------------------------------------------------------
//General map handler
//------------------------------------------------------------------------------
let map = require("../src/map.js");
//------------------------------------------------------------------------------
//Exstention to hande OSM maps
//------------------------------------------------------------------------------
class ExtMap extends map {

constructor() {
super();

this.storage += '/storage/ArcGIS_Sat';
this._info = {
id: "arcgissat",
type: "map",
name: "ArcGIS Satellite",
submenu: "ArcGIS",
tileSize: 256,
attribution: "",
content: "image/jpeg"
};
}

async getURL(z, x, y) {
//z--;
let url = `https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/${z}/${y}/${x}`
return url;
}
}

module.exports = ExtMap;
32 changes: 32 additions & 0 deletions maps/arcgis_vector.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//------------------------------------------------------------------------------
//General map handler
//------------------------------------------------------------------------------
let map = require("../src/map.js");
//------------------------------------------------------------------------------
//Exstention to hande OSM maps
//------------------------------------------------------------------------------
class ExtMap extends map {

constructor() {
super();

this.storage += '/storage/ArcGIS_Vector';
this._info = {
id: "arcgisvector",
type: "layer",
name: "ArcGIS Vector",
submenu: "ArcGIS",
tileSize: 256,
attribution: "",
content: "application/x-protobuf",
format: "vector"
};
}

async getURL(z, x, y) {
let url = `https://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/${z}/${y}/${x}`;
return url;
}
}

module.exports = ExtMap;
Loading

0 comments on commit cf1ac9d

Please sign in to comment.