This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gunyakov
committed
Nov 16, 2022
1 parent
916aca4
commit cf1ac9d
Showing
21 changed files
with
4,467 additions
and
4,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.