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.
@@ -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} lon - the longitude.
157
- * @property {number} lat -the latitude.
158
+ * @property {number} longitude - the longitude.
159
+ * @property {number} latitude -the latitude.
158
160
  */
159
161
  export declare class LonLat {
160
- lon: number;
161
- lat: number;
162
+ longitude: number;
163
+ latitude: number;
162
164
  /**
163
165
  * Creates a LonLat.
164
166
  * @class
165
- * @param {number} lon - the longitude.
166
- * @param {number} lat - the latitude.
167
+ * @param {number} longitude - the longitude.
168
+ * @param {number} latitude - the latitude.
167
169
  */
168
- constructor(lon: any, lat: any);
170
+ constructor(longitude: any, latitude: any);
169
171
  /**
170
172
  * Returns a string representation of the LonLat.
171
173
  * @return {string} the string representation.