@tmlmobilidade/utils 20250819.1402.50 → 20250819.1746.12
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/src/css/get-variable-value.d.ts +1 -0
- package/dist/src/css/get-variable-value.js +8 -0
- package/dist/src/css/index.d.ts +1 -0
- package/dist/src/css/index.js +1 -0
- package/dist/src/geo/geojson-collections.d.ts +6 -0
- package/dist/src/geo/geojson-collections.js +8 -0
- package/dist/src/geo/index.d.ts +1 -0
- package/dist/src/geo/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getCssVariableValue: (variableName: string) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-variable-value.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-variable-value.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FeatureCollection, Point } from 'geojson';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a base GeoJSON feature collection for point features.
|
|
4
|
+
* @returns A base GeoJSON feature collection with an empty features array.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getBaseGeoJsonFeatureCollectionPoint: <T>() => FeatureCollection<Point, T>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
/**
|
|
3
|
+
* Creates a base GeoJSON feature collection for point features.
|
|
4
|
+
* @returns A base GeoJSON feature collection with an empty features array.
|
|
5
|
+
*/
|
|
6
|
+
export const getBaseGeoJsonFeatureCollectionPoint = () => {
|
|
7
|
+
return Object.assign({ features: [], type: 'FeatureCollection' });
|
|
8
|
+
};
|
package/dist/src/geo/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './chunk-line.js';
|
|
|
2
2
|
export * from './constants.js';
|
|
3
3
|
export * from './conversions.js';
|
|
4
4
|
export * from './cut-line-at-length.js';
|
|
5
|
+
export * from './geojson-collections.js';
|
|
5
6
|
export * from './get-geofence-on-point.js';
|
|
6
7
|
export * from './is-point-in-polygon.js';
|
|
7
8
|
export * from './measurements.js';
|
package/dist/src/geo/index.js
CHANGED
|
@@ -2,6 +2,7 @@ export * from './chunk-line.js';
|
|
|
2
2
|
export * from './constants.js';
|
|
3
3
|
export * from './conversions.js';
|
|
4
4
|
export * from './cut-line-at-length.js';
|
|
5
|
+
export * from './geojson-collections.js';
|
|
5
6
|
export * from './get-geofence-on-point.js';
|
|
6
7
|
export * from './is-point-in-polygon.js';
|
|
7
8
|
export * from './measurements.js';
|
package/package.json
CHANGED