Skip to content

🎥 Make videos programmatically with React

Remove redundant MapLibre worker explanation

JonnyBurgerc2da9b033886
diff --git a/packages/codex-plugin/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md b/packages/codex-plugin/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md
index 5a4e02db5a..94ef160459 100644
--- a/packages/codex-plugin/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md
+++ b/packages/codex-plugin/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md
@@ -58,10 +58,6 @@ Import the MapLibre CSS once in the component or an app-level stylesheet:
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your public directory and pass the worker URL to `setWorkerUrl()`.
-
## Basic map example
```tsx
diff --git a/packages/codex-plugin/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md b/packages/codex-plugin/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
index 5a4e02db5a..94ef160459 100644
--- a/packages/codex-plugin/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
+++ b/packages/codex-plugin/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
@@ -58,10 +58,6 @@ Import the MapLibre CSS once in the component or an app-level stylesheet:
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your public directory and pass the worker URL to `setWorkerUrl()`.
-
## Basic map example
```tsx
diff --git a/packages/codex-plugin/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md b/packages/codex-plugin/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
index 5a4e02db5a..94ef160459 100644
--- a/packages/codex-plugin/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
+++ b/packages/codex-plugin/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
@@ -58,10 +58,6 @@ Import the MapLibre CSS once in the component or an app-level stylesheet:
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your public directory and pass the worker URL to `setWorkerUrl()`.
-
## Basic map example
```tsx
diff --git a/packages/codex-plugin/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md b/packages/codex-plugin/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
index 5a4e02db5a..94ef160459 100644
--- a/packages/codex-plugin/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
+++ b/packages/codex-plugin/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md
@@ -58,10 +58,6 @@ Import the MapLibre CSS once in the component or an app-level stylesheet:
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your public directory and pass the worker URL to `setWorkerUrl()`.
-
## Basic map example
```tsx
diff --git a/packages/docs/docs/maps.mdx b/packages/docs/docs/maps.mdx
index cfe66686ce..3c738a1d80 100644
--- a/packages/docs/docs/maps.mdx
+++ b/packages/docs/docs/maps.mdx
@@ -22,10 +22,6 @@ Import the MapLibre stylesheet once, either in the component that renders the ma
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your [public directory](/docs/staticfile) and pass the worker URL to `setWorkerUrl()`.
-
## Adding a map
Use [`useDelayRender()`](/docs/use-delay-render) to wait for the map to load. The container element must have explicit dimensions and `position: "absolute"`.
diff --git a/packages/skills/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md b/packages/skills/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
index 5a4e02db5a..94ef160459 100644
--- a/packages/skills/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
+++ b/packages/skills/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md
@@ -58,10 +58,6 @@ Import the MapLibre CSS once in the component or an app-level stylesheet:
import 'maplibre-gl/dist/maplibre-gl.css';
```
-MapLibre v6 requires WebGL2. Configure its worker before creating a map. The examples below load the worker from unpkg, using the installed MapLibre version. A same-origin Blob imports the CDN worker to avoid Webpack rewriting MapLibre's cross-origin URL handling.
-
-To serve the worker locally, copy the worker and its imported modules into your public directory and pass the worker URL to `setWorkerUrl()`.
-
## Basic map example
```tsx