locar-tiler 0.6.0 → 0.7.1
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 +9 -7
- package/dist/locar-tiler.mjs +352 -348
- package/dist/locar-tiler.umd.js +1 -1
- package/package.json +1 -1
package/dist/locar-tiler.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export declare class DEM {
|
|
|
32
32
|
* @return {number} the elevation in metres
|
|
33
33
|
*/
|
|
34
34
|
getElevation(x: number, y: number): number;
|
|
35
|
+
/** Process the DEM data with a custom function. The function has access to all the key properties of the DEM. */
|
|
36
|
+
processData(fn: (elevs: number[], bottomLeft: EastNorth, ptWidth: number, ptHeight: number, xSpacing: number, ySpacing: number) => void): void;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
/**
|
|
@@ -153,19 +155,19 @@ export declare interface LineString {
|
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
/** Represents a longitude/latitude.
|
|
156
|
-
* @property {number}
|
|
157
|
-
* @property {number}
|
|
158
|
+
* @property {number} longitude - the longitude.
|
|
159
|
+
* @property {number} latitude -the latitude.
|
|
158
160
|
*/
|
|
159
161
|
export declare class LonLat {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
longitude: number;
|
|
163
|
+
latitude: number;
|
|
162
164
|
/**
|
|
163
165
|
* Creates a LonLat.
|
|
164
166
|
* @class
|
|
165
|
-
* @param {number}
|
|
166
|
-
* @param {number}
|
|
167
|
+
* @param {number} longitude - the longitude.
|
|
168
|
+
* @param {number} latitude - the latitude.
|
|
167
169
|
*/
|
|
168
|
-
constructor(
|
|
170
|
+
constructor(longitude: any, latitude: any);
|
|
169
171
|
/**
|
|
170
172
|
* Returns a string representation of the LonLat.
|
|
171
173
|
* @return {string} the string representation.
|