From def49098edfe6e00c5f2a16cc342e1e1208cec29 Mon Sep 17 00:00:00 2001 From: antontranelis <31516529+antontranelis@users.noreply.github.com> Date: Fri, 24 Jan 2025 12:39:36 +0000 Subject: [PATCH] Update README.md --- examples/2-static-layers/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/2-static-layers/README.md b/examples/2-static-layers/README.md index 55770115..4775d2a2 100644 --- a/examples/2-static-layers/README.md +++ b/examples/2-static-layers/README.md @@ -4,7 +4,7 @@ First we put some sample data in a new file called `src/sample-data.ts` -```javascript= +```javascript export const places = [{ "id": 51, "name": "Stadtgemüse", @@ -34,11 +34,11 @@ We want to create two Layers. One we want to call *Places* and the other *Events we import our sample data to the `src/App.tsx` -```jsx= +```tsx import { events, places } from "./sample-data" ``` and than we create our two `` inside of our `` component -```jsx= +```tsx ` inside of our `` component And we see our map with two layers: -```shell= +```shell npm run dev -``` \ No newline at end of file +```