locar-tiler 0.4.0 → 0.5.0
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/dist/locar-tiler.d.ts +5 -5
- package/dist/locar-tiler.mjs +1 -1
- package/package.json +1 -1
package/dist/locar-tiler.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare class DemTiler extends Tiler {
|
|
|
69
69
|
/**
|
|
70
70
|
* Create a DemTiler.
|
|
71
71
|
* @class
|
|
72
|
-
* @param {string} URL of the server delivering the tiles.
|
|
72
|
+
* @param {string} url - URL of the server delivering the tiles.
|
|
73
73
|
*/
|
|
74
74
|
constructor(url: string);
|
|
75
75
|
/**
|
|
@@ -122,7 +122,7 @@ export declare class EastNorth {
|
|
|
122
122
|
|
|
123
123
|
export declare interface Feature {
|
|
124
124
|
type: string;
|
|
125
|
-
properties: any
|
|
125
|
+
properties: Map<string, any>;
|
|
126
126
|
geometry: Point | LineString | MultiLineString;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -149,7 +149,7 @@ export declare class JsonTiler extends Tiler {
|
|
|
149
149
|
|
|
150
150
|
export declare interface LineString {
|
|
151
151
|
type: string;
|
|
152
|
-
coordinates: number
|
|
152
|
+
coordinates: Array<[number, number, number?]>;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
/** Represents a longitude/latitude.
|
|
@@ -175,12 +175,12 @@ export declare class LonLat {
|
|
|
175
175
|
|
|
176
176
|
export declare interface MultiLineString {
|
|
177
177
|
type: string;
|
|
178
|
-
coordinates: number
|
|
178
|
+
coordinates: Array<Array<[number, number, number?]>>;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
export declare interface Point {
|
|
182
182
|
type: string;
|
|
183
|
-
coordinates: number
|
|
183
|
+
coordinates: [number, number, number?];
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
export declare interface RawPngData {
|
package/dist/locar-tiler.mjs
CHANGED
|
@@ -2459,7 +2459,7 @@ class En extends ie {
|
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Create a DemTiler.
|
|
2461
2461
|
* @class
|
|
2462
|
-
* @param {string} URL of the server delivering the tiles.
|
|
2462
|
+
* @param {string} url - URL of the server delivering the tiles.
|
|
2463
2463
|
*/
|
|
2464
2464
|
constructor(e) {
|
|
2465
2465
|
super(e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "locar-tiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Tiling system for downloading geodata from APIs by Spherical Mercator XYZ tile. Particularly useful for location-based augmented reality applications as it comes with JSON and Digital Elevation Model (Terrarium DEM) support by default; works nicely with LocAR.js.",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"fast-png": "^7.0.1",
|