├── .gitignore ├── LICENSE ├── README.md ├── react-example ├── .gitignore ├── README.md ├── eslint.config.js ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── styles │ │ └── dark.json ├── src │ ├── app.tsx │ ├── components │ │ └── you-are-here.tsx │ ├── index.css │ ├── lib │ │ ├── api.ts │ │ └── constants.ts │ ├── main.tsx │ └── vite-env.d.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── svelte-example ├── .gitignore ├── .vscode │ └── extensions.json ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── styles │ │ └── dark.json ├── src │ ├── app.css │ ├── app.svelte │ ├── components │ │ └── you-are-here.svelte │ ├── lib │ │ ├── api.ts │ │ └── constants.ts │ ├── main.ts │ └── vite-env.d.ts ├── svelte.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── vanilla-example ├── README.md ├── app.js ├── index.html ├── styles.css └── styles │ └── dark.json ├── vanilla-leaflet-example ├── README.md ├── app.js ├── index.html ├── styles.css └── styles │ └── dark.json └── vue-example ├── .editorconfig ├── .gitignore ├── .prettierrc.json ├── .vscode └── extensions.json ├── README.md ├── env.d.ts ├── eslint.config.js ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public └── styles │ └── dark.json ├── src ├── app.vue ├── components │ └── you-are-here.vue ├── lib │ ├── api.ts │ └── constants.ts └── main.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/README.md -------------------------------------------------------------------------------- /react-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/.gitignore -------------------------------------------------------------------------------- /react-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/README.md -------------------------------------------------------------------------------- /react-example/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/eslint.config.js -------------------------------------------------------------------------------- /react-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/index.html -------------------------------------------------------------------------------- /react-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/package.json -------------------------------------------------------------------------------- /react-example/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/pnpm-lock.yaml -------------------------------------------------------------------------------- /react-example/public/styles/dark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/public/styles/dark.json -------------------------------------------------------------------------------- /react-example/src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/src/app.tsx -------------------------------------------------------------------------------- /react-example/src/components/you-are-here.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/src/components/you-are-here.tsx -------------------------------------------------------------------------------- /react-example/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/src/index.css -------------------------------------------------------------------------------- /react-example/src/lib/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/src/lib/api.ts -------------------------------------------------------------------------------- /react-example/src/lib/constants.ts: -------------------------------------------------------------------------------- 1 | export const middleOfUSA = [-100, 40]; -------------------------------------------------------------------------------- /react-example/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/src/main.tsx -------------------------------------------------------------------------------- /react-example/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /react-example/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/tsconfig.app.json -------------------------------------------------------------------------------- /react-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/tsconfig.json -------------------------------------------------------------------------------- /react-example/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/tsconfig.node.json -------------------------------------------------------------------------------- /react-example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/react-example/vite.config.ts -------------------------------------------------------------------------------- /svelte-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/.gitignore -------------------------------------------------------------------------------- /svelte-example/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/.vscode/extensions.json -------------------------------------------------------------------------------- /svelte-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/README.md -------------------------------------------------------------------------------- /svelte-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/index.html -------------------------------------------------------------------------------- /svelte-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/package.json -------------------------------------------------------------------------------- /svelte-example/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/pnpm-lock.yaml -------------------------------------------------------------------------------- /svelte-example/public/styles/dark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/public/styles/dark.json -------------------------------------------------------------------------------- /svelte-example/src/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/app.css -------------------------------------------------------------------------------- /svelte-example/src/app.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/app.svelte -------------------------------------------------------------------------------- /svelte-example/src/components/you-are-here.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/components/you-are-here.svelte -------------------------------------------------------------------------------- /svelte-example/src/lib/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/lib/api.ts -------------------------------------------------------------------------------- /svelte-example/src/lib/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/lib/constants.ts -------------------------------------------------------------------------------- /svelte-example/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/main.ts -------------------------------------------------------------------------------- /svelte-example/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/src/vite-env.d.ts -------------------------------------------------------------------------------- /svelte-example/svelte.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/svelte.config.js -------------------------------------------------------------------------------- /svelte-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/tsconfig.json -------------------------------------------------------------------------------- /svelte-example/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/tsconfig.node.json -------------------------------------------------------------------------------- /svelte-example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/svelte-example/vite.config.ts -------------------------------------------------------------------------------- /vanilla-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-example/README.md -------------------------------------------------------------------------------- /vanilla-example/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-example/app.js -------------------------------------------------------------------------------- /vanilla-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-example/index.html -------------------------------------------------------------------------------- /vanilla-example/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-example/styles.css -------------------------------------------------------------------------------- /vanilla-example/styles/dark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-example/styles/dark.json -------------------------------------------------------------------------------- /vanilla-leaflet-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-leaflet-example/README.md -------------------------------------------------------------------------------- /vanilla-leaflet-example/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-leaflet-example/app.js -------------------------------------------------------------------------------- /vanilla-leaflet-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-leaflet-example/index.html -------------------------------------------------------------------------------- /vanilla-leaflet-example/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-leaflet-example/styles.css -------------------------------------------------------------------------------- /vanilla-leaflet-example/styles/dark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vanilla-leaflet-example/styles/dark.json -------------------------------------------------------------------------------- /vue-example/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/.editorconfig -------------------------------------------------------------------------------- /vue-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/.gitignore -------------------------------------------------------------------------------- /vue-example/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/.prettierrc.json -------------------------------------------------------------------------------- /vue-example/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/.vscode/extensions.json -------------------------------------------------------------------------------- /vue-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/README.md -------------------------------------------------------------------------------- /vue-example/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /vue-example/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/eslint.config.js -------------------------------------------------------------------------------- /vue-example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/index.html -------------------------------------------------------------------------------- /vue-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/package.json -------------------------------------------------------------------------------- /vue-example/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/pnpm-lock.yaml -------------------------------------------------------------------------------- /vue-example/public/styles/dark.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/public/styles/dark.json -------------------------------------------------------------------------------- /vue-example/src/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/src/app.vue -------------------------------------------------------------------------------- /vue-example/src/components/you-are-here.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/src/components/you-are-here.vue -------------------------------------------------------------------------------- /vue-example/src/lib/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/src/lib/api.ts -------------------------------------------------------------------------------- /vue-example/src/lib/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/src/lib/constants.ts -------------------------------------------------------------------------------- /vue-example/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/src/main.ts -------------------------------------------------------------------------------- /vue-example/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/tsconfig.app.json -------------------------------------------------------------------------------- /vue-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/tsconfig.json -------------------------------------------------------------------------------- /vue-example/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/tsconfig.node.json -------------------------------------------------------------------------------- /vue-example/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3cj/openfreemap-examples/HEAD/vue-example/vite.config.ts --------------------------------------------------------------------------------