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 +```