maplibre-gl-inspect 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -33,9 +33,9 @@ Make sure to include the CSS and JS files.
33
33
  **When using a CDN**
34
34
 
35
35
  ```html
36
- <script src='https://unpkg.com/maplibre-gl-inspect@latest/dist/maplibre-gl-inspect.min.js'></script>
36
+ <script src='https://unpkg.com/maplibre-gl-inspect@latest/dist/maplibre-gl-inspect.js'></script>
37
+ <link href='https://unpkg.com/maplibre-gl-inspect@latest/dist/maplibre-gl-inspect.css' rel='stylesheet' />
37
38
  ```
38
- <!-- <link href='https://unpkg.com/maplibre-gl-inspect@latest/dist/maplibre-gl-inspect.css' rel='stylesheet' /> -->
39
39
 
40
40
  **When using modules**
41
41
 
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Assign a color to a unique layer ID and also considering
3
+ * common layer names such as water or wood.
4
+ *
5
+ * @param {string} layerId - Unique layer ID
6
+ * @param {string} alpha - Alpha value for the color
7
+ * @returns {string} Unique random for the layer ID
8
+ */
9
+ declare const brightColor: (layerId: string, alpha: string) => string;
10
+ export { brightColor };
@@ -0,0 +1,3 @@
1
+ import { MaplibreInspect } from './maplibre-inspect';
2
+ export { MaplibreInspect };
3
+ export default MaplibreInspect;
@@ -0,0 +1,2 @@
1
+ declare const InspectButton: (options: any) => void;
2
+ export { InspectButton };