@tomtom-org/maps-sdk-plugin-map-effects 0.2.2 → 0.2.3
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Note: this plugin declares `@tomtom-org/maps-sdk` and `maplibre-gl` as peer depe
|
|
|
30
30
|
npm install @tomtom-org/maps-sdk maplibre-gl @tomtom-org/maps-sdk-plugin-map-effects
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
1. Follow the SDK [Project setup](https://docs.tomtom.com/maps-sdk-js/
|
|
33
|
+
1. Follow the SDK [Project setup](https://docs.tomtom.com/maps-sdk-js/introduction/project-setup) or the Map [quickstart](https://docs.tomtom.com/maps-sdk-js/guides/map/quickstart) to create and initialize a `TomTomMap`. For bloom, the depth of field, your own passes and capture, create it with `mapLibre: { canvasContextAttributes: { preserveDrawingBuffer: true } }`.
|
|
34
34
|
|
|
35
35
|
2. Import and use the plugin:
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tomtom-org/maps-sdk-plugin-map-effects",
|
|
3
3
|
"author": "TomTom International B.V.",
|
|
4
4
|
"license": "See in LICENSE.txt",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "Practical post-processing for a TomTomMap: bloom for emphasis, tint/grade/vignette to mute the base map under data, fog and edge blur for focus, a WebGL depth of field with bokeh for a tilted 3D view — plus high-DPI capture",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"typescript": "^6.0.3",
|
|
21
21
|
"vite": "^8.3.2",
|
|
22
22
|
"vitest": "^4.1.11",
|
|
23
|
-
"@tomtom-org/maps-sdk": "1.0.0-rc.
|
|
23
|
+
"@tomtom-org/maps-sdk": "1.0.0-rc.1"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"dist",
|